游客您好
  • 点击联系客服

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

    客服微信

    Wkr-3000y-kf

    电子邮件

    3000y@wenkeruan.com
  • 手机版

    随时掌握游戏动态

  • 扫一扫二维码

    添加微信客服

Lv.7 版主
8号会员,9活跃值,2022.09.01 加入
  • 127发帖
  • 123主题
  • 0关注
  • 0粉丝
这个人很懒,什么也没有留下。
独家推荐 更多>

新手村擂台脚本

[复制链接]
异仟年认证商人 发表于 2022-9-5 20:23:44 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
新手村擂台脚本
8 G: h) S3 a7 z1 c8 T5 F: o, @" U4 @" V5 [. B( ?3 E9 k# {8 J
$ c  T$ w9 K) t2 a# v
释放到同名文件夹下覆盖原有文件。" `& R) Z: ~, y) ^, s
1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。
) J1 a% u  G9 ?6 {5 k+ X+ v2.Item 里面是任务发放奖品的物品资料,把我发的加进去。
* A! A, }2 [5 c7 S+ z2 [(由11月23号发布的最新服务端修改)2 n  z3 M3 l' Q5 W2 Y6 s+ l
-----------------------------------------
7 ~, d5 j$ o) A+ s; x, \* x/ j内容介绍:% _3 o( l3 l' j+ }1 Y& Z) F& ^
新手村比武获得奖励:. ~2 u/ S4 _+ a4 V& \3 G3 E
同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0- A( Y0 T" {; m) g9 f5 A# f

3 w3 e. h( [/ D$ j3 U0 X. W$ }4 Y1 d6 M2 E2 I' O
最后一个NPC老侠客,打败他会获得新手剑之外,他还会公告天下你获得了 侠客弓服 一件!(个人比较' W" i! ^: S1 z+ |' t% J: k

! i$ D" k; S4 I) J3 g# t% [" `% M喜欢黑龙,所以是黑龙的加强版!)
% [6 H" X+ K0 @4 F5 ?1 C  K9 a* [. v8 g
[replyview]
: h; B8 |4 O* a  K' }0 @& g: P! m: C; V$ X0 B1 q! a
-------------------------------------
: i7 a# N- @8 W* A8 J% e
( e: d: B& P; [+ j; ~9 c, }0 x0 n8 Runit 一级梅花夫人;
6 Z) A7 T2 s4 M8 |& f6 X' S: F. l6 ?7 J: r% g  D
interface+ |7 S* w% Y/ E2 v
2 C1 f2 H5 ?" M& S+ i6 o
function  GetToken (aStr, aToken, aSep : String) : String;
1 \% C( _. {- L5 K4 Z8 k2 Zfunction  CompareStr (aStr1, aStr2 : String) : Boolean;5 w2 K' O$ s' S( ?
function  callfunc (aText: string): string;
7 Z: A$ E8 C3 x. aprocedure print (aText: string);; w: {* w2 r4 Q
function  Random (aScope: integer): integer;
- m; d) J% v7 n' `function  Length (aText: string): integer;5 D0 O) I  @7 r  [! N' R
procedure Inc (aInt: integer);
3 d( a6 N. {3 P  a: ?7 e/ H) Dprocedure Dec (aInt: integer);- d0 @) S* j, v' P. I
function  StrToInt (astr: string): integer;. W+ _( p+ N. T7 c5 _- t; `
function  IntToStr (aInt: integer): string;2 |6 g3 ?- j8 L# H. \. M- V
procedure exit;* z0 z+ D* t' `4 K. m! X

( }( C1 x) M2 p+ U5 P& {; S' Jprocedure OnCreate (aStr : String);, |$ l4 e$ b8 D. H# S7 F
procedure OnDie (aStr : String);. J. B; f! b# Q( |6 z! n. b) s5 E) C
procedure OnChangeState (aStr : String);
1 ^) A9 c0 h5 |procedure OnGetResult (aStr : String);( K( L( d4 I0 r8 {

7 P1 y' T! L9 Rimplementation
3 K2 [% \0 s; P/ F" l. O
* q9 J3 E2 z6 d, p0 jprocedure OnGetResult (aStr : String);
7 M+ `4 n2 e  `" M; a. n% |! ivar
. e9 ^- H7 }! b   Str, Name : String;1 q6 N1 M! I1 I& b' ?- t
   iCount : Integer;
& S+ W! L% [4 gbegin
* ~( @. N+ ^5 b" o* V   if aStr = 'start' then begin& _# T, h0 X/ J1 M& Q
      Str := callfunc ('getsenderserverid');! |; z% z$ s! ?( Z4 e  _! B
      if Str <> '51' then exit;
& l( r9 W6 `4 z
: Q8 U5 G  h5 {; }+ m- c      Str := callfunc ('getsenderrace');2 T: E  u* q% M
      if Str <> '1' then exit;
: {. L  M* D7 P$ a. x1 k" x& N9 M) A& w* z; R5 A5 L
      Str := callfunc ('checksenderpowerwearitem');
4 n) E1 Z7 u4 j% e1 I# O6 y      iCount := StrToInt (Str);: Z# p7 y# l' U9 P5 G2 L5 F( B
      if iCount > 0 then begin
  f4 J* _* \5 ?# \1 V0 c         print ('say 先将带技能值装备脱掉!');
/ |- R( @' `" y9 Y4 o         Name := callfunc ('getsendername');9 M4 [+ L  N- d+ n
         Str := 'movespace ' + Name;8 r) Z+ G0 B4 ]  O/ g+ ^
         Str := Str + ' user 49 106 55 100';, }7 {% s7 @# }+ |$ }
         print (Str);
7 X4 S* d8 J9 A. T6 G" C% a" j. Y         exit;
! f4 L) ^* f& k/ K      end;
- \* ^+ }, c( J+ Y      Str := callfunc ('checksendercurusemagic 0');; U% V0 Z8 V) Z% b( U5 J
      if Str = 'true' then begin# ?0 L3 Z# R1 s- r0 D5 }
         print ('say 选错武功啦!');( f7 t0 X0 \+ F( d
         Name := callfunc ('getsendername');
$ H1 J" z, ~3 I) l* e) d         Str := 'movespace ' + Name;+ f- a6 a" O4 q" ]( b' B3 c" N6 o
         Str := Str + ' user 49 106 55 100';. j. F4 f, G/ r6 O
         print (Str);; R$ U: d, M6 F; A
         exit;
) O: p7 c4 T8 U6 X$ H      end;3 n6 k  i- ]1 b) F; k; U
      Str := callfunc ('checksendercurusemagic 1');
, F9 w% \% i% K& M      if Str = 'true' then begin, P% x$ ]' z& O; g: z6 x
         print ('say 选错武功啦!');2 ^: }( F8 B- V
         Name := callfunc ('getsendername');# _, r, u7 H- B) Y& K/ Q
         Str := 'movespace ' + Name;
" K, |* P+ ^' U1 ?7 b& i         Str := Str + ' user 49 106 55 100';1 w1 i) u6 w, J2 l
         print (Str);/ ~7 U: R, {6 `0 q$ P6 |( {
         exit;
( h( n" o2 F2 I/ e( u/ g      end;
- |: F0 l+ O9 G/ s; B8 h. S9 ^  N0 _
      print ('directmovespace 一级梅花夫人 npc 51 20 18 0');# n" ]' D% C1 W2 B4 ^3 v! Y, x! d7 Q

" N+ s% Z+ U' Q( J9 t1 O# ^$ r- j      print ('commandicebyname 一级梅花夫人 npc 1000');
, }7 _. s( H' e! E  |" F. X      print ('setallowhitbytick true 1000');
" D* r3 z) \, `/ k( t" ~& ^6 ]5 O5 ]3 s) w
      Name := callfunc ('getsendername');
" r; o& ~2 G; @! a9 A      Str := 'commandicebyname ' + Name;# I" c3 P0 Y6 W2 _* c- \) s) z
      Str := Str + ' user 1000';/ |" F$ B3 B3 |, I( [5 X* a* D
      print (Str);
5 _( \, U( P) S1 a2 Y
& q7 S+ s. D/ w  s! h6 V3 n      print ('senderrefill');) H) b1 `* ?" w3 ]# C; {

: q% z9 P  i* q1 A( |' I      print ('say 别害怕 50');
- N7 d  N$ Z2 z  f      print ('say 我会收下留情的... 400');0 o1 M4 S4 ~; X; n3 c
      exit;. x7 a( ?6 M- g# ~7 U# n$ {
   end;
* h! r) d: k8 p; V; |end;
( [. y8 s9 G) f) U5 ~* i% I
, D5 b7 m2 D+ r  N- Iprocedure OnCreate (aStr : String);" M2 t7 e/ [8 z. a/ R& h, ^6 ~
var
# |. V# \' l- \# v# N   Str : String;3 |' x" L% a8 {: ], i* }
begin
. \+ @3 `! A5 A: z5 E9 j" P9 S! q   Str := callfunc ('getsenderrace');7 L' ~' |8 k+ _& h. K* o" n- y
   if Str <> '1' then begin6 p: q2 @" }. P2 {. c
      exit;1 {) J$ k9 v9 i
   end;
) G2 q; V" Y/ y4 ~6 y* z0 |* O8 N; Z. _8 ]
   Str := 'showwindow .\help\一级梅花夫人.txt 1';; e  h/ S* |7 @% e& i
   print (Str);  I6 A2 A. o4 K# C
   exit;
5 a+ @( U! M8 a0 u. G9 ~! Nend;
* S4 }- f$ l" S+ Q. H' c9 Q- n8 f/ }5 `" j/ \4 q7 P
procedure OnDie (aStr : String);
$ e* k" D7 q, V0 Qvar
+ _- S5 X! p; M+ `   Str, Name : String;( j' Y, H1 |  \; h; R% M5 ?( ~! t
   FirstQuest : Integer;   
' e$ u- W8 R+ p/ [- Q$ V1 ?$ dbegin+ t7 i7 U% t$ ~! m2 T
   Str := callfunc ('getsenderrace');' F9 R% m7 V) a1 P+ w
   if Str <> '1' then exit;* J# Z8 H5 `4 |0 S, S
2 ]5 ]7 P  b0 G+ M+ k" ~
   Str := callfunc ('getsenderfirstquest');
, o" i- L* [, @! Q# I/ z   FirstQuest := StrToInt (Str);+ z" K9 l* ?8 r2 W* L  m
4 T) U  L' V" v) B7 _! Z) Q1 u; H
   if FirstQuest < 3 then begin
/ ]" e% V4 V/ Q9 c5 r5 r      Str := callfunc ('checkenoughspace');; S8 |+ G1 y6 ]$ G  q$ `$ |
      if Str = 'false' then begin6 G2 a3 K, D% p
         print ('say 物品栏已满...');7 _+ s7 f; [% e' G  I- ^
         exit;
; R7 e1 Y: L: ?. V$ N! T" f# A      end;
' o" t# \9 J9 _6 W' A* Z' `& T+ m3 Q8 ^' Z; J
      print ('changesenderfirstquest 3');
, c0 k! C$ e7 W2 N2 p      print ('putsendermagicitem 新手训练长矛 @一级梅花夫人 4');9 ~. Q, z4 x' k, c4 w+ y
   end;3 f) [& P  Y' q! {" u

8 i" Y7 z' y4 E' y/ m, S   print ('say 我可只用了3层功力哟 100');
  e+ o9 K. x; C' k6 F& M* u1 J
4 V$ W; i% X3 `" c- |   print ('mapregen 52');
4 U8 r8 O  c" u1 L# k/ U" P, o5 `" }
8 }, c: ]! F1 u) e- [% B   Name := callfunc ('getsendername');   
7 T  G! }( c- E' a5 m: a- J' I   Str := 'movespace ' + Name;# L/ ~* D! ^4 i4 j
   Str := Str + ' user 52 17 18 500';
, }. Q) E4 m. @/ T. t+ R& o   print (Str);4 S. a7 T% E9 a. i
   exit;  Y0 B4 q/ f2 b' u8 D3 M
