游客您好
  • 点击联系客服

    在线时间:8:30-18:00

    客服微信

    Wkr-3000y-kf

    电子邮件

    3000y@wenkeruan.com
  • 手机版

    随时掌握游戏动态

  • 扫一扫二维码

    添加微信客服

Lv.5 解脱境
277号会员,0活跃值,2022.10.27 加入
  • 207发帖
  • 173主题
  • 0关注
  • 0粉丝
这个人很懒,什么也没有留下。
独家推荐 更多>

[安全工具] 新手村擂台脚本和实现代码

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

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

Powered by Discuz!X3.4 ©2001-2013 Comsenz Inc.闽公网安备 35099902000100号增值电信业务经营许可证 闽B2-20220593 闽ICP备2023014375号