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