end;
, ~3 G3 Z5 B# n) U4 X, |) x: y
8 f) x3 f  t4 u4 J+ w* g. L7 s& ^procedure OnChangeState (aStr : String);
8 c, e. M- f4 b. @- }var5 ^2 o* S/ A; n) c% y5 s, L
   Str, Name : String;
* j& G# q3 O% x  E5 W3 \* N6 Y! ?begin' R5 K" R" \7 {* [6 A9 z2 f
   if aStr <> 'die' then exit;6 A2 `" |  G, {( v4 K* W% G& q
1 n+ M! K' i/ D1 `" }8 |
   Str := callfunc ('getsenderrace');
5 P9 }' y# |8 y6 t$ S" h   if Str <> '1' then exit;$ r$ e1 x' m, G$ o' R6 M

# c8 [3 X. Y0 z+ R6 x1 r3 E   print ('say 别无他法 50');, i6 \, L8 F4 h6 s  ^% |6 K
   print ('say 是不是修炼方法不妥呀? 400');
  Z, _2 v. m7 W  S/ u$ y2 G1 h& S9 f) G" M' A
   Name := callfunc ('getsendername');; s7 g% G4 h- `* o; z& D" \4 G$ h
   Str := 'movespace ' + Name;
, z/ T3 }5 n( U' f" x% r   Str := Str + ' user 49 106 55 600';4 M5 t- J" b# I6 i
   print (Str);
! E+ M0 O, h4 L* z& @1 k% tend;/ x* ^' B; R" v8 P; J5 k
8 V3 F; f& v& q+ W, q
end.
' L2 G9 c. N0 p1 p-------------------------------------------  B" O1 P+ O" T" J9 i+ E
unit 一级捕盗大将;
! ?* l# ^9 h# x7 t5 A7 ?
+ E/ a: v+ B: P( t9 xinterface
$ `8 y  F+ K4 v7 U/ j- S$ f: `7 @# w1 R0 P" a2 F' ~
function  GetToken (aStr, aToken, aSep : String) : String;, g6 ]- [/ G1 H! Y7 _
function  CompareStr (aStr1, aStr2 : String) : Boolean;: T# x" i$ k/ w' K3 i
function  callfunc (aText: string): string;
: k, b; l6 \2 x4 q3 Bprocedure print (aText: string);' ?# Q8 K& y: p6 G8 n9 F
function  Random (aScope: integer): integer;* _! X  J6 {5 f4 [8 B/ |4 c
function  Length (aText: string): integer;3 H6 g" W$ f0 `9 r4 u
procedure Inc (aInt: integer);9 u+ }" Z6 |1 A* f+ q: y) \
procedure Dec (aInt: integer);
( j% E% b. x/ q% u5 ufunction  StrToInt (astr: string): integer;4 m! w' F/ ?1 D+ a* J2 N
function  IntToStr (aInt: integer): string;" x% [! |+ u* O5 Y
procedure exit;
+ \$ M6 A. g& u5 {. J9 s7 [; J, L9 w* e1 Q$ R6 d
procedure OnCreate (aStr : String);" B7 n. c. A* W8 |9 |
procedure OnDie (aStr : String);& j* _, ^( }) n/ q0 z8 C
procedure OnChangeState (aStr : String);
% D* \4 U: R9 iprocedure OnGetResult (aStr : String);1 [( ?4 T5 b, A- L
0 N0 j) E7 D, Z1 t# S
implementation
/ b; @: @+ C2 X( H
" S- ~2 r; ]$ ~- W6 [) Aprocedure OnGetResult (aStr : String);" I6 w  n1 H8 C+ m% k6 m# w$ }6 X
var+ T5 @9 X; z+ Y- Z& ^! p5 X! \) \
   Str, Name : String;+ X, p6 c( J! u; H- z& f) E# T
   iCount : Integer;   $ Y& C! n" U0 E, p
begin
$ `, g. H5 b# Q   if aStr = 'start' then begin
! Q% G; Q6 F$ Y6 Z/ N+ ~      Str := callfunc ('getsenderserverid');+ ^" ?) H9 G4 J: [% ~
      if Str <> '50' then exit;
! s7 K0 c/ L. Y* _$ H8 S
& o- S) G' ^7 y2 u0 x8 w; l: C      Str := callfunc ('getsenderrace');$ t  I# V1 C! ]+ |. t
      if Str <> '1' then exit;; ^3 z# Z; M, [4 `
% |4 L2 _1 S/ y2 u0 I9 Y$ p
      Str := callfunc ('checksenderpowerwearitem');
5 m. s$ h0 w) Y      iCount := StrToInt (Str);
# J. G7 @# |1 M, e      if iCount > 0 then begin
2 r/ p- q, o* [/ ^. \7 F) ?  o4 }% r         print ('say 请先脱掉带技能值的装备!');
" O9 ?( e$ ^' E) o4 m         Name := callfunc ('getsendername');
1 Y' x6 x' j9 n. c6 q9 n         Str := 'movespace ' + Name;' q2 i' r/ b7 }' w3 P
         Str := Str + ' user 49 106 55 100';& g+ Y  d. a- E/ H
         print (Str);1 g9 J( z  A% G
         exit;
7 H- }1 }& }% |8 O9 Q5 T. `      end;
1 Q6 j( r& K% q! U% m6 T  x      Str := callfunc ('checksendercurusemagic 0');
; w2 @3 H$ g* E, j$ B  w% v) Y) h      if Str = 'true' then begin
' C1 V$ \2 k& I6 h$ ]3 o         print ('say 选错武功了!');) w# G) [! P) [& X$ P7 k. J- ~6 B
         Name := callfunc ('getsendername');
8 N# Q8 T) G, a5 k- }         Str := 'movespace ' + Name;
8 A- s$ D5 x, A/ Q0 z+ S         Str := Str + ' user 49 106 55 100';
9 F  y& m3 o7 h7 g         print (Str);
4 Z' q' M3 C3 Z, X: r/ O. ?         exit;3 ~% j$ @8 y8 j) {) H
      end;
! v0 @- Y# u8 J      Str := callfunc ('checksendercurusemagic 1');
8 v' F7 i# N2 H; H: G( r      if Str = 'true' then begin
: x3 f* L$ i% }$ Z; y+ U& m         print ('say 选错武功了!');
' H1 V' T1 u( q0 p- m         Name := callfunc ('getsendername');
4 L' h, G) ?# Y  A; q$ U  z         Str := 'movespace ' + Name;# m6 }2 H6 o$ }5 {2 q1 j
         Str := Str + ' user 49 106 55 100';
5 N" w9 X- h- @- M% n9 |         print (Str);* c7 c) q! C+ `9 U9 Q
         exit;
