游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本 2 G3 x5 ^# Y1 Q  ?: q

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

$ K- z4 Z( ^* h7 S8 c0 ~
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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