游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本 ! C: z" U7 t, F( F2 V6 M3 x- M

" c- |8 V) V4 U+ B: b
释放到同名文件夹下覆盖原有文件。1 q! g6 }5 k" B& m# C" W
1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。3 w! a- r6 L2 t: y& g
2.Item 里面是任务发放奖品的物品资料,把我发的加进去。
/ u6 i) w6 p# w1 t# V4 c) y" ~
(由11月23号发布的最新服务端修改)
  R: K, t4 O6 z6 u: N0 Z. C
-----------------------------------------
8 p- H' T5 A. D) \% k
内容介绍:2 A' r" }) [" N6 P, J
新手村比武获得奖励:
  ~. @4 Z* [+ e& [  ^! q! E
同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0
3 Q7 @2 E5 K. w' X* f# V, n

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

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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