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