6 U9 r# Y5 d: v  q6 L      end;
! x; c! M9 v* i  J+ Z' L
1 P, p# U7 j, u* a4 I' T/ b9 L      print ('directmovespace 一级捕盗大将 npc 50 20 18 0');" S4 I, `- S% ~6 U1 E. q% H* X& v4 a
# v, O8 d& n; N4 \) f7 L! Q& g
      print ('commandicebyname 一级捕盗大将 npc 1000');2 g5 T' i: J( R! K3 ^1 g! i: n
      print ('setallowhitbytick true 1000');7 v& O' @- B9 F: p6 i- }3 N' n
5 K5 R! P* n# t: r% }( p+ _
      Name := callfunc ('getsendername');
- O4 _8 s/ V/ a- W      Str := 'commandicebyname ' + Name;
9 @* D- V: N9 a. S* K0 C$ a2 p- `      Str := Str + ' user 1000';2 I2 A# a$ A: a: ?+ E& Z% S& p
      print (Str);& C, h  m. @1 U! \$ I- Z4 p) }6 m

! R6 l  M7 D, o9 g      print ('senderrefill');4 L# \/ Q$ s" ~
8 N; N+ U2 @. B5 t+ b# `
      print ('say 你还太嫩! 50');
9 X! m% ^0 k' {4 Z      print ('say 留神啦_我可不会手下留情 400');, Q) f/ C6 K  n# F' b- V; A
      exit;
; `1 S/ I4 g6 f  `  L! H   end;
% U. }* G* a, |1 w4 U( rend;0 @- B  S! ?) Q+ {2 t2 s

% `1 d) y6 E1 ]3 jprocedure OnCreate (aStr : String);
, i; z; K8 y/ nvar3 S2 Z0 C7 b: [2 z/ d0 Q% {1 `
   Str : String;( m$ Q. }* W2 E% p! R
begin
/ Q/ ?: D! c; o% V- `* A   Str := callfunc ('getsenderrace');
2 h1 A, B- Y$ \( @   if Str <> '1' then begin0 t) H# ~3 F$ _0 V  u
      exit;0 f, ^5 q* A# Z8 I# W; S+ Y
   end;7 t+ m; G8 q( F8 r. ?; \3 a! U

4 t" V5 i) \8 p0 Y   print ('setallowhitbyname 一级捕盗大将 monster true');4 w% U5 x+ M' V  k

. u/ \. C7 q3 d7 }# S6 x3 G5 l$ F   Str := 'showwindow .\help\一级捕盗大将.txt 1';! g" B/ g" p' h" g9 i4 F
   print (Str);
. d) r) ?4 e  I' A  i5 ~. }7 X$ d" s   exit;
5 |6 Q& S; A  W6 [/ wend;
8 S4 |) u% n4 q# T8 m. v; v1 R! z: X$ a' M: K! q! M; _# U% k
procedure OnDie (aStr : String);
# ~5 |) @6 w3 g9 Q% G  J) Bvar
8 Z  X( U8 `# f' A6 q   Str, Name : String;
# U* ?% U! q' w5 |! T   FirstQuest : Integer;* O" l! t7 j' O) `, j: t
begin. x- r/ J( _; y, V/ U5 j" {
   Str := callfunc ('getsenderrace');9 M3 L1 U% I0 |
   if Str <> '1' then exit;- k5 B' s' q! R+ N' o; K' \- A
- o9 h& g- U4 F  f( b) s8 @
   Str := callfunc ('getsenderfirstquest');
* g4 W1 Y4 T; w& T9 I   FirstQuest := StrToInt (Str);
6 H) P6 M1 N) d; q) O
) _4 ]  P8 N& J0 _   if FirstQuest < 2 then begin5 J  h# G+ _3 y! ~
      Str := callfunc ('checkenoughspace');$ _: h% ~4 @8 E6 ~- i& F
      if Str = 'false' then begin
