游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本
- `: y1 T6 `$ n0 f; [' O1 M& w0 O: R
. [3 n9 f9 J' m' [
释放到同名文件夹下覆盖原有文件。
9 t4 q8 n( Y' ^, E5 H7 |! L1 a: ?
1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。4 g5 X/ t, _. d, \+ F6 z
2.Item 里面是任务发放奖品的物品资料,把我发的加进去。
/ u' Z$ R- k4 _! ^& p, L" b
(由11月23号发布的最新服务端修改)9 B* a, B! D* M/ f
-----------------------------------------$ e0 A! ^6 v! q; k/ a4 c& i
内容介绍:
+ ?; ^7 r8 ^8 s
新手村比武获得奖励:- c. x; q7 ?: H, S) l
同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0 2 I1 W4 w4 N& c2 b% A

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

) L+ {% N& D( j- a
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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