游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本 0 _7 Y" |9 b8 C

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

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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