风雷版的新手村擂台脚本
3 _* j4 l( z3 u2 k( V
3 l$ y! P, K; v/ d3 f7 C释放到同名文件夹下覆盖原有文件。 s) Q& f: B' j* Z) {
1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。
8 |) \! R' Y. A% {5 r6 t2.Item 里面是任务发放奖品的物品资料,把我发的加进去。% T1 n& ?# W% S3 x- Z/ p7 s% n
(由11月23号发布的最新服务端修改)
# y4 Z6 U) G8 o% z* v9 U) c! Y-----------------------------------------
! `* K! H1 Z' v; G) _" i: F& z- \内容介绍:
& Q' C) z( w% s5 u! D9 Z& e新手村比武获得奖励:
0 w1 [* J$ c" ^2 d( K3 ]1 {7 y同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0 0 O7 j' ~! Q# p4 _0 b
)
' E& U# F3 [8 a9 B* D9 w最后一个NPC老侠客,打败他会获得新手剑之外,他还会公告天下你获得了 侠客弓服 一件!(个人比较 6 T# g( y& X" |) z3 Y
喜欢黑龙,所以是黑龙的加强版!)
3 N2 z1 h, \2 _* t[replyview] - Q* ^8 N A% ]4 E/ C R$ q
------------------------------------- 0 d) [$ M: _) d0 Z( b
unit 一级梅花夫人;
! k# v$ D- P! \0 H: einte**ce + [* q& n2 {( n! Z
function GetToken (aStr, aToken, aSep : String) : String;
% p- @$ r2 r# u# R* {, bfunction CompareStr (aStr1, aStr2 : String) : Boolean;7 @7 U8 G2 O+ S6 O
function callfunc (aText: string): string;' t5 l+ e: g0 Z4 }
procedure print (aText: string);
1 I, @7 r, T5 }9 b- @function Random (aScope: integer): integer;/ X2 f8 e$ U9 G7 B' V F9 c
function Length (aText: string): integer;
5 Q; ?: [% y+ U0 ]6 l/ O) Dprocedure Inc (aInt: integer);
7 j4 V0 _0 c9 uprocedure Dec (aInt: integer);
% \0 a1 S' j1 i* f4 \3 U) Vfunction StrToInt (astr: string): integer;
, O% U% w+ R/ Y# b U* Bfunction IntToStr (aInt: integer): string;
1 H$ J% S1 v& Z& Q$ S+ k0 [procedure exit;
! J( v. V g; q5 B$ R5 _procedure OnCreate (aStr : String);3 \) b* W/ R/ r& \1 Q6 N7 ]
procedure OnDie (aStr : String);
& `9 z/ J" T) a. W. gprocedure OnChangeState (aStr : String);
( a) B$ Y# h) w( x- x% S* C5 Q, Kprocedure OnGetResult (aStr : String); ! P1 d) n' G( r. l* U
implementation * {4 F( X+ Y s0 W% {/ K' a
procedure OnGetResult (aStr : String);
5 X% e7 y0 v4 @, D' y+ \3 Jvar* |3 A4 y. L. p, ^ D/ U2 s" f
Str, Name : String;( O, }6 W* @9 Q: |3 b T N
iCount : Integer;
$ G# o# x0 u* m0 e3 ^& z) D0 b dbegin4 i2 j$ d1 X3 B# z
if aStr = 'start' then begin. E+ {8 w, n4 L7 o) `, `
Str := callfunc ('getsenderserverid');
5 A2 C, W! j2 ~: S; A+ } if Str <> '51' then exit;
8 f" [* } ~' q/ T0 l& x Str := callfunc ('getsenderrace');( w0 O# O7 v5 C- [! |
if Str <> '1' then exit; 6 z! M" e/ i0 k3 M$ n
Str := callfunc ('checksenderpowerwearitem');7 a" N- H# K9 g& @1 A9 d
iCount := StrToInt (Str);# \7 x9 D! [3 m" a% g, B
if iCount > 0 then begin
# n7 S0 q! e: \0 t, U! U; { print ('say 先将带技能值装备脱掉!');
# Y4 @( z0 A6 m" e9 ` Name := callfunc ('getsendername');' f8 g- w2 U9 \$ N& [( M
Str := 'movespace ' + Name;
1 y& J& ]! ~: I' g Str := Str + ' user 49 106 55 100';1 I' J( J7 x5 b$ ~
print (Str);
, U4 `3 _7 u, n exit;
L' ~4 h% [5 C end;6 u) t% L, X# R0 }
Str := callfunc ('checksendercurusemagic 0');
. v$ O9 I7 G" N6 ]7 V, Y if Str = 'true' then begin1 ^: q+ E( b. s: m O+ \6 P6 A2 _9 O( t
print ('say 选错武功啦!');8 _& n, g6 f4 \: |; F
Name := callfunc ('getsendername');6 ?" d5 `1 o+ b, [, G9 o6 k' j
Str := 'movespace ' + Name;
# K2 T7 t$ T& M% k Str := Str + ' user 49 106 55 100';
7 q. } y& P- z+ i% d6 n. L print (Str);
& a+ V0 e& a7 `8 t2 L$ D) c exit;
; H0 p: n# R0 K2 r. g6 H end;) b$ M: m. N( O5 v3 ~ U
Str := callfunc ('checksendercurusemagic 1');( a# o: b6 _+ S, m- R
if Str = 'true' then begin
# ^' o! E$ |$ G+ |" n print ('say 选错武功啦!');: M4 ~/ o% z5 Z- k
Name := callfunc ('getsendername');0 h" W1 ~; t' b. c0 Q$ i z
Str := 'movespace ' + Name;; j U8 { u, ?) u s
Str := Str + ' user 49 106 55 100';2 k# a: c0 Y' `# ?& t* m: y+ @
print (Str);, u/ W9 F# z, @. @( R! x# V/ y
exit;
# E' z q+ f E1 A! I end; # d% R6 ^/ @) c
print ('directmovespace 一级梅花夫人 npc 51 20 18 0'); , H, L1 j( t& ]" i; f- T8 X! x
print ('commandicebyname 一级梅花夫人 npc 1000');
0 O- S7 y# r9 d% j: @' n print ('setallowhitbytick true 1000');
( _+ c; I. R' ^: N Name := callfunc ('getsendername');2 R. Z5 p. D' F: m E& L
Str := 'commandicebyname ' + Name;7 z' A* s# x: q g$ c: }
Str := Str + ' user 1000';# d" w4 j3 R. h' g8 M% k0 R
print (Str); 8 Q- A; X3 e+ b! M: g( M. j
print ('senderrefill');
0 i) l: p( i" W print ('say 别害怕 50');4 R1 b G" k* s1 D' T# F, d; y
print ('say 我会收下留情的... 400');7 n6 e, ?4 {/ X4 s4 U: K2 P
exit;7 y/ o- r' h S" k' }
end;
! m6 k I1 }7 L; jend; + E8 x8 p8 @3 q! \7 x
procedure OnCreate (aStr : String);0 p8 R0 Z" e- o: h
var
+ W4 a& h, ?3 o8 \# Q* y Str : String;! c @* h( Y. O& ]" c3 U
begin
8 m9 n/ \0 i4 F8 l% n1 ~9 T Str := callfunc ('getsenderrace');
* V- n. T v( S N$ o7 ~ if Str <> '1' then begin" V& i# C$ z6 w8 |& V; }
exit;
' N) A4 V0 s/ [% R3 ^6 L4 K end;' _% c! R- t1 ]$ T. z
7 Q B$ c6 _! [7 Z. j% m5 ^6 \
Str := 'showwindow ./help/一级梅花夫人.txt 1';
+ x! b" g b9 P" u- @+ _0 {' A print (Str);
$ D: c& g1 K% H$ l7 |8 U# p9 O exit;
. r, V4 E8 e C+ ?: V; Iend; h( M ]1 m A8 g; O0 M
procedure OnDie (aStr : String);
) X+ k3 k* M( i' L* ] x0 a' Tvar
! }: e7 N% y; U# X Str, Name : String;
! n3 d1 Y" L: b' T; [8 s! S FirstQuest : Integer;
* n( f9 o' y) a; Y- L" |. _; b" `begin
; I# h9 g9 M" F! C Str := callfunc ('getsenderrace');
^6 _- s5 _% T; @7 @& P% y! C if Str <> '1' then exit;
8 o$ T6 ]! u! I Str := callfunc ('getsenderfirstquest');
. z5 ~8 h* v( `( Q FirstQuest := StrToInt (Str); * s6 D- j* g5 J" }
if FirstQuest < 3 then begin8 \2 E: v9 W5 F& [# e2 O2 P1 J- e4 m
Str := callfunc ('checkenoughspace');8 \! N, V5 C4 R% P0 I+ {% {: B' U
if Str = 'false' then begin
- o% [( j8 R9 F, q print ('say 物品栏已满...');7 D# h4 W6 p9 l& V; |
exit;
( Z( E4 w/ F# F0 d! R) g end;
" i% W d6 @# H) [0 b/ p - p0 a2 V; x- e8 b3 W" S
print ('changesenderfirstquest 3');2 M5 V( R. Q( e7 W+ x& [8 k6 |
print ('putsendermagicitem 新手训练长矛 @一级梅花夫人 4');* W* \% N$ C5 [4 L
end;
G& n1 E! g% D% [# s print ('say 我可只用了3层功力哟 100'); 3 f1 F- m/ A6 h. C; g9 d
print ('mapregen 52');
9 A' f$ _- A: J1 b1 X6 p" d. X Name := callfunc ('getsendername');
0 Y4 j! e* E: X( P Y6 @# F0 h* R4 @$ a Str := 'movespace ' + Name;' p1 g% ?3 H5 P7 t" p
Str := Str + ' user 52 17 18 500';
0 T! [" E5 f l# x$ p( W v. N print (Str);8 [( a. X1 l) K
exit;
" Y" H J3 ^1 h" Tend;
: F& u$ X4 q, a4 P4 hprocedure OnChangeState (aStr : String);- K# N6 q$ v4 |( }9 Z' u- j1 {
var
; C. D+ Z* n+ X- c* i Str, Name : String;6 h2 d( A0 \6 q1 Q
begin
~$ E! W P$ S) L, E9 K9 R8 T if aStr <> 'die' then exit; : n" t0 ~" q& W) V [* G9 J2 C# X* C
Str := callfunc ('getsenderrace');
9 x j3 J z4 }& R4 m* q) m if Str <> '1' then exit; - E' }+ X3 z5 b" M
print ('say 别无他法 50');
1 g0 s# R7 g) q5 h print ('say 是不是修炼方法不妥呀? 400');
" q$ Q& r8 J7 i5 K. ~! B! n Name := callfunc ('getsendername');8 w8 X+ _) q+ ]% }+ x7 z
Str := 'movespace ' + Name;
- [+ I' o6 ]- P- P" P* f Str := Str + ' user 49 106 55 600';
' s3 B+ n- u- Y3 W& K5 d" Z print (Str);
3 f6 {% z6 n: i0 Eend;
3 p% |# b' n. G0 Zend.9 o, H- p1 B0 w9 D" Q" d+ _
-------------------------------------------
5 q0 [0 C9 x. b5 ]unit 一级捕盗大将; % M" [+ W. }4 z/ A' X9 i" m
inte**ce 7 K0 i$ S$ p5 a2 t' M
function GetToken (aStr, aToken, aSep : String) : String;, q) _) K' h- V- w9 A
function CompareStr (aStr1, aStr2 : String) : Boolean;
( `! H4 }0 j) [" S3 Jfunction callfunc (aText: string): string;9 `" z; [% u9 }& c) c$ j6 X
procedure print (aText: string);( k, }. f8 P9 H0 g+ N6 P
function Random (aScope: integer): integer;, K0 h1 ]6 x% p' y
function Length (aText: string): integer;' G9 F0 {5 ]2 q
procedure Inc (aInt: integer);) H' k: m& | H6 r n7 z" A4 n
procedure Dec (aInt: integer);
' J: G, P7 r% m$ dfunction StrToInt (astr: string): integer;
- o- l2 c, h( l4 ^" n7 ~function IntToStr (aInt: integer): string;
! \5 h. u% i6 R: @procedure exit; 0 R+ Z% |0 M! S7 X. V3 O1 s
procedure OnCreate (aStr : String); d. v8 Q- z- W
procedure OnDie (aStr : String);
x) c$ w, J0 d& e/ d3 u" B$ `/ b- Vprocedure OnChangeState (aStr : String);
4 B/ M2 H9 T8 ?* j7 O, @, \8 fprocedure OnGetResult (aStr : String); $ C: F1 \ C- M9 `7 f
implementation
: f6 e: h+ ^: a# E% L5 k7 U2 ?2 z* Eprocedure OnGetResult (aStr : String); D8 h# C- ^" u# g
var3 U7 @$ u+ ]$ n D1 } C/ H
Str, Name : String;# z( M- n$ T( y) B8 E' V
iCount : Integer;
2 E9 H! q) Z5 m! o5 sbegin
3 T1 T! h, k- K1 M y if aStr = 'start' then begin N% O" i* r, V
Str := callfunc ('getsenderserverid');
) C; ~2 @. W% O/ O# n0 J& Z/ x( v* t if Str <> '50' then exit;
$ z$ J) C. X7 Y) X5 v6 q- k Str := callfunc ('getsenderrace');" p. ^+ B/ c+ u8 I0 |. G1 F" I
if Str <> '1' then exit; 6 Y( P) W: B) `+ h, o4 x/ ~! C+ m- \9 ~ F! y
Str := callfunc ('checksenderpowerwearitem');& M2 o3 L& w; c) L+ O
iCount := StrToInt (Str);& Z7 k- i+ z3 D, r+ Y6 [
if iCount > 0 then begin
* Y" p0 i6 b0 s6 l print ('say 请先脱掉带技能值的装备!');9 J2 L* Y5 h* h& x
Name := callfunc ('getsendername');: a" l* Q) i4 t7 U
Str := 'movespace ' + Name;
/ g A) } E M Str := Str + ' user 49 106 55 100';
; O* T4 T4 G2 ^" l print (Str);
* |! v% i& `, S exit;& F# h% @% _1 q/ z
end;4 ?& ~6 p6 [( n& Z$ J
Str := callfunc ('checksendercurusemagic 0');
Z% e5 O! ` B/ y if Str = 'true' then begin" N$ V& F& {$ e
print ('say 选错武功了!');
/ m1 M! @7 R1 O% w" G Name := callfunc ('getsendername');1 ^& |) D; ]4 {+ D9 L7 l
Str := 'movespace ' + Name;" Y6 B& q2 `: `6 c
Str := Str + ' user 49 106 55 100';
7 d, a, z; T0 y9 b# y7 j9 e1 W print (Str);
& H. n; Z% e N* S. v, [8 i exit;* v$ a, c( h: |* w
end;5 z5 L, o# M& a X0 ]4 b
Str := callfunc ('checksendercurusemagic 1');
5 j' U) n' ~( A1 ~' a' P# j0 L0 Z0 H if Str = 'true' then begin+ }( Z/ [* e" d2 e: p$ E9 W% M) ]. d
print ('say 选错武功了!');
! ]' i+ W' c A9 \7 e" f Name := callfunc ('getsendername');
2 z4 g/ ^, [4 s3 Y/ U Str := 'movespace ' + Name;8 t3 j' j. \9 ?: m1 A- g
Str := Str + ' user 49 106 55 100';
* {, @6 O0 U1 ^2 M4 g% C. T2 O- U print (Str);
! }: q8 ?( P' P" t3 K: _! w- f exit;) W$ p( F; Z! s' @8 R6 q u
end; / t6 v$ K k1 y& z
print ('directmovespace 一级捕盗大将 npc 50 20 18 0');
" b l6 c l9 i* i print ('commandicebyname 一级捕盗大将 npc 1000');/ Q, P; Z5 o* e, v- Q6 i
print ('setallowhitbytick true 1000'); : ~5 R! Y0 Q+ x6 S' ?' m- J
Name := callfunc ('getsendername');0 Q% A* P3 h; U- K4 j
Str := 'commandicebyname ' + Name;; h5 ~$ m8 R. O- w; ?
Str := Str + ' user 1000';7 R; N! q; M0 G; b X$ F% Y
print (Str);
# K" }7 U* o6 s: v! ~, o* _6 w5 Q1 U" q print ('senderrefill');
2 L0 Z7 C! ~4 s( l, \$ Y print ('say 你还太嫩! 50');& a5 T7 W, A" j) w
print ('say 留神啦_我可不会手下留情 400');) r8 s4 Y# d4 m! ^$ z
exit;
# C, T8 C& ?- E1 _ x' Y end;
d1 Y( L5 u" I0 rend;
( A8 j+ h+ u+ A7 Bprocedure OnCreate (aStr : String);
~7 n# w! ], o$ b" Xvar
4 n& C8 r0 _/ K1 b Str : String;
" n0 p, @1 Q5 A1 A! m5 Ubegin- ?- F% c5 I; `9 ]
Str := callfunc ('getsenderrace');
; S5 Z( N# H2 Y0 j! r6 t' T2 L if Str <> '1' then begin2 L. P3 E* n- k+ k, n3 F4 Q
exit;1 r# e! y; c% B& A
end;
1 ]( M; L* A8 B% `) W print ('setallowhitbyname 一级捕盗大将 monster true'); ! c* w, y' k7 m( n# S1 J
Str := 'showwindow ./help/一级捕盗大将.txt 1';
2 f1 [& C9 i! y3 t3 i print (Str);1 b- ?1 U/ O$ G2 f. N
exit;6 a0 p/ P) T# c3 B3 N
end; 8 A# n3 ?; F9 ]8 r5 ~$ P' z
procedure OnDie (aStr : String);
, q( G' Y% F5 W ]# A9 }( n6 t# `( ^var
+ X7 ~; {6 d$ d1 N4 t( h& D Str, Name : String;/ x4 b8 C5 O& ~( n2 e
FirstQuest : Integer;
: V# n' e0 ~* q2 |begin
. w+ ^: V/ }$ A, R9 v Str := callfunc ('getsenderrace');
) {9 b. S0 c1 L, K+ x if Str <> '1' then exit; * o2 V1 N3 w/ l, N; R! W7 {3 `5 P& V3 `
Str := callfunc ('getsenderfirstquest');$ ^) m4 e% L1 G* |
FirstQuest := StrToInt (Str);
( X6 L# Z9 N9 w& p3 w K if FirstQuest < 2 then begin; g* ^0 b# ~, r# a2 q( `
Str := callfunc ('checkenoughspace');; `( q U$ K+ R7 j' J5 Y+ b
if Str = 'false' then begin" L/ h `$ G f6 G8 Z) F( p$ q
print ('say 物品栏已满...');
0 u/ i8 r k9 ~" m" m exit;5 P1 w# S( F- J* U2 U
end; ' Q/ [# p) Q+ |0 w; G
print ('changesenderfirstquest 2');* s$ h( h# v7 G3 U4 Y
print ('putsendermagicitem 新手训练拳套 @一级捕盗大将 4');! Q6 n/ w1 J# v8 @9 T; Q: p; g
end; 7 ]. }. p! B0 Y# ]# x! `9 w! i
print ('say 不可能_我怎么可能输呢.. 100'); # x& y$ g( @- \3 U& t: R
print ('mapregen 51'); ; }1 S+ F! p1 p t' X
Name := callfunc ('getsendername');
/ l+ s+ c; w$ N# w! C) N Str := 'movespace ' + Name;; p7 g1 i- l0 }) @' N, Q7 e+ H$ u
Str := Str + ' user 51 17 18 500';
, K' i3 N" I' i, _0 r print (Str);
. U% B4 k- l0 r+ oend;
7 j0 L' I/ u; ^, }# vprocedure OnChangeState (aStr : String);
1 ~$ C) I6 ]+ Z; d' D! A1 j rvar
+ T$ Z: Y5 n! s8 [+ ~$ n. x3 @ Str, Name : String;
5 y: } P s' t9 H' y3 E3 gbegin4 A2 L5 J5 A' L
if aStr <> 'die' then exit;
* W4 ]( B% O& M, u5 t* I# K9 C8 [ Str := callfunc ('getsenderrace');
5 d) o5 y- g$ V( ^( [ if Str <> '1' then exit; 3 [. p+ U1 m& X( A% o( ~* n& r
print ('say 回去再修炼个10年吧50');% r7 e5 e! c1 J, b7 F
print ('say 到那时我在用双手跟你打 400');
5 F0 _, W8 o. P! O3 u4 N Name := callfunc ('getsendername');& W# U; {% {6 p4 B0 I$ k% T+ {
Str := 'movespace ' + Name;( O# W7 n6 {$ ~5 ?( k- Q* u
Str := Str + ' user 49 106 55 600';3 x) c$ ~9 O' o
print (Str);
' `2 f1 t) e$ g! U2 T) ]. K print ('boMapEnter 50 true');
2 T5 U2 _! j$ u' ~* dend; ) G% ^6 G4 ~3 T* } R7 N9 L
end.
- B: ]. j( G8 b8 c+ D4 s" u--------------------------------------- a( f1 n5 N9 L& [: b% M" q
unit 一级牛俊;
2 F O3 t2 e1 Q$ y+ F6 x3 sinte**ce
B! s) o5 [' |2 j6 O1 x8 N: {function GetToken (aStr, aToken, aSep : String) : String;
7 ^, h) Y& e2 G+ r1 sfunction CompareStr (aStr1, aStr2 : String) : Boolean;! L* ~0 O; e2 d7 F
function callfunc (aText: string): string;
9 d o5 ^! R! e# Z+ Q* J3 R. Cprocedure print (aText: string);
/ ?4 Y7 r b- i+ L# \3 Efunction Random (aScope: integer): integer;
# l+ W6 s# K- }2 A, Z- ]! u/ vfunction Length (aText: string): integer;
% F# `3 k% @. `, R* oprocedure Inc (aInt: integer);
! l- d& y: [( U3 g* R4 uprocedure Dec (aInt: integer);8 U# u' d# ^& k* @( R
function StrToInt (astr: string): integer;9 D8 ~/ \, `7 P/ j0 n7 l$ {
function IntToStr (aInt: integer): string;. N, p8 d0 G% |. Y; y
procedure exit;
$ @5 b0 J% d( v4 X- I5 Zprocedure OnCreate (aStr : String);
( [$ P4 O/ C/ I* vprocedure OnDie (aStr : String);8 J2 a0 Z3 h3 U9 W( Z
procedure OnChangeState (aStr : String);
' \4 X R; v8 i5 y, }7 ?; ^procedure OnGetResult (aStr : String);
6 M: q) d% C! F6 mimplementation 2 a2 Z3 V" ^& _6 j
procedure OnGetResult (aStr : String);9 B) ?+ h8 I2 }/ Y$ R
var: |9 F+ j' ]6 A+ z+ K3 h
Str, Name : String;$ } j7 i/ y# U
iCount : Integer;
0 D" x5 X' @! ~9 @begin! {% c4 L3 t- Y
if aStr = 'start' then begin- h( W- j: }: H7 e& |5 L* C* I
Str := callfunc ('getsenderserverid');9 Y# G/ Q: r+ M w( v* `' L$ V
if Str <> '52' then exit; $ u7 V# x" z2 p+ X% i# \0 H
Str := callfunc ('getsenderrace'); @/ J/ s( t" R% E9 w
if Str <> '1' then exit;
! n: A* l0 D& I" g2 F Str := callfunc ('checksenderpowerwearitem');
' U7 d" l5 `* l; B* A iCount := StrToInt (Str);
2 e: A- y0 E& F O6 r if iCount > 0 then begin
9 w [" R0 e. W* B print ('say 请先脱掉带技能值的装备!');2 o# K2 u* R/ }' F8 J
Name := callfunc ('getsendername');) c* I& z( ^7 O8 k
Str := 'movespace ' + Name;
/ i6 X9 r9 L$ h8 m$ v Str := Str + ' user 49 106 55 100';( D: L% L" i7 N( T: U- W
print (Str);4 j; F, p, m e5 C+ I- X
exit;
+ O. y- G/ _$ u/ j( V% Z8 k( i end;
9 K" N0 _& C7 J! T Str := callfunc ('checksendercurusemagic 0');0 ^& Y2 B8 Q& N" \: M
if Str = 'true' then begin
& k- o* Z* k( d, C0 k+ o print ('say 选错武功了!');- i d3 m2 r% H- W
Name := callfunc ('getsendername');+ C3 b& X1 \% J
Str := 'movespace ' + Name;
! V2 P/ J( c) W K/ J8 W Str := Str + ' user 49 106 55 100';
! W/ z1 a; }/ G8 ~0 c- r+ j print (Str);
. K7 `+ l1 U/ m; ?" _ exit;7 ?8 O e& [7 `% s( t/ V' C7 Q
end;
4 o+ F% R5 j0 H! [; G Str := callfunc ('checksendercurusemagic 1');
$ t! Z6 ]8 z& J3 w if Str = 'true' then begin
/ ~" p! p6 E4 A0 y print ('say 选错武功了!');# N3 k& c/ z; l7 p
Name := callfunc ('getsendername');$ @ W* s+ B8 L# i
Str := 'movespace ' + Name;- {! G8 ?) y, d. j8 W
Str := Str + ' user 49 106 55 100';9 W% N8 g2 S3 N( Y: W( Q2 N
print (Str);
% n* J$ f# G/ c, k4 r exit;
) ^! X2 o0 o. {" z: A+ n! e end;; l# M6 S" i/ v6 ?+ {- b* f
& U2 u, A8 e( h! S! ~, k i) q
print ('directmovespace 一级牛俊 npc 52 20 18 0');
: y; V, i( S( B. J print ('commandicebyname 一级牛俊 npc 500');8 k5 e% V, P: m( S: s$ k
print ('setallowhitbytick true 500');
2 h& c7 [2 [1 f. C1 _ Name := callfunc ('getsendername');: ~! u- j) k8 K" M+ [ |7 w) h
Str := 'commandicebyname ' + Name;
8 E* k; R$ `: H% t& c, {7 P Str := Str + ' user 500';
|+ v* _4 ~+ z N+ r1 c- I1 [3 f print (Str);
7 w$ X2 s D* d5 \9 M print ('senderrefill');
1 ~% t7 o7 R4 f- p* s* s( n print ('say 10如果10秒内不能将你搞定 50');
+ q/ d' z+ A+ M8 v7 y1 v print ('say 就算我输! 400');2 u1 o/ S* D( v7 v" y
exit;
S% ^$ f3 h; K1 [! F6 h end;1 f7 o- o; y% a& Q; C
end; $ {; l- d' r- |- z6 r2 {5 J
procedure OnCreate (aStr : String);7 x. u: b. r* M2 B
var& B$ [# `; j3 G2 J9 c+ L- ~- r
Str : String;& b" T* G1 S% {; O% \
begin
) H5 e0 d* @! {0 o3 c Str := callfunc ('getsenderrace');
+ L$ S/ d9 D/ b8 V$ t* W1 l' i if Str <> '1' then begin: O- O! J! g' g$ o
exit;
" T/ Z1 k1 E4 H5 S end; + a6 ?/ R P0 ^9 S! F6 X
Str := 'showwindow ./help/一级牛俊.txt 1';
+ S0 H/ f9 }1 D L0 `: E& X( l6 H print (Str);. {, [; S" q, Q/ m
exit;. l0 @1 a! o: Z n2 z) ?# _. j- T
end;
7 k4 @3 Y: r' ^0 c5 Oprocedure OnDie (aStr : String);4 s+ c' l! d/ o
var2 V) @4 s y- r, Q1 A! c$ A6 T+ H
Str, Name : String;
8 L# P8 J" r9 R" N FirstQuest : Integer;
+ Q; m' ?+ T' n3 K' [+ vbegin
5 k2 [) o' ]3 b4 ^5 \; I Str := callfunc ('getsenderrace');: B0 M+ H* Y: ^' O
if Str <> '1' then exit;
$ ^% B3 _# ~7 S: W W; p, h2 g Str := callfunc ('getsenderfirstquest');( Z9 K- J4 \' |7 o, N" J% v6 l+ p7 Y! C
FirstQuest := StrToInt (Str); % X B! j. ?" Z9 F
if FirstQuest < 4 then begin# |. p7 r, \5 g( [, S
Str := callfunc ('checkenoughspace');& _/ } q7 {4 M p: E8 N e# ?; [! T) U
if Str = 'false' then begin
1 h/ B- h& y( p) D/ C4 R print ('say 物品栏已满...');( b+ O. g" ~- ^6 x+ |
exit;
7 o& l0 f; z6 {" `5 P2 I% }* s end;' t8 n) x+ s$ _
4 f4 q0 T; e0 o* a: p0 ]2 R print ('changesenderfirstquest 4');
: y- P: L X3 Y print ('putsendermagicitem 新手训练大斧 @一级牛俊 4');' ? F+ B! I1 p' [
end; ; F$ E T0 s; ~$ E" E# t. h' x
print ('say 什么_不敢相信!! 100');
1 S9 X6 n8 E& B+ F W- ?& _$ T print ('mapregen 53');
" N. G. |. z' V ]8 q
5 m6 R" b- w* z% p2 } Name := callfunc ('getsendername');, c( M( M# G; Z# J. L: Z) w! Y$ h
Str := 'movespace ' + Name;
1 p& j) g0 ]6 T+ L+ I Str := Str + ' user 53 17 18 500';
3 t8 d% k5 w! E& l print (Str);0 _3 A: Z$ f i# E/ W$ A
end; 0 P4 `6 P$ d0 D+ ^2 e
procedure OnChangeState (aStr : String);/ }7 S7 o3 l7 p& E# z a
var
; v4 [( A% ~# g! g/ y. t! ~ Str, Name : String;
1 @9 Z2 C; z* h, U8 r8 }begin; l" Z5 H; b' F2 H( _$ V
if aStr <> 'die' then exit; - e& s8 Q9 B% E6 t
Str := callfunc ('getsenderrace');
) a: N, u0 h* z- W3 V& L if Str <> '1' then exit;
7 K- ]& U$ S& z7 I print ('say 领教了吧! 50');
" c s4 [/ O0 \( K print ('say 差远了... 400');
% A/ w' z# }! }: x% r2 b Name := callfunc ('getsendername');# \1 ]2 l3 O% r* i& \0 e
Str := 'movespace ' + Name;
$ }! o6 g% w( p/ s: q- F8 X Str := Str + ' user 49 106 55 600';. m$ D2 L3 |3 u. x% T5 G. G4 ?8 d' {
print (Str);, A7 h9 l$ h2 x% E
end;
" v% X# N& c' u. S2 T w; Tend.
F% y1 L1 v6 O: n----------------------------------------( h7 d. l! V2 H( W8 B" ?; ?1 p
unit 一级雨中客; * `3 f4 D: s7 T( f; F) U
inte**ce 0 q$ z" B" k& Z) ?7 g+ d" ~
function GetToken (aStr, aToken, aSep : String) : String;. z( T% }* \8 ~. M' }& P4 P
function CompareStr (aStr1, aStr2 : String) : Boolean;
' l4 k" H p- I T& V# ~' vfunction callfunc (aText: string): string;/ v/ x9 i& E m
procedure print (aText: string);! n( x6 G3 |# }, R$ P8 Q) O
function Random (aScope: integer): integer;4 w3 x0 z [; F) Q: ?7 q- \
function Length (aText: string): integer;
: x; d% ?- V h& Nprocedure Inc (aInt: integer);. V; m- P4 {! h
procedure Dec (aInt: integer);% S) U7 |( c1 p5 y! C
function StrToInt (astr: string): integer;
z F* v9 U, z6 v/ K* zfunction IntToStr (aInt: integer): string;, c$ ]* X% ]0 n, y& M
procedure exit;
* I. |. v! Y0 m q# q5 z, ]procedure OnCreate (aStr : String);
q( s! F0 D; J; mprocedure OnDie (aStr : String);" O% s9 q7 g. N g- i/ j0 D
procedure OnChangeState (aStr : String);
, y% `- W8 x* L& p2 l# zprocedure OnGetResult (aStr : String); + w9 u' y9 D* m3 Z* y" G
implementation
- ^( i' r# J! n2 uprocedure OnGetResult (aStr : String);
8 T k& w% d( k2 u8 o) t+ c( I; ?var
+ G1 t8 _5 B. t) q: _1 j3 r# {6 y Str, Name : String;, D- M8 T4 K! h$ M; [
iCount : Integer;
. |, z0 j1 l2 }$ d/ K0 @begin
0 r5 j2 c- _. Z3 P3 z: f if aStr = 'start' then begin( q, g3 U6 |0 c; V
Str := callfunc ('getsenderserverid');
; o2 k% v! |8 D if Str <> '53' then exit;
5 X3 G5 V3 x+ `' N% x Str := callfunc ('getsenderrace');7 z w1 e% I1 k2 f* Y
if Str <> '1' then exit;
- y' s$ D0 ~; l1 Y Str := callfunc ('checksenderpowerwearitem');6 }7 J0 w" n% Q3 Y% d9 V. a
iCount := StrToInt (Str);
0 N6 n$ |, ~' x) k; s+ `" t if iCount > 0 then begin
1 p3 \/ ~* p( M9 N8 h print ('say 请先脱掉带技能值的装备!');
! v8 o$ o2 g* }. R& J2 @, { Name := callfunc ('getsendername');
4 a$ f3 G" Y% H+ G& k4 T Str := 'movespace ' + Name;) P. M/ o. ]& I" s3 E, [5 X6 E
Str := Str + ' user 49 106 55 100';0 I6 Y2 x! S/ J& t5 p2 x7 I- M" r, K
print (Str);
( m! p2 S9 _+ e exit;
" k/ c% V: W3 Y% V9 g* [6 Y end;0 `+ R; M( [- t7 n
Str := callfunc ('checksendercurusemagic 0');
; g3 n" A* f3 P1 j" h+ P! }+ m* r if Str = 'true' then begin& z" d+ f! `) h" y$ g9 ~. ]
print ('say 选错武功了!');
1 K% H8 o6 a5 t' S; e Name := callfunc ('getsendername');
& z+ H! Q+ M8 y' s# R7 u% k Str := 'movespace ' + Name;' Q+ {. x. [! ]- J8 N4 V; h* l
Str := Str + ' user 49 106 55 100';& F9 S% `$ w" w; U/ ]5 i
print (Str);( Z0 @* v) @' ?
exit;
9 Z, k' b2 J+ |" w9 R" e end;
- A7 t/ w" j& |+ ?' G# p Str := callfunc ('checksendercurusemagic 1');
5 B5 V* H+ ?4 z) R/ A2 l6 E6 ` if Str = 'true' then begin
3 c% r" n; e9 n- n; ?3 W print ('say 选错武功了!');& C) M0 y q2 ]6 R2 W: Y6 e
Name := callfunc ('getsendername');
# r1 k3 ?; q0 P' l! N Str := 'movespace ' + Name;9 r2 L) W0 P4 t
Str := Str + ' user 49 106 55 100';
, G7 B/ U9 R# g" L! V9 o7 D print (Str);
3 i2 E; V1 S9 u* ~. j6 a exit;
. ^# s6 p2 o# H end;* s1 Q6 O8 N5 X2 g/ E
5 H1 `/ l7 H5 Z7 D2 J print ('directmovespace 一级雨中客 npc 53 20 18 0'); 8 p- U" }% p6 l, h& y# e
print ('commandicebyname 一级雨中客 npc 500');
& _( q2 J: I5 \( k9 o8 t print ('setallowhitbytick true 500');
4 z/ j6 @: \6 ?% B) N" I7 x: F2 F4 \ Name := callfunc ('getsendername');7 f0 G, D: l; u8 Y% P
Str := 'commandicebyname ' + Name;
- {' s" V" M+ m Str := Str + ' user 500';5 X+ }6 X, c: ?( w; n
print (Str);
! z5 b H9 ?1 x print ('senderrefill'); , h) K# A, C R( \1 P4 e$ C
print ('say 领教了 50');
{7 m6 t) B" { print ('say 开始吧 400');
I0 ~3 h" [) F& z) v8 u exit;
4 ~, A! e' R2 N0 s end;
2 c# ]) s& `# }* g( w. O7 r, Mend; , n4 r4 ^2 i0 q7 N1 b3 }
procedure OnCreate (aStr : String);/ l+ J) i5 Q' O( w& P* D2 P
var: q8 e4 t3 @: A1 R
Str : String;
" f! o9 o* g4 f) u. B' y/ nbegin
4 v2 d, ?6 d' q. Y Str := callfunc ('getsenderrace');5 P$ \5 ^+ i. j
if Str <> '1' then begin+ E& o' X. p* ?1 z# t. p$ Z
exit;$ N# w2 b- p d7 N+ q/ E
end;
. g; ]! E2 z. l+ t 6 [$ |9 k5 u1 r" ?
Str := 'showwindow ./help/一级雨中客.txt 1';9 @/ w7 l3 O, H( C# p' B; f+ ^
print (Str);$ p2 H2 [* P2 j6 N! [, [
exit;; ?' O( |2 m! z( P1 E; E
end;
1 k0 X, z) V1 ]: b2 mprocedure OnDie (aStr : String);4 V( s5 d! x& K5 J4 X" r9 U/ Z, E9 G
var/ z7 E g/ ?3 h6 C" }0 r
Str, Name : String;/ p! n; R/ U0 I: h5 d- [3 V
FirstQuest : Integer;
; o, @- W/ g( B$ |4 l; j: Kbegin+ B. Z3 b0 C6 z# K+ y4 o. F
Str := callfunc ('getsenderrace');
/ t# D. x: @( ~( Y! w! j0 f* |$ j if Str <> '1' then exit;
) K* J5 c1 G P. F! v7 Y5 V' ~ Str := callfunc ('getsenderfirstquest');+ o( n) ^, ?* w/ G
FirstQuest := StrToInt (Str); 2 @. {4 u" r6 W. g; ~7 x' h
if FirstQuest < 5 then begin E, u! k; O' \* P# l
Str := callfunc ('checkenoughspace');. G5 h- o+ g: {
if Str = 'false' then begin: Z g4 A2 A- A
print ('say 物品栏已满...');
]3 z) S0 }2 H$ ]8 O1 g& \. ~ exit;+ m# p! _* S! Z0 q1 f+ j
end;+ t3 C- ~5 I" l# U9 X1 N- O
1 W) {% o: _7 a- P2 e- w, j3 z# T5 y! {
print ('changesenderfirstquest 5');
. p* e; ]3 X6 W& C print ('putsendermagicitem 新手训练弯刀 @一级雨中客 4');$ m" x) J" w& Y4 N$ q
end; . J1 L- ~8 N# {8 x. \- d3 k
print ('say 早料到了_佩服 100'); 7 @) ^8 p5 C' p" g w k/ {% _9 q3 a
print ('mapregen 54'); $ A! {0 p. b, w+ W* B8 G J6 g
Name := callfunc ('getsendername');) ]3 `0 z& D% U
Str := 'movespace ' + Name;/ }0 Q) `/ @4 r& Q; _8 a6 |
Str := Str + ' user 54 17 18 500';
: i" W( A- P; z' Q! c9 a1 Z" |6 O) ^" \ print (Str);( s/ c% ~- A. A4 C
end; ~. y1 x2 y7 I; M/ t
procedure OnChangeState (aStr : String);
% `/ M" j% h* u2 ]4 ]2 u& ]; Avar
% T$ E) i& h$ a `* p2 p- ?6 Q- s* U5 ` Str, Name : String;2 R2 @0 `3 x) V/ Q0 [! H& i
begin* A J1 _ m& V2 j8 B
if aStr <> 'die' then exit;
" r; M' Z2 w$ g7 J- K# ` Str := callfunc ('getsenderrace');
7 m \7 r' S' \2 } if Str <> '1' then exit;
( J# e1 N4 z4 \2 B4 ` print ('say 不错。只要能维持几秒钟');/ B0 d/ E' v. S2 q
print ('say 到那时谁都不是你的对手 400'); 0 ~% Q6 t% c+ N) X/ v+ x5 X
Name := callfunc ('getsendername');9 \( u4 C2 c. T$ d1 y0 Y) H+ X: _
Str := 'movespace ' + Name;5 K3 S' T* y/ @/ s* `4 N1 s
Str := Str + ' user 49 106 55 600';+ @: F: K9 C( P" [2 d$ @
print (Str);1 `5 Y* H C. c, r1 ~
end;
. U4 o8 [9 ~( V( {/ @* Cend. 1 J8 [$ c3 `/ [5 p
-------------------------------------------------------------------------------------------------------------- 2 G/ ~+ e! d" X# o& k9 _- [
unit 一级老侠客;
$ X5 q \+ h: q8 s7 kinte**ce : Y. N+ C5 [5 t/ g
function GetToken (aStr, aToken, aSep : String) : String;
4 F$ P9 a( r1 E: |0 h d E9 F9 ~function CompareStr (aStr1, aStr2 : String) : Boolean;
! ^. t% F( F h3 Hfunction callfunc (aText: string): string;; H0 {3 ?8 W) J% Z! v: F: U
procedure print (aText: string);+ |! d4 }/ z5 {* n4 ~8 h( f+ m
function Random (aScope: integer): integer;
: k r# k+ S1 \3 r! H4 l$ n# Hfunction Length (aText: string): integer;2 y, S; K9 |1 U) _ v$ c) M
procedure Inc (aInt: integer);
2 `$ k4 @% V; `3 J' r* jprocedure Dec (aInt: integer);
5 m$ X' h7 o2 Z3 ?/ ?% c/ Bfunction StrToInt (astr: string): integer;
! l* K9 \4 Z* W5 B4 d( U5 c5 p( Tfunction IntToStr (aInt: integer): string;% W" w/ U' ~& u7 H$ f
procedure exit; e _9 n. l9 h# U
procedure OnCreate (aStr : String);* ~4 g, ~# P( W$ L T" z
procedure OnDie (aStr : String);
# I% x4 H7 F- n' c' Y! I6 Jprocedure OnChangeState (aStr : String);4 R& z% _0 {5 h2 K4 ]
procedure OnGetResult (aStr : String);
5 N; S- u; U5 p- @$ w( {5 gimplementation
4 j9 R; Q3 q: x, yprocedure OnGetResult (aStr : String);
. x! q$ l; F. {8 y# d" ~var
+ A- t$ I& m6 L( y$ k2 @7 s Str, Name : String;
7 T0 f5 g; J t3 D* W- Q iCount : Integer;
$ ~- b% O6 B4 V. Y0 f u$ Cbegin
0 |7 n4 y1 Q' w5 _, N if aStr = 'start' then begin2 u# ~/ `3 W0 I3 [& _6 v0 W
Str := callfunc ('getsenderserverid');2 M& y4 i& J* _7 H! c
if Str <> '54' then exit; 1 m# e7 k3 Y3 {( j
Str := callfunc ('getsenderrace');& a$ C6 ^8 F) H: @8 R5 H+ |3 m
if Str <> '1' then exit; 7 v9 p) d7 T c) Z% ]
Str := callfunc ('checksenderpowerwearitem');, E8 J7 {6 x) o8 J w0 V
iCount := StrToInt (Str);4 h/ J+ D$ V, d5 E" a4 i, a
if iCount > 0 then begin# O) l8 ^3 I4 k9 l* ?* T9 J
print ('say 请先脱掉带技能值的装备!');# R4 i2 [# Q% r+ w& L% d+ |% P. Y
Name := callfunc ('getsendername');
' C5 }2 e% J" b3 Z6 Z, z" { Str := 'movespace ' + Name;% o4 [! T9 n0 v: X0 f
Str := Str + ' user 49 106 55 100';
D+ ~+ g' }/ ^- E& Z6 E' | print (Str);6 D# H* F9 s' _+ ]( e
exit;
6 s$ `2 x/ o1 ^ end;
4 s) G( i5 H0 O2 p8 _( I3 E Str := callfunc ('checksendercurusemagic 0');
( r% Y/ i6 c4 P! T3 j( ? if Str = 'true' then begin: O# k, C1 |' q7 p0 N
print ('say 选错武功了!');: f, Q6 m$ a0 Z( ]0 X2 j3 k
Name := callfunc ('getsendername');
?, m; s# s4 B+ m, R6 C Str := 'movespace ' + Name;
, e* l' P' {! p) r: m Str := Str + ' user 49 106 55 100';0 `# u- c1 l% B: l
print (Str);
( T. X* [1 `& D6 w exit;
- E# S$ b3 X2 I/ o, T' a7 d end;
" p& J$ E/ j9 e6 d1 I/ j Str := callfunc ('checksendercurusemagic 1');% L8 F$ g4 A" b% Q3 g4 e
if Str = 'true' then begin0 S9 j1 X$ [; r$ V0 X
print ('say 选错武功了!');
! [8 h. E7 A, X: r" ]) t Name := callfunc ('getsendername');! V6 [2 C ~$ l% _/ k* I3 z O
Str := 'movespace ' + Name;) e- o' Y9 ~1 Q
Str := Str + ' user 49 106 55 100';
; g2 u+ j* E9 c! t3 u print (Str);
; D2 g" k1 l; D5 m7 V$ {/ T7 Q exit;: F# |! }2 t" O( q
end;
+ V; Q5 l' w- X* `% G8 M; R
/ t6 K# Q+ |" z5 l5 N. D print ('directmovespace 一级老侠客 npc 54 20 18 0'); 1 e2 R' ?' s, }' r A/ q
print ('commandicebyname 一级老侠客 npc 500');
& K1 |- v7 k3 ^ print ('setallowhitbytick true 500');
0 z5 p" k) a. H4 _8 c/ X Name := callfunc ('getsendername');
) i+ o$ t3 \8 c* Y5 y! o) q. j2 x Str := 'commandicebyname ' + Name;
9 p+ H% E2 [; _+ `% b Str := Str + ' user 500';
3 f! \& D% `+ E* R print (Str);
8 _& m8 }' H) ?+ x print ('senderrefill');
+ ?5 p( e' F7 k+ }3 {' {5 v+ p print ('say 如果你实在想比 50');
. y1 _4 t3 q" x3 C4 v print ('say 我将奉陪到底 400');
* M3 K. r g0 e! l$ F exit;" t Q1 o2 ]$ H. c9 M
end;- s- O( x. R, d# _) k$ Z
end;
7 W0 P: p6 y' J' ]; o/ Cprocedure OnCreate (aStr : String);
% N! n1 h, I* R* Y- ~3 svar
/ _/ W, I3 f: E1 i, T" R Str : String;
1 V6 [9 i5 R/ obegin1 r2 p, f: O1 g& @$ V( P
Str := callfunc ('getsenderrace');1 U8 o# H( V' R# _( i8 m t
if Str <> '1' then begin
3 |4 y2 s8 \7 J! P+ r8 Q exit;4 t) @: O) ]6 P$ a
end;
- V+ K# E% F* ? e ) W2 M2 g# Y# F1 m& U7 w
Str := 'showwindow ./help/一级老侠客.txt 1';
& u' b9 f, s4 Z& g' i4 h" S9 I print (Str); i1 A# N* r8 Z9 g. i
exit;" `( r5 t; ?. W) s$ I) b5 ^, \! |
end;
: R8 u: L7 Q+ P* u" M- x. T; T @procedure OnDie (aStr : String);8 J& K, a( `. m4 Q$ @8 h( a* a
var8 |2 I0 j' x; j' O
Str, Name : String;( j+ T+ ?6 X: J' D) h4 L
n, FirstQuest : Integer;
6 V; ?! X! Q" ~. ], Ybegin( B0 x7 S4 k C6 [) u$ k- d
Str := callfunc ('getsenderrace');
- r/ |: J; Y: G' e |8 c if Str <> '1' then exit;
2 ^, \' I" H' F/ C( ~8 X Str := callfunc ('getsenderfirstquest');: t; U; A3 D( D$ R& S' d# n
FirstQuest := StrToInt (Str); ( n. X4 y7 i# ^9 R U% H1 f& c3 ]
Name := callfunc ('getsendername'); ) R5 W6 S3 \4 `9 C2 r
if FirstQuest < 6 then begin
2 u6 X D1 C; E% [; o9 o) Q Str := 'sendsendertopmsg ' + Name;* S7 k4 W0 n! q* [
Str := Str + '恭喜你,通过了所有的比试,获得【侠客弓服】';2 O8 D/ R' \8 u% ?7 B
print (Str);
0 z+ }% l2 I3 W( b& G5 }9 ? Str := callfunc ('checkenoughspace');
! _$ z, }! T$ P; t7 \, @ if Str = 'false' then begin
' i, \2 A" h, H print ('say 物品栏已满...');5 N3 I2 H& t( F! P& a
exit;
y$ \" J: a. i4 x+ Y( o end;
6 q9 I+ @0 W( U1 T( _ # z5 b& ~- \3 X: J! \& ^% _
print ('changesenderfirstquest 6'); # f& U0 r% y F! m9 V% }
Str := callfunc ('getsendersex');
. m2 }1 O4 I4 v% b) J% K. E& U n := StrToInt (Str);
4 P$ A0 w- S S/ L0 K if n = 1 then begin1 V1 ^, ?" S, M
print ('putsendermagicitem 男子侠客弓服 @一级老侠客 4');/ V* ^, N1 @6 K% W; J* a0 P" {& b
end;/ X$ Y# P# i6 h9 G
if n = 2 then begin. g$ E+ b7 ~- ]6 [0 E8 h; N
print ('putsendermagicitem 女子侠客弓服 @一级老侠客 4');$ C: o( y" a# v9 M6 [, h0 ^ ]
end;0 ?% v6 ~- H3 W
print ('putsendermagicitem 新手训练神剑 @一级老侠客 4');- `+ G& q+ ]+ {% _
end; 3 k& G# N- O2 }3 l% r
print ('say 佩服_佩服 100');
{5 L$ b* n7 g" g7 W Str := 'movespace ' + Name;7 m. j/ ]+ i6 A+ o6 J! T# A! H
Str := Str + ' user 49 25 35 500';
2 l+ z( }& L: U& w1 X print (Str);! ~, M1 B% @) C* a
end;
8 T' Q+ E g2 m; C4 a4 @2 f& W# Eprocedure OnChangeState (aStr : String);
6 G/ x, m4 M3 L* n) j3 O- [# Nvar0 E+ B3 N4 p5 H" e# U+ S
Str, Name : String;# Z1 X9 n( r2 K: s/ P2 i
begin6 N A( k7 O: ^: G Z* b/ z9 n
if aStr <> 'die' then exit; 4 i: A, j" x$ @9 c5 _" W7 z0 Y: l4 i
Str := callfunc ('getsenderrace');: M* @! a8 |* a2 ?8 z
if Str <> '1' then exit; ! I, \% [. L1 b$ v1 q
print ('say 小小年纪_就有如此高深的武功 50');
7 V& I5 _7 ^5 ?5 F print ('say 日后要继续修炼... 400');
6 ^" C n. X1 }8 |+ G { Name := callfunc ('getsendername');) D$ A: w" P( O2 r
Str := 'movespace ' + Name;+ u4 h8 }5 V6 b. l8 m8 ~; E0 U
Str := Str + ' user 49 106 55 600';) q w$ H7 f4 G' j3 I; \
print (Str);$ `- ~& A3 K* k- t4 Q. X0 n% Q! q
end; 3 i/ i8 ^7 t7 F/ W/ ^. T
end.
% A; C6 s9 J0 M, @. A-------------------------------------
6 P$ O6 P# i9 y- J4 k*************************************
' r- a) W7 K; p( \奖励物品代码:
4 j0 }5 L5 p+ R' C*************************************
- _& G. C6 z2 A/ A% J$ e6 w男子侠客弓服,男子侠客弓服,24,新手村擂台战利
+ P$ b9 j7 U8 M0 Y品,2,,,,,FALSE,FALSE,181,6,7,,,,1,1,1,,50000,,,,,,4432,4831,TRUE,,10,20,,,,,,,200,100,100,10 ' w( m6 ~) A. {$ ~& z/ r7 w+ l
0,,,,,,3,TRUE,4,,FALSE,,,,,,,,,,,,,,,1 z# M4 j! {$ C) P7 t
女子侠客弓服,女子侠客弓服,24,新手村擂台战利 ! L8 v8 d1 w* h% ~% V
品,2,,,,,FALSE,FALSE,181,6,7,,,,1,2,1,,50000,,,,,,4432,4831,TRUE,,10,20,,,,,,,200,100,100,10 ' m' W7 s' \! L( T/ J. j \
0,,,,,,3,TRUE,4,,FALSE,,,,,,,,,,,,,,,
/ z6 r( G1 w: F( n新手训练拳套,新手训练拳套,6,新手村擂台战利
% \' |. s" u2 u/ u5 q, v品,1,,,,,FALSE,FALSE,361,9,52,,0,0,1,,1,,50000,50000,,,,,4404,4805,TRUE,20,20,20,,,,,,,,,,,,
4 G" d6 I/ f( Y3 A,,,,4,TRUE,3,TRUE,FALSE,,,,,,,,,,,,,,,9 G6 H! O" |' e" k0 c
新手训练神剑,新手训练神剑,6,新手村擂台战利
: g. P: x7 f( l' n品,1,,,,,FALSE,FALSE,365,9,69,,2,1,1,,1,,50000,50000,,,,,4404,4805,TRUE,20,20,20,,,,,,,,,,,, 4 ]% U! d, O. O4 @
,,,,1,TRUE,3,TRUE,FALSE,,,,,,,,,,,,,,,( y! `8 u0 v }" j6 ]+ T" z
新手训练弯刀,新手训练弯刀,6,新手村擂台战利 8 e! F! E. F1 l2 W5 C
品,7,,,,,FALSE,FALSE,113,9,2,,2,2,1,,1,,50000,50000,,,,,4412,4813,TRUE,20,20,20,,,,,,,,,,,,,
0 |( F1 L$ v6 w8 t9 D. F. r8 Y* D1 Z,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,( G% s) U7 Y* l% J* Z: A' W' W
新手训练长矛,新手训练长矛,6,新手村擂台战利 $ _5 |1 y1 @) b q* H, L/ K
品,6,,,,,FALSE,FALSE,117,9,45,,3,4,1,,1,,50000,50000,,,,,4435,4834,TRUE,20,20,20,,,,,,,,,,,,
# n: n! M! s- K3 {; f" n,,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,
3 v3 }2 h. ^* e0 m* N7 b) g新手训练大斧,新手训练大斧,6,新手村擂台战利
n& b5 Q# W( {6 g, V3 L% P% _! y/ m品,6,,,,,FALSE,FALSE,95,9,12,,3,3,1,,1,,50000,50000,,,,,4415,4815,TRUE,20,20,20,,,,,,,,,,,,,
$ @! W) Q9 [8 O5 d9 ?4 g,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,
4 d3 n* K" m# j8 T******************************************
( q8 D) ^' u; q, E: ~9 A |