游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本 3 t1 m- p& Z( \& w% h0 w9 S3 b

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

, e4 Q, z# Z  v4 g0 p; X- u4 R
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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