游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本
8 U' t  ]+ {) @

  \) j9 U7 x. _9 Y1 v( G
释放到同名文件夹下覆盖原有文件。
7 `# O4 d9 H4 O! x/ |
1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。/ _* R5 ~/ Y, h4 g
2.Item 里面是任务发放奖品的物品资料,把我发的加进去。
6 k7 i, i- c3 d2 H6 l* a5 |
(由11月23号发布的最新服务端修改)
/ \3 i5 Q8 n( c3 [
-----------------------------------------
$ K6 |5 {; w& x& v; Y
内容介绍:* J+ P+ M! i! V# \
新手村比武获得奖励:
: J8 L* \- i* g/ P/ N
同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0 3 c  e1 ~; X8 D

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

" A" R* e) V4 S. I/ [9 t/ K
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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