游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
风雷版的新手村擂台脚本
  w$ x1 L% C% w4 [8 Q8 P$ F. {

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

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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