游客您好
  • 点击联系客服

    在线时间:8:30-18:00

    客服微信

    Wkr-3000y-kf

    电子邮件

    3000y@wenkeruan.com
  • 手机版

    随时掌握游戏动态

  • 扫一扫二维码

    添加微信客服

Lv.5 解脱境
277号会员,0活跃值,2022.10.27 加入
  • 207发帖
  • 173主题
  • 0关注
  • 0粉丝
这个人很懒,什么也没有留下。
独家推荐 更多>

[安全工具] 新手村擂台脚本和实现代码

[复制链接]
快要发癫啦 发表于 2023-3-2 09:52:34 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本
% \- t% z3 h# h( i  I, A5 ^% ~

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

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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