/ X8 C' K/ R3 G         print ('say 物品栏已满...');
7 ?8 K) R& o# T8 v+ {( ~" q5 |1 v         exit;
$ p, h4 d- l" ]8 b8 a' h      end;$ F5 z6 V4 `. U& g. K8 d* S
( N- u! p9 y" c  z- P5 Y5 a
      print ('changesenderfirstquest 2');
& V  {  c& `0 {2 i# F$ U      print ('putsendermagicitem 新手训练拳套 @一级捕盗大将 4');+ Z" S7 X& J6 x+ p6 V
   end;
. E3 v4 i5 V- i0 E! D
* P# Y+ M0 P6 e   print ('say 不可能_我怎么可能输呢.. 100');$ C/ v1 _/ X' W+ ~) _8 \, T6 K

( j2 L4 G3 \; N, L- p8 ^   print ('mapregen 51');
7 o! k4 r4 w6 a3 o& _" {. H9 U0 I5 d9 k9 c5 p/ i
   Name := callfunc ('getsendername');
# O, Z6 \0 \. c/ t$ h% d3 R   Str := 'movespace ' + Name;
' B7 ?/ D- d, l9 |   Str := Str + ' user 51 17 18 500';
6 g" B6 H( r+ m  u0 G8 G. @& @   print (Str);. L" u8 ]" w, ^: b. R5 Q3 I
end;8 n& N; h7 `/ U+ o

9 ~6 S: q5 P/ f) O2 bprocedure OnChangeState (aStr : String);6 ^% K# w3 p  \* [- B
var
# \* ]% p6 R; _4 f$ v$ k   Str, Name : String;
; b* g+ @8 Q2 S! `" ybegin
9 }: s0 A6 z) L1 k* K- f: w+ Q( d   if aStr <> 'die' then exit;
: v. k7 j1 R" X0 T; h
/ v; ?  t4 s. L2 e- q   Str := callfunc ('getsenderrace');
6 P+ f  S2 q6 M1 s   if Str <> '1' then exit;% {* z2 ?  P# A, L. o  f

2 U% J5 f" p  G+ S' J4 w   print ('say 回去再修炼个10年吧50');; u( p3 f$ e0 B" I" R4 c$ u. l  M
   print ('say 到那时我在用双手跟你打 400');1 B8 R* L% r( u2 H) I6 ?% E
3 G% @, l% O1 @0 Z4 H$ J
   Name := callfunc ('getsendername');5 t& q. b- j4 K" K$ y
   Str := 'movespace ' + Name;
" L; T# `' P: H# ~& W   Str := Str + ' user 49 106 55 600';# M2 P* S8 R$ q' P- t( ^
   print (Str);
. R1 i7 [  |- x* ?
, T) ^; d* F1 R* {   print ('boMapEnter 50 true');   $ H" D( t7 O4 o* ]
end;
% X& l) Y  `) j# U  j
4 [$ @6 V8 L" T* }end.
+ L" a- @3 J) q9 A5 Y! N$ {
8 b6 q- }, P! f- M6 B: D---------------------------------------" M& q! y' z2 ^4 M# \: \

" P/ W6 R6 l  W6 @unit 一级牛俊;1 w6 Y7 ~& h& C

5 V# q3 `0 b0 m: ~% Hinterface
! s$ u% {4 E* E; G5 G% S1 ]# u+ W7 q# p: S( X3 P
function  GetToken (aStr, aToken, aSep : String) : String;
; ~. Q. u! R  b& m' Afunction  CompareStr (aStr1, aStr2 : String) : Boolean;( l% E8 t/ o$ ^/ t6 Y2 X; n! v+ D
function  callfunc (aText: string): string;. ]: ?. M3 y! `! G+ g
procedure print (aText: string);
4 N8 Y6 @5 X2 G: J1 B( z) }' R8 \function  Random (aScope: integer): integer;  w2 L! A$ [( g8 J* n% u7 z) D
function  Length (aText: string): integer;
' o( }+ ^3 e  d% e. vprocedure Inc (aInt: integer);& x5 _# O9 }- ]2 K, ~  X
procedure Dec (aInt: integer);$ m# Z- h3 G+ |$ t; T4 @
function  StrToInt (astr: string): integer;
+ f6 z, L3 v  {# W& f  y2 Efunction  IntToStr (aInt: integer): string;% |# o3 U3 i$ @4 c8 k. q: K( Z
procedure exit;
6 T4 p* \6 C* {7 H/ p4 t6 ~! {/ X# T  l0 j
procedure OnCreate (aStr : String);
* Q  F  }  u5 o; ?procedure OnDie (aStr : String);
' i. F) }/ M  t" F/ W6 k  Kprocedure OnChangeState (aStr : String);6 \) [- x) p0 Z  R' A
procedure OnGetResult (aStr : String);: k% \! n; O" n, {% ]! J( x; v
1 t: s; K! T# v8 n0 N9 N  h+ A
implementation2 {( E0 ^  L8 {9 y7 _+ a
# D! \$ f7 b5 a" \& Q; E
procedure OnGetResult (aStr : String);8 m% }- W1 ?  K. r
var* m) c6 @+ @* E7 T% Y/ T
   Str, Name : String;
3 d: ~" W" m) ^& p, z, l# L   iCount : Integer;
! ^8 ]  v- v( \2 |4 a0 gbegin% `" V. i5 Z% [. O% ?
   if aStr = 'start' then begin
% E# a, w0 D7 D, x1 j7 b      Str := callfunc ('getsenderserverid');
1 @" T# s7 Z$ G+ k      if Str <> '52' then exit;
7 c0 a  z  s' r0 u  v
  l9 N! m7 l2 j7 `8 m' i' p3 |: b      Str := callfunc ('getsenderrace');  Y! \7 p& t0 \2 M) @
      if Str <> '1' then exit;1 P- o2 i$ K+ k

# Y$ H- ~! X7 j" S: E/ B2 Y6 G      Str := callfunc ('checksenderpowerwearitem');  N0 _( _" f- {% z* s
      iCount := StrToInt (Str);
- }" w. q3 r! P" Z1 j      if iCount > 0 then begin
; H) B8 ]: l) ~: d7 U         print ('say 请先脱掉带技能值的装备!');
4 J1 ~) E6 S$ l8 a' I& B         Name := callfunc ('getsendername');9 s- y( v& @0 H* C1 `
         Str := 'movespace ' + Name;* {# |5 U. k7 q. F- k% x* K
         Str := Str + ' user 49 106 55 100';; B1 E" C& m/ Y. [9 N8 K/ q
         print (Str);
/ }" A: q* o% Q         exit;
7 {  y/ i) N# g$ V) d      end;( U9 U# P9 ?3 Z$ A3 Z3 h* x
      Str := callfunc ('checksendercurusemagic 0');! ]. ^' _0 \' r1 g
      if Str = 'true' then begin, T3 ^! R4 ]  T8 d
         print ('say 选错武功了!');
# ]4 E+ S- f2 Z$ U; M  V4 y         Name := callfunc ('getsendername');
4 j: k' n% g3 Y7 c8 N         Str := 'movespace ' + Name;: G% c, \( V) s7 k6 d9 p: J; q
         Str := Str + ' user 49 106 55 100';
* \$ n, H7 E! d0 C! g# q& A( M. M         print (Str);( J$ A  a9 P( m# C
         exit;: U6 {& i2 T$ y2 M& s$ @
      end;1 N+ v% g) b$ A; O6 C
      Str := callfunc ('checksendercurusemagic 1');. N7 ?/ I' ]5 k5 ~: s
      if Str = 'true' then begin/ y% a" m3 H. }% Q' O) X
         print ('say 选错武功了!');
