游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本
4 e, Q( }( h5 Z5 e: f; v
& d& q( C- x  I# {/ g. b
释放到同名文件夹下覆盖原有文件。
3 C, ?& C/ Y: \( o: H/ Z4 p2 u( \( l1 \
1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。+ q; F; r* P, q7 y2 x- i- O$ }
2.Item 里面是任务发放奖品的物品资料,把我发的加进去。& @0 G4 i; O2 d5 `, t' o
(由11月23号发布的最新服务端修改)1 }+ \/ j* J( E1 c1 R
------------------------------------------ G; p* h) T5 y/ V& Y% F- _; Q
内容介绍:
+ h* Q1 P' j8 G8 x* J1 n4 Q/ p
新手村比武获得奖励:
& ?5 i5 x- ?  w; f
同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0 6 o) e* W' j+ [$ ~: s( x

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

" n+ C) e, @  R1 f2 U
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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