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