8 e  e& \/ y& K         Name := callfunc ('getsendername');
* J3 U4 C2 D0 M: S$ s         Str := 'movespace ' + Name;
7 A9 _: q& r) Y. j         Str := Str + ' user 49 106 55 100';
" O/ ^* ~& p( G         print (Str);
5 S/ ^2 ^8 G6 R* ?* T1 s& q' d         exit;
9 Z+ D9 Q' C, k  H  J2 q      end;
/ q7 `5 d2 E4 y* t7 H2 w$ \5 ]: X9 {0 O2 \) T) g7 i" B
      print ('directmovespace 一级牛俊 npc 52 20 18 0');
9 A$ \% v8 h; {, o  K5 p; ?1 r4 P: ^+ z
      print ('commandicebyname 一级牛俊 npc 500');
% X" l& s9 c' s7 }& w3 q. l      print ('setallowhitbytick true 500');      
  C- P$ S5 C' ~  t& U, s
3 s$ ?2 f2 J/ k3 @6 D& n  K; \      Name := callfunc ('getsendername');
9 v/ i9 F+ \- O* S      Str := 'commandicebyname ' + Name;
' u7 o0 |8 J* w" g; C      Str := Str + ' user 500';) }# m9 v. ^, Q; v7 I4 E  U
      print (Str);
/ p% {& z" }0 h. m' y- D3 o8 h+ C4 `0 K- v. ]# \( @8 T
      print ('senderrefill');3 G' `' Z2 r9 O( Z4 M

3 F9 x3 \2 a5 V% [! H+ F/ w      print ('say 10如果10秒内不能将你搞定 50');: A8 C$ o( x9 e! C! _$ x* v
      print ('say 就算我输! 400');$ k4 x% ~( M7 W8 K5 X" k; V
      exit;
. a# U. F3 q- _/ f! s$ y   end;
' S  i7 r) s9 Qend;
- h! ~. t) j5 J  H( r9 u9 Y+ Q: E& ^0 Z. c2 G6 R" i
procedure OnCreate (aStr : String);
, U6 N5 f# _9 R0 r* @var+ e& n( i6 s3 n) n$ T/ i
   Str : String;8 u- D/ O+ B4 ]6 |8 c# ]9 k
begin( G, G/ S1 j5 n# Q. J
   Str := callfunc ('getsenderrace');6 u  v6 w6 Q% w$ }
   if Str <> '1' then begin2 l' M7 p) j4 x: v7 \' T
      exit;/ N% R6 D5 @. {) I+ q* a  z& Q
   end;
. |! ?( C! {6 A) h# Z
2 e/ m4 Q) n+ ]' n8 ?% a6 C  P6 @6 i   Str := 'showwindow .\help\一级牛俊.txt 1';
% `2 }, e( Z" b' }" C$ Z   print (Str);
# |* A: k5 `* F! f. ^9 d   exit;/ z# g" d4 o( X+ l
end;
' S" I7 e$ o' {
" a; _3 n1 _5 T8 M  p: Zprocedure OnDie (aStr : String);
5 p( D/ M1 Z! v: V3 c. kvar) K6 T9 ~- B  {6 C# w/ A) s
   Str, Name : String;
. t% W; X0 ]% [( v1 Q; e" l' u: B5 j   FirstQuest : Integer;   % J, K4 ^, }8 r! H
begin' P  l3 r: N" f$ U) R
   Str := callfunc ('getsenderrace');
/ S4 ]$ }% k, g( S; p9 C+ j   if Str <> '1' then exit;
% i1 Q% S6 O; `; k7 h* s
$ _9 W! c& D: E; v% Z! P   Str := callfunc ('getsenderfirstquest');, p: k5 ]$ d7 |
   FirstQuest := StrToInt (Str);
: c$ }' {8 M, A. p! V% A  [3 P% e
   if FirstQuest < 4 then begin4 Y# f  T2 _$ d  f+ o
      Str := callfunc ('checkenoughspace');! J% x, O4 P7 R/ \) M
      if Str = 'false' then begin
( @- ?: _+ o3 @) B5 Q, i5 L4 U- T         print ('say 物品栏已满...');7 S3 O  N8 h, I
         exit;- ~1 }+ J! u5 [  J' U
      end;  Z; r2 m/ T) S2 _) L4 G9 n6 V3 ^
$ s6 }! {$ c$ o6 `6 n
      print ('changesenderfirstquest 4');
; [! e9 ~; @/ G" c( {      print ('putsendermagicitem 新手训练大斧 @一级牛俊 4');+ L$ w( ]: c+ D' o( z" y! E
   end;" Z3 S' K, G7 l& v: |5 I9 ]$ s

  D- r/ g9 w3 m( d- h9 s8 s6 z   print ('say 什么_不敢相信!! 100');
2 R+ S" `* E* f+ E0 H
0 X6 k- P; _9 s   print ('mapregen 53');
( v+ s& w# a: b9 H6 d' L( g! D4 z3 o% s0 h8 [9 W
   Name := callfunc ('getsendername');
3 O- `# {1 q6 f! P6 S   Str := 'movespace ' + Name;0 H/ Q0 w! t8 C' Z& ]3 k
   Str := Str + ' user 53 17 18 500';- b$ r9 t% {$ T- s7 g- ^
   print (Str);
0 Q; G. _$ H" iend;: v1 G" O8 G( `4 z$ d% @% O

& G# {4 h6 b& d0 I5 H* w+ f0 B+ Vprocedure OnChangeState (aStr : String);$ B" e" R3 b  g
var
# l- e1 Y* V: h! n# W   Str, Name : String;8 Z5 {7 d" B! A) _6 Y& l5 i: Q
begin5 H7 ]7 E7 A' I2 t# O
   if aStr <> 'die' then exit;
1 k+ k4 Q" j' }' p2 [1 k; x1 j7 O$ i6 ^! r
   Str := callfunc ('getsenderrace');" n0 A8 V& E! N# _
   if Str <> '1' then exit;
6 g. j5 b6 o3 n5 d7 p! s+ \% Y: x7 E1 ?" ~7 i& W8 E; ^, c
   print ('say 领教了吧! 50');2 ^0 k  V& R5 q: y
   print ('say 差远了... 400');
& G9 G; O; s6 P; }3 c3 b6 H/ d
   Name := callfunc ('getsendername');* l- b1 s$ V5 j/ A9 r
   Str := 'movespace ' + Name;
! i$ Q9 e( d/ c6 u  w7 b6 L   Str := Str + ' user 49 106 55 600';+ Q: [) z9 Q* X4 _4 k9 S6 y
   print (Str);
; A4 ?& f( s% i" \2 M' t7 f* {end;" Z% x2 e7 m% q: Q4 Z
* v) _6 s  Z4 L. e# r1 Y
end.( m, o: l/ u: F* I6 n- S; R
----------------------------------------: a3 k/ q2 h7 X/ q, ~; n# @
unit 一级雨中客;
' P9 U6 c- `+ X# g" c3 P$ J8 J9 k) N" U$ I0 h+ {
interface
4 M+ L; V' Z# A6 B
& E7 m6 e+ |/ @; {# {6 ~% x& \function  GetToken (aStr, aToken, aSep : String) : String;
9 `# a* Q3 E, G( O# Z3 qfunction  CompareStr (aStr1, aStr2 : String) : Boolean;! v/ t' f- {  l9 Q9 g
function  callfunc (aText: string): string;
/ f* H' S0 Z  a& g7 _7 B- ]# Z+ Z# Qprocedure print (aText: string);
4 u. t- h7 Q) n# E! Q# i" Gfunction  Random (aScope: integer): integer;( K9 V" C# X3 P, L5 ~2 A
function  Length (aText: string): integer;7 P4 {/ R; @7 p7 b
procedure Inc (aInt: integer);$ c: ], ?/ n/ U# |
procedure Dec (aInt: integer);$ Q2 ~- m, f  d1 f9 U! x+ \7 ~- t3 b
function  StrToInt (astr: string): integer;/ ~  {0 ?) X8 W; ?4 V3 ]  Z
function  IntToStr (aInt: integer): string;- V' h2 k7 u+ E
procedure exit;
9 k, z- j! }, C0 a, S, B
& f  h9 B! R% X3 X8 kprocedure OnCreate (aStr : String);$ R8 Z- @7 @& z9 Z
procedure OnDie (aStr : String);
" j9 o% n0 U! Hprocedure OnChangeState (aStr : String);
0 j9 l' |, o" x( \) r; Nprocedure OnGetResult (aStr : String);0 B' @/ k+ j8 c

) B) W% m, _4 V# H3 ^# s3 S4 d; iimplementation
0 p& ~6 Y- i( \& e( Q/ o5 Y
- u# {& S7 r4 L2 |, N1 [procedure OnGetResult (aStr : String);- w4 B' k9 K+ T) j9 y) }
var
2 X& v" _6 t0 N   Str, Name : String;
' |# g1 t$ W& B5 i   iCount : Integer;
4 P, a! G! K7 J2 @% g5 F# ?9 I6 Mbegin
  T! d& z, n8 S2 C   if aStr = 'start' then begin, ]( B! _  A8 A
      Str := callfunc ('getsenderserverid');  V1 @% x( u! s4 g3 C+ e0 V- r
      if Str <> '53' then exit;
: H0 @" ^" |4 h- \, V& U, J  W7 L, q- ^
      Str := callfunc ('getsenderrace');3 c0 ~5 X( g0 p) }5 X) q+ C
      if Str <> '1' then exit;
2 D0 l) h& p: G) F) N- ~/ g2 ?$ w( b# `* U
      Str := callfunc ('checksenderpowerwearitem');  z8 u6 ]/ ?! L/ v" i* f, X$ |9 U
      iCount := StrToInt (Str);7 `$ l) c9 Q: y* s
      if iCount > 0 then begin7 i. f/ _- h( |$ E& q! k
         print ('say 请先脱掉带技能值的装备!');8 g2 ^& s5 K7 x7 d7 \+ L
         Name := callfunc ('getsendername');0 H6 d5 b' C# z' f6 w3 o7 f- ^
         Str := 'movespace ' + Name;
0 X( L: ]/ N* {7 e6 l7 v         Str := Str + ' user 49 106 55 100';
6 s: A. ], \' R9 c2 \6 {         print (Str);
/ j, z8 I: I( _* s         exit;5 n/ Z3 H, U5 R/ q
      end;" M* E$ @/ Y# C4 x; L
      Str := callfunc ('checksendercurusemagic 0');: w! n9 F9 H( O  E! {
      if Str = 'true' then begin
& y1 e( q4 n. V         print ('say 选错武功了!');
* m4 W! p5 @4 d  K7 w& z) Q         Name := callfunc ('getsendername');! D) {4 o( o" M+ _( r, G& N5 L4 b, i
         Str := 'movespace ' + Name;
( ]# ~7 j  n* o% ^' I# e         Str := Str + ' user 49 106 55 100';/ b$ J3 s, M4 h) F+ P8 k* E* f
         print (Str);
7 j- K% _1 z1 s         exit;
( K7 J; \) w. Y  n$ n& j& G      end;
9 D# X) d* r" B: f. p# ^. @      Str := callfunc ('checksendercurusemagic 1');& B. O: ]4 f5 R- J2 G
      if Str = 'true' then begin
4 X7 @; P2 [" s7 Z$ {! n3 _         print ('say 选错武功了!');
9 r  W2 |  ]+ n" p. t         Name := callfunc ('getsendername');; Y# p& U- {) Z; S+ z$ f  r9 @
         Str := 'movespace ' + Name;8 U1 L2 s" ~( x; }9 l
         Str := Str + ' user 49 106 55 100';
5 r4 q1 ?7 d3 s. M/ }         print (Str);
8 F3 M$ j3 G* `$ b: u: X* q         exit;+ p" K) x/ T* E. n0 a3 W% V& q* n
      end;  P* b& v9 u# n; g/ Y" J

% c) g1 \7 z8 ]$ q4 {      print ('directmovespace 一级雨中客 npc 53 20 18 0');
2 ~4 P, z; p1 ~4 O9 z3 q" G5 i7 A5 N1 L- p  z
      print ('commandicebyname 一级雨中客 npc 500');0 R: D2 I" M7 C( W: w
      print ('setallowhitbytick true 500');      
8 S: f! Q: H) y% `. ]
/ J/ P7 A( }$ V) E' Q3 D      Name := callfunc ('getsendername');: q" T; t0 \8 U9 l3 C8 m/ W
      Str := 'commandicebyname ' + Name;( @" \' r. X1 b2 E
      Str := Str + ' user 500';* N& o2 \+ S' G
      print (Str);
/ M) b, M( w* z, u$ j1 \! \  S( O% i& U3 I4 B9 r
      print ('senderrefill');6 \4 F6 Y# Z. W' H

8 _1 I" d7 s; Y/ A2 g& Y      print ('say 领教了 50');
9 g) H" K1 S% a$ @7 j* c0 D# E      print ('say 开始吧 400');# R5 F3 B0 u+ P! y9 G
      exit;8 j8 D* H- @; }7 n
   end;# X4 x; J2 J( R6 [
end;
. I. g$ q1 R+ h9 Q
9 i- T) n8 r0 }# V( Jprocedure OnCreate (aStr : String);
; T' S# z5 L1 S' r6 ]' j2 R% Bvar3 Y( i+ b+ d! \. m( b
   Str : String;2 f& g' E! s2 I  }4 R
begin
7 J5 S, h6 }6 w" R+ l7 R8 L   Str := callfunc ('getsenderrace');8 z8 ?' e. {' _9 z
   if Str <> '1' then begin
: c8 @' L4 ~( w0 d3 m) k      exit;" G1 x' q2 e2 F' U3 I5 s% q
   end;
! |8 z& Z) @# i, F9 L7 e4 P8 `. X6 o4 {; n7 d9 R' C0 z- ?  A
   Str := 'showwindow .\help\一级雨中客.txt 1';
" n- e/ I9 R! L5 d) m   print (Str);, x1 G4 G, `6 X4 g' P0 u2 i% ]
   exit;
5 e/ r1 y6 O( C8 i9 qend;
3 K6 D- I* _( |. D- @
, t0 A# ~# L' b" n% y- Dprocedure OnDie (aStr : String);4 q# D7 ~1 i  K2 T5 S& @4 q
var7 e% b& F! Z* N. C. F# \
   Str, Name : String;+ X* F1 X) I* \: J* U( c% [
   FirstQuest : Integer;
1 j& [4 p9 z$ d! h! Hbegin6 c8 `) d# u$ ^( n1 a' z3 S; [# _
   Str := callfunc ('getsenderrace');8 W  I% E' N' N9 }+ h9 e  `
   if Str <> '1' then exit;0 U* R0 D9 K. Z) ^( @5 f
% j9 Z# f4 Z$ v* D- @  K
   Str := callfunc ('getsenderfirstquest');
, `1 N% U3 U, x% t$ h   FirstQuest := StrToInt (Str);; }( Y% _$ ]1 C" V

7 j: M8 h/ e4 D/ o3 `2 W: `   if FirstQuest < 5 then begin
) m3 T5 g: |, Z% i      Str := callfunc ('checkenoughspace');& T/ @" ^+ v1 t% |' e6 Q- }1 N
      if Str = 'false' then begin
- \4 |; T! z1 y; a- O/ |" o         print ('say 物品栏已满...');
8 }3 `$ U8 Y" T" a1 d" |         exit;
! r7 s3 s. }9 |3 F  {8 Q6 Q+ V      end;, t* U+ H* a6 N# ]
& \, ^, ?- ]& t, [1 Z0 f- j( ?
      print ('changesenderfirstquest 5');
6 q, ?6 b( }/ J0 O      print ('putsendermagicitem 新手训练弯刀 @一级雨中客 4');
, |* l9 W) p1 D5 g   end;
3 y+ j" U1 T5 t$ k9 O4 \) e+ B- m$ t" Q" p6 a# D  [0 }
   print ('say 早料到了_佩服 100');
% M: Z- ]5 Y2 m1 `+ i# B
- W7 q7 W8 v2 X1 J" i6 U  Q   print ('mapregen 54');
9 ]4 y% ], D/ n
3 c2 n) [6 {/ w6 U+ }   Name := callfunc ('getsendername');) Y. U9 j4 c$ J- F* }/ p! M: M  @
   Str := 'movespace ' + Name;
! }8 F' F" h% p3 F   Str := Str + ' user 54 17 18 500';
( b' d! B# `2 g   print (Str);
/ G* X7 K1 L4 b6 x& S3 j# ^end;
# _' y5 K4 n: A+ H! j( t4 e' F0 G; F  ?1 M2 ?% T4 S3 w
procedure OnChangeState (aStr : String);
4 k7 F% I2 e# |. |* n9 ?var  [" T% b$ z& P3 ^1 ~9 ~
   Str, Name : String;  b4 Q, x; G4 Y- P$ L
begin! d; ?8 ?( N# n& y% I& R' |: X
   if aStr <> 'die' then exit;0 F' P# B- S) ]

" F; a# S8 C7 J% L   Str := callfunc ('getsenderrace');5 x& a* ], w! s- f
   if Str <> '1' then exit;
/ V2 E0 I8 b# x2 r) m0 z% v" `9 S+ B* x4 N
   print ('say 不错。只要能维持几秒钟');, b# `7 w$ T: e% [# a
   print ('say 到那时谁都不是你的对手 400');
/ f$ T9 i/ U3 X1 ?2 o* R+ F2 \- s
) ?5 o9 s3 C$ R0 R: J9 R   Name := callfunc ('getsendername');" H6 o( }$ K4 I
   Str := 'movespace ' + Name;; \: F2 _6 `6 i- _
   Str := Str + ' user 49 106 55 600';
( r$ A( `3 K# n) u# j& l$ o   print (Str);  r* r9 W- j  f) J, _
end;0 Y4 U0 X; ?2 R% |  X1 W
) W1 y& |% }+ O! f
end.
  ?& `" u4 w# d: t* ^* F+ r0 y- F  P5 Z1 X" w% D0 Z( X1 }
--------------------------------------------------------------------------------------------------------------
  f4 x$ ]$ b4 `4 J: y  l& a
6 P& Y0 I( f9 Iunit 一级老侠客;
3 G- o8 m5 |& U" P- x( l, n- G; h% x. b- z( m! y
interface% j$ F5 a! q" P- ]
( j3 g" \6 A! f" N
function  GetToken (aStr, aToken, aSep : String) : String;+ F& n$ t2 v$ [
function  CompareStr (aStr1, aStr2 : String) : Boolean;9 e+ i( Q: p2 K4 M
function  callfunc (aText: string): string;! \0 o# w" P8 }3 F2 z2 G# [
procedure print (aText: string);
. E+ t5 I/ s* {' efunction  Random (aScope: integer): integer;
8 H0 b2 n) v8 _( zfunction  Length (aText: string): integer;
6 {" l, [" x1 L+ X+ m* u' o; sprocedure Inc (aInt: integer);) ^+ K$ _3 r: A) ?+ T8 J9 b
procedure Dec (aInt: integer);
, u0 Y) y5 }) D7 g. Ufunction  StrToInt (astr: string): integer;9 B2 s9 x& m9 N( {1 e
function  IntToStr (aInt: integer): string;2 F/ o6 p$ N: z3 c4 M5 G% t/ E
procedure exit;
2 ?& v% d  k  W* G5 j2 x$ c5 O
* s" Y8 e. ]7 u6 [+ J  {procedure OnCreate (aStr : String);8 a  _' o4 U9 C
procedure OnDie (aStr : String);
, x$ C" l9 X; T+ tprocedure OnChangeState (aStr : String);
, ^8 ]8 v- V. ]procedure OnGetResult (aStr : String);
) G1 F. X. e3 y  ?8 D2 F
2 n& H5 y  }: ximplementation
; Y+ J/ [8 H$ g6 U5 p; Z3 \) m- t6 Q( K; u7 H2 A- L4 y
procedure OnGetResult (aStr : String);
( b5 |% E0 j" f- E7 k& z3 Yvar
. a8 {) G% e: f5 C5 j   Str, Name : String;/ _6 m* i1 ~+ \: n1 |
   iCount : Integer;   
  O8 j, r8 P' [- \+ ?3 [begin, U8 t0 c7 Q  U9 _5 E
   if aStr = 'start' then begin
% m  |+ ~5 v" W' r$ Z$ [      Str := callfunc ('getsenderserverid');
% ^6 t! p: N- O" ~% |8 h& S) z, Q, [      if Str <> '54' then exit;
: S+ ?; P! b- M, M+ a
- p2 ~* m# N  J0 y$ f9 [; R8 X4 M      Str := callfunc ('getsenderrace');
" v7 a. h5 A# L) g      if Str <> '1' then exit;
; i# R: J" {* Y5 F3 M, \
8 \' D$ O% z( q" [7 k2 q      Str := callfunc ('checksenderpowerwearitem');
  Q! D/ q, Z9 j      iCount := StrToInt (Str);. @4 q9 C: E  B" |
      if iCount > 0 then begin% s" U$ c0 G! S- o! y% {/ u7 S
         print ('say 请先脱掉带技能值的装备!');
5 k# H# R3 J$ ~! g  w& K6 }         Name := callfunc ('getsendername');% z7 T, {0 }# {5 y6 b
         Str := 'movespace ' + Name;$ J7 w" g; h1 l0 z' W
         Str := Str + ' user 49 106 55 100';  c: w4 _! {& H
         print (Str);
) i( \  P$ N# V2 o; G$ |& k0 Q8 V         exit;
, z/ X8 J/ X# y      end;
% c) j, q- K$ o4 w" s      Str := callfunc ('checksendercurusemagic 0');$ F7 Y8 V& M6 V$ \/ _
      if Str = 'true' then begin
* t8 {3 D: d1 G. C+ m8 J( y         print ('say 选错武功了!');
1 n. e6 J* Y- _0 q. d* a         Name := callfunc ('getsendername');8 s( |" q# e( J  N, _2 j$ u; Z% x
         Str := 'movespace ' + Name;- }6 r: s& ]. T. B- ^: P( v" N" R
         Str := Str + ' user 49 106 55 100';' p. M( a8 M/ d; d3 r( u* I
         print (Str);
0 Z/ H! L  B! n( f& H& E  Y- [( l; r, ]         exit;
2 S  k9 m: V  \, |! h" ]- U$ k      end;' n; g+ V9 n! C, b" Q
      Str := callfunc ('checksendercurusemagic 1');4 b: a* ^  p# {2 W" f, `! _; r
      if Str = 'true' then begin; l1 s& b- S& L/ s1 L$ p
         print ('say 选错武功了!');3 C% f" i: Y3 M2 `9 ^* h
         Name := callfunc ('getsendername');
4 J" \; P5 ?. r" @         Str := 'movespace ' + Name;# d- }+ L9 {( r* C1 U
         Str := Str + ' user 49 106 55 100';
6 m5 O6 M# ?" m3 B- O/ P' v* j6 c5 O         print (Str);
; ]3 a* a8 [$ ~6 ^         exit;
+ b* w/ ^7 [8 g      end;
( _/ H2 q; \5 [# R: x, k  M2 z" x' a7 q& I2 Y# y% L
      print ('directmovespace 一级老侠客 npc 54 20 18 0');7 {+ |2 ?5 n$ Y) [4 M/ m* f

6 P1 I* Y& H5 ~! B      print ('commandicebyname 一级老侠客 npc 500');
* c- ^+ s% n2 S% u1 c+ F% l; M6 P      print ('setallowhitbytick true 500');      
6 t' t; x: A! u8 i7 v( Y
- m& [+ t1 O3 A" n& i" P      Name := callfunc ('getsendername');" a( V/ `0 [8 w, `1 b2 K+ P) [5 \% J0 ^
      Str := 'commandicebyname ' + Name;# t8 M) n; A4 m' K
      Str := Str + ' user 500';% @0 _) ?6 r4 S; ?! Q4 Y
      print (Str);( e8 i, P( c# T
* W9 ~6 y" g0 B$ q% X3 |( b& j
      print ('senderrefill');
" F. E* L! T. l& w8 y# K& p4 X1 ~( Y0 H; M2 Y9 q3 g
      print ('say 如果你实在想比 50');) l* z2 i. Y; l: C/ O
      print ('say 我将奉陪到底 400');
2 P* j' a' `# l$ C* g      exit;
' n3 d- z0 O! W" {8 V# R   end;
: h8 `: t2 e+ M8 G0 Yend;) i% ]* x7 X1 H5 j0 c& Y+ n. e: `% S+ w
$ i8 t: \6 s. X9 Y6 E7 w* R
procedure OnCreate (aStr : String);
% G  n. I& {6 v% t. Mvar3 G, k$ v8 w& A0 o# l* b2 i
   Str : String;9 y, R- ?8 @) ^5 g: e: h
begin
/ o  l% L6 b( k) O& j. g   Str := callfunc ('getsenderrace');
) ~& m, o8 W% _* V9 m4 z$ l   if Str <> '1' then begin
% z; E5 b' G& ]' m9 h* ?2 i      exit;: e' b! y( m" A3 y* z* T
   end;
1 G3 K2 w9 D6 {8 k2 Y+ x3 E7 R* g+ d9 e  B
   Str := 'showwindow .\help\一级老侠客.txt 1';5 x  `+ b0 G7 [0 A
   print (Str);8 N! X- X- \( r6 O! @
   exit;
- p/ E3 _/ O' V0 T1 m! I1 eend;( P9 G/ W- s; C% f" X; e" C+ W4 z; o
& @' t% {, L9 _6 Z4 ~) V" H, t
procedure OnDie (aStr : String);
! d9 r% y3 E$ u6 l4 D8 bvar
, Y6 G, G, e% q3 m$ j   Str, Name : String;+ }2 p; M- @( L* _7 G. y
   n, FirstQuest : Integer;   
' n. O/ C; ?* [% b7 {( |# ^; v$ B( bbegin
1 j" I" b3 c0 i- U2 d* T   Str := callfunc ('getsenderrace');1 h; s  H9 U9 b( E
   if Str <> '1' then exit;
6 I) {* x4 }& `& _! Y
3 t* j9 p7 T, X5 Z" K$ P   Str := callfunc ('getsenderfirstquest');; S% i4 N+ O5 C! B5 D# _
   FirstQuest := StrToInt (Str);
4 N4 N+ r, M3 n4 K+ E1 x
3 f! ~& Q$ Y  X+ f, ?% p& C1 Y" }   Name := callfunc ('getsendername');  l9 H. \& M7 E
2 X- k$ w: m% M+ n1 z$ m2 H: U* x
   if FirstQuest < 6 then begin
8 s4 [) v& g" @% g! {* x' ~      Str := 'sendsendertopmsg ' + Name;9 g, {; @0 L3 R% ^  L2 G( U7 N+ u
      Str := Str + '恭喜你,通过了所有的比试,获得【侠客弓服】';
2 Y8 }0 S) o9 M: D      print (Str);
4 R  k% j0 \" ?' ~! L
2 v5 ^0 V1 \) S. V: ?      Str := callfunc ('checkenoughspace');4 a- O7 Z% h* t' o9 D
      if Str = 'false' then begin
5 ^" F7 y3 I1 e1 c         print ('say 物品栏已满...');
9 m+ [/ O) [% O+ h         exit;
7 M; S; E9 c6 `3 l3 Q/ Z( {" s      end;2 i" N/ e) \- @3 k2 Q

) S7 j% ~. C. R      print ('changesenderfirstquest 6');$ Y3 X, j/ }: ?. w! `
2 ?8 W3 {0 F( R  O- D6 L
      Str := callfunc ('getsendersex');  ]# t" u- B$ `- r
      n := StrToInt (Str);
) O6 H1 J! g+ U+ F      if n = 1 then begin
+ a) `7 d: [' q5 r5 e: Z. t- d5 W8 W         print ('putsendermagicitem 男子侠客弓服 @一级老侠客 4');
2 r& w8 M7 L, q+ a      end;
, }' F: {9 @8 x. M. `      if n = 2 then begin
. x) W* J0 s  Y8 n: b3 j8 T         print ('putsendermagicitem 女子侠客弓服 @一级老侠客 4');
# F( Q9 Q% `5 d3 k      end;
0 m: A7 m4 Q+ U4 w$ Z6 e; N' ?         print ('putsendermagicitem 新手训练神剑 @一级老侠客 4');
- e0 |0 z3 x, ], G1 ~) l! F: B   end;
4 ~, l6 ]+ Z: F3 H" c/ y1 U0 D5 i3 L7 O/ l# {- N+ o0 K4 a. n
   print ('say 佩服_佩服 100');/ k0 A' w, s3 W( e

( z. R7 Y) B- n   Str := 'movespace ' + Name;9 @" ^! o3 b# i- }: m# @) Q
   Str := Str + ' user 49 25 35 500';$ M; F& v% }1 G' m4 P7 ^
   print (Str);
' o8 `4 ]' C8 Q" S/ D2 G/ Dend;
8 t3 z- Y( }8 q+ s* V; l/ Z
- j% {0 I$ L" f5 \! X: O1 eprocedure OnChangeState (aStr : String);# U0 K; j1 ]( c' G
var
4 h; R% ~& _7 N9 w7 y   Str, Name : String;" j, Y: A& b) j9 Q' s  |" ^
begin7 R0 D. n) h8 P' p' J% A
   if aStr <> 'die' then exit;5 l/ ^$ I% x. q: \- Z

( I: ]- @: w- n$ k- i   Str := callfunc ('getsenderrace');
0 G2 M  a  ]9 Q9 V4 O8 D   if Str <> '1' then exit;% s  G  j- |! n) ~* p0 K+ p
' C2 @) L% T7 E6 U: v+ Y
   print ('say 小小年纪_就有如此高深的武功 50');
2 b. H+ z. L. k4 A9 d# j' Y2 O   print ('say 日后要继续修炼... 400');
3 ^0 Y7 Y; y5 o/ Y8 s( k
1 s# L! O* @+ H0 [, Y   Name := callfunc ('getsendername');
5 A: o( C0 R3 Y+ N   Str := 'movespace ' + Name;  B# |1 T/ T5 D# P) L2 `5 p
   Str := Str + ' user 49 106 55 600';
; R) n5 Y8 n& w) K9 `; [   print (Str);. r2 s8 j1 H% N9 D
end;
8 |0 [) n8 S) T, S. X+ l. ]6 @6 ?' d8 d8 f
end.
# r# D: L) H' T! s
! [8 X- j) K* M8 q! ~6 Q' c9 S4 C-------------------------------------
5 Z  G& p9 o) ~3 v/ x0 S( P( ]
: j* _* R: l% s. M************************************** F; j8 {) f; m2 ^" q
/ |+ C- O5 ?8 Y
奖励物品代码:
3 j8 j% P% s2 d- T8 w) q) J
# ^0 h7 R1 N, w*************************************& j/ D) c' u5 I  m: @7 ~

0 o! L' l8 V7 f- @男子侠客弓服,男子侠客弓服,24,新手村擂台战利
% a9 m" ^% A/ Z1 S5 K) b6 w9 A% K/ X' m; u
品,2,,,,,FALSE,FALSE,181,6,7,,,,1,1,1,,50000,,,,,,4432,4831,TRUE,,10,20,,,,,,,200,100,100,10: M6 d8 M8 v! P

3 H+ n/ t8 r& C& i; v$ \$ @0 ]# h% _' h0,,,,,,3,TRUE,4,,FALSE,,,,,,,,,,,,,,,) v( z) h+ G# _4 r& A" _
女子侠客弓服,女子侠客弓服,24,新手村擂台战利
& Q* A- h6 J' H2 U; j
' m, i  X3 g5 F% v5 K品,2,,,,,FALSE,FALSE,181,6,7,,,,1,2,1,,50000,,,,,,4432,4831,TRUE,,10,20,,,,,,,200,100,100,10
6 L5 B: v8 _& I# B2 C1 q3 v5 S0 ]6 [% }6 b. Q# L
0,,,,,,3,TRUE,4,,FALSE,,,,,,,,,,,,,,,
! ~" D- ^8 J$ h: M' Z, y新手训练拳套,新手训练拳套,6,新手村擂台战利
9 _+ e1 k( b* {  t5 t* g. ~+ |# T9 \7 t
品,1,,,,,FALSE,FALSE,361,9,52,,0,0,1,,1,,50000,50000,,,,,4404,4805,TRUE,20,20,20,,,,,,,,,,,,/ ^& [( J: J" ]

/ h; P" C7 S+ p: B( ~# ]; ~+ c,,,,4,TRUE,3,TRUE,FALSE,,,,,,,,,,,,,,,
3 w3 v" _6 X7 m/ y0 m$ ^, R新手训练神剑,新手训练神剑,6,新手村擂台战利* K5 o9 R. D$ j  n
: u% j6 E) N3 E$ |( J
品,1,,,,,FALSE,FALSE,365,9,69,,2,1,1,,1,,50000,50000,,,,,4404,4805,TRUE,20,20,20,,,,,,,,,,,,  ^1 ~; X, b% F5 A4 h

0 n; |: J/ F" ~4 O$ p,,,,1,TRUE,3,TRUE,FALSE,,,,,,,,,,,,,,,
' E2 E+ u$ ~6 k新手训练弯刀,新手训练弯刀,6,新手村擂台战利" A8 g, L0 W( z, F5 S4 W6 t0 y8 y
7 S3 i! ^4 X2 Z2 t& e
品,7,,,,,FALSE,FALSE,113,9,2,,2,2,1,,1,,50000,50000,,,,,4412,4813,TRUE,20,20,20,,,,,,,,,,,,,: @, E8 k" v: A

0 l! e! U+ H/ o3 t/ P, w,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,) R9 o) t. s- G! `3 g
新手训练长矛,新手训练长矛,6,新手村擂台战利# k% `6 N( Q5 Z' E7 j' _) z

! p7 K/ R1 h7 r. o% u' S+ y品,6,,,,,FALSE,FALSE,117,9,45,,3,4,1,,1,,50000,50000,,,,,4435,4834,TRUE,20,20,20,,,,,,,,,,,,4 Z" h, q0 C# y- P

2 e& ]0 `, n5 q* k1 |7 }$ a% r% T,,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,
# n7 O9 G- |1 O; L  A9 B' H新手训练大斧,新手训练大斧,6,新手村擂台战利9 z1 @& S0 k: b9 G

4 g+ y5 u- ^* _" L) e品,6,,,,,FALSE,FALSE,95,9,12,,3,3,1,,1,,50000,50000,,,,,4415,4815,TRUE,20,20,20,,,,,,,,,,,,,) O* M2 o) g$ q8 y

# `, K* b* }3 ]0 w) h& a. _" s,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,
7 X; ^- B: I1 k# Z' `
; b' F, E) i7 S8 G3 n3 g  y******************************************  h; D/ N! v2 z+ V. s
/ h8 k5 S9 R- X

& ?; i4 b& A. ~
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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