游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本
# U7 P6 h4 ]) ~3 X0 F" a' M

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

: g$ l, H3 @; e0 G" w1 a% `
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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