游客您好
  • 点击联系客服

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

" F* K$ k- H" _
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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