游客您好
  • 点击联系客服

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

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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