游客您好
  • 点击联系客服

    在线时间: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 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
新手村擂台脚本
# T. J$ l" n6 A5 ~: N6 n
9 P! ~8 Z. N1 c' M% k( K; o8 h# n0 ?$ d8 L
释放到同名文件夹下覆盖原有文件。
1 |5 |3 g* ?/ {6 R* \  [3 @1.Script 里面是任务脚本,把对应NPC的代码复制覆盖掉。/ H6 r+ m/ d" Y  ^* V
2.Item 里面是任务发放奖品的物品资料,把我发的加进去。( C& x) e; j8 l, r8 J) F. e* Q* D
(由11月23号发布的最新服务端修改)" J& p2 X& c( G2 G' {
-----------------------------------------
2 R! |3 A' K3 O内容介绍:+ b- \4 x* W% x4 u* B3 r
新手村比武获得奖励:
1 Z9 x5 E. f2 H4 V; G同使用何种武器的NPC比武,将其打败就能获得同类的新手训练用武器(速度20,恢复20,准确20,破坏0( y& b, c7 y$ b) r' G

4 ?6 @3 d# N' K8 H$ _# o0 S4 m2 n/ [) K1 a4 _
最后一个NPC老侠客,打败他会获得新手剑之外,他还会公告天下你获得了 侠客弓服 一件!(个人比较
9 k# Q$ T3 q( B5 d2 R3 Q" d; b$ Q5 W, d/ h
喜欢黑龙,所以是黑龙的加强版!). r# X+ \# |% z; s( i* ?! J. }
' G9 s2 I+ y' ^- h
[replyview], j4 o3 h. {; v9 z4 X& L; ~8 k

, b6 P3 F4 u6 q-------------------------------------
% H) u/ \1 D3 _; w$ r
" d$ l1 z# N4 O0 Z' k/ l3 H5 ]unit 一级梅花夫人;9 D2 }8 V& T" ]) v' t" u8 J
+ P; m+ P6 \" @. p; |( B+ [8 o
interface3 Z" @9 |& i3 T" [$ a/ ?1 V

3 y5 N! i; j, ?$ x9 afunction  GetToken (aStr, aToken, aSep : String) : String;$ A/ v2 p6 G5 [1 f8 c9 @  y* w
function  CompareStr (aStr1, aStr2 : String) : Boolean;. {5 R, e- L. T3 h
function  callfunc (aText: string): string;
0 r/ o4 l) U3 E6 _procedure print (aText: string);
3 v. o( z( n7 w- K9 o6 W( i7 xfunction  Random (aScope: integer): integer;9 n# `; Q$ c% O, {' R
function  Length (aText: string): integer;
4 |- S2 f# u: xprocedure Inc (aInt: integer);
) s( u. \) m: R; K, x% Vprocedure Dec (aInt: integer);
, d/ `) V+ I6 ?- p$ i; pfunction  StrToInt (astr: string): integer;$ G, `2 o# V  W7 Q# v
function  IntToStr (aInt: integer): string;
/ U# U  I5 I- M, Z/ X* G; Dprocedure exit;
! H. l3 q( V% y+ B8 `
/ _4 w- T8 C7 q/ Yprocedure OnCreate (aStr : String);
: u( n& {) n# @) nprocedure OnDie (aStr : String);" z! ~+ z* E" O3 q
procedure OnChangeState (aStr : String);  D' a+ L$ F& h
procedure OnGetResult (aStr : String);  l& @* c3 E2 h6 ^- L8 I
! H1 |) r; l: m# J1 Z. w
implementation& A( y- i* m* O' t4 E

3 e: K$ x  l; q9 s6 Bprocedure OnGetResult (aStr : String);
* t. {7 {+ u" z" y+ c2 {7 v9 xvar
4 _8 e5 F; E  d   Str, Name : String;2 E9 P/ `, {: T, W: a5 e5 S7 g
   iCount : Integer;
- j6 d- @: q7 O+ V5 Z2 h& b# }6 {begin8 w/ i  Y0 `0 [$ i. j  |8 m
   if aStr = 'start' then begin3 T8 r$ z4 l% G" Q
      Str := callfunc ('getsenderserverid');
3 \& [! b: N$ h$ ~      if Str <> '51' then exit;) j4 A* u; q" ~* V" I

6 m6 J8 ^$ U( t" Q  f& S      Str := callfunc ('getsenderrace');
  h' U+ ^5 g, ]. i+ q  e      if Str <> '1' then exit;
' {: M4 d- Q! R0 _: l* D* M9 \. M8 `  s; I$ s& T/ J  C! z6 B2 J
      Str := callfunc ('checksenderpowerwearitem');+ w& v% t, f" g  f
      iCount := StrToInt (Str);/ d( z* Z3 `- m2 K0 h
      if iCount > 0 then begin
! z2 ~5 u+ H1 j' I0 w         print ('say 先将带技能值装备脱掉!');
( E) e: {) H6 T* X' N# U         Name := callfunc ('getsendername');
$ V  e: O! n( M2 U- m1 L; u5 o         Str := 'movespace ' + Name;
7 i# L$ W$ L  [) B- u4 Y' m* x         Str := Str + ' user 49 106 55 100';6 ~) g/ O& w$ E) R! N, P; W
         print (Str);
8 O- ]$ I; f2 X  V         exit;
3 W0 Y4 n6 S% c" v, a      end;- l1 s8 i" k) y3 M" C
      Str := callfunc ('checksendercurusemagic 0');
$ }; K$ X% ^. P! _  V      if Str = 'true' then begin! s+ v& d; p2 g+ H. c
         print ('say 选错武功啦!');
' o/ |: D7 E- @         Name := callfunc ('getsendername');- C/ K; C9 u9 @/ y1 {
         Str := 'movespace ' + Name;
- |+ h) E6 p" f8 Z' a' n         Str := Str + ' user 49 106 55 100';4 k5 K0 ]$ G6 \$ f2 |
         print (Str);! t% E3 k% f+ N2 y) a3 m
         exit;
* f+ C. w( s: }+ q2 v4 E* F; O      end;; m! P/ n9 v9 T( T
      Str := callfunc ('checksendercurusemagic 1');
0 l, O3 i. R% F6 L4 w' ~1 {      if Str = 'true' then begin
8 O( \7 W; t  i; k+ |) y8 w" d1 g         print ('say 选错武功啦!');
: O4 ~. N: P' K, N( u' g* `4 B4 F) }         Name := callfunc ('getsendername');
, T7 u8 o6 ]5 A         Str := 'movespace ' + Name;
4 u, y4 l' a. `* V- `         Str := Str + ' user 49 106 55 100';* Z" _2 E- t! ~1 T; M
         print (Str);
7 ]( [1 c) ~' b( O# H  A4 Y: v         exit;
2 G- i+ h: r% c/ I8 n) D      end;+ Q5 g) G/ _( n/ o9 ^3 x1 G4 t0 P

% e% R' L4 v. n) ]1 ?+ t  u! H      print ('directmovespace 一级梅花夫人 npc 51 20 18 0');
; Z. \$ V) {" L( e. d
% E$ ~4 F* @! I/ q      print ('commandicebyname 一级梅花夫人 npc 1000');) r5 M2 Q" |/ _) R& o; g+ |
      print ('setallowhitbytick true 1000');
8 a: k9 ?6 D. J! Q- l
0 i+ r1 J  n" Y9 K      Name := callfunc ('getsendername');
3 o( P# k3 C2 P  u5 l. Z      Str := 'commandicebyname ' + Name;
, k/ N9 h. G- D3 @' M. {' U, N      Str := Str + ' user 1000';
' V/ n& c3 F+ t1 c  |/ M7 K      print (Str);
  a; R' c# O, ~9 ~+ m& q9 ]
  u' Q+ |( O$ }1 k      print ('senderrefill');
( W) s. s7 d. J: B$ W, ~# U7 |0 \. m: N! L9 C+ O: c* [
      print ('say 别害怕 50');
+ r3 I: y: L$ s0 x* j! e      print ('say 我会收下留情的... 400');+ N3 e  U1 V, V2 u  O. Q
      exit;, S& K( @' q. T
   end;
5 E  H8 J/ h$ w/ Aend;- @$ B* F6 t# e% F" v

/ {$ M* _- F" {+ bprocedure OnCreate (aStr : String);
! ^/ a. }( a# cvar
8 x+ A$ B6 Q& d2 u1 T   Str : String;6 Q! H$ f( {  g2 ~' _+ \; D+ z
begin$ x% X. S/ u9 y
   Str := callfunc ('getsenderrace');
; |7 }( j+ J5 @( o# O/ t   if Str <> '1' then begin
3 E9 B' T1 M) Q) m. G: b/ b      exit;' ?9 j/ \9 M& M: k- f
   end;
$ x+ e3 b" i) n, S' @4 [& {* F/ s& v+ D/ E& S
   Str := 'showwindow .\help\一级梅花夫人.txt 1';
% o3 A* A9 x: k3 `   print (Str);
3 N& G8 [7 n. \   exit;+ X" G! ^, X, f6 w" U' n4 z; S
end;2 A$ J1 W$ I% W! ]6 I; s* [

1 q. N# b, ^: D3 v; \  [procedure OnDie (aStr : String);
  ~# e$ g" V+ M+ q  qvar
& t7 h- T0 Z, }" @3 S   Str, Name : String;! m6 B" y" \4 ?: Q
   FirstQuest : Integer;   3 x* m8 f/ t$ N$ g
begin. _! @, ?) S" P1 @1 E6 W' s. C
   Str := callfunc ('getsenderrace');+ C1 u' C) @$ L+ q/ g1 }
   if Str <> '1' then exit;
3 m, |/ C7 ]% p" T8 D; J; y& O% W9 Z8 j& a  O& Z* l1 }
   Str := callfunc ('getsenderfirstquest');
9 Y) {  t+ R" A   FirstQuest := StrToInt (Str);
9 c9 \  r& j. j/ a" V9 A- l# C  D
   if FirstQuest < 3 then begin- z% u# C2 C( G, U; U. M
      Str := callfunc ('checkenoughspace');- w- z1 j. c1 a2 S! z
      if Str = 'false' then begin
  s4 u  B- v+ r. c) }$ u% m         print ('say 物品栏已满...');
2 W4 {: T9 G& W% E) w; H8 t9 k         exit;
; t% i- l$ F, l+ L2 ]" w2 F      end;
" u/ J3 L% _) b6 Y0 }# b# q( n- h- g' Q* {7 z* ^* ^; L- |
      print ('changesenderfirstquest 3');: D1 ^- z$ c0 D# `0 `/ o% I6 ?* G
      print ('putsendermagicitem 新手训练长矛 @一级梅花夫人 4');( s* l( `# _/ {
   end;9 Z- Q* O6 \6 J; c; Y/ c9 ~% i: ^
% n+ E& q$ ^8 `7 q2 z4 ~) l% @
   print ('say 我可只用了3层功力哟 100');) J: P- D$ S7 E' ~
* Z8 q, S' l" m1 W5 v
   print ('mapregen 52');
' G# p% [3 J" {9 V
  ]3 ~1 M- f, }( M: r. F" l9 P% `   Name := callfunc ('getsendername');   ; W( @( ~" W7 ]- I# O. k9 v
   Str := 'movespace ' + Name;
" s/ y( d; N) }; u" b% K( g   Str := Str + ' user 52 17 18 500';7 J9 v& E  y+ q' [% z
   print (Str);
- H' [( @6 f, G4 I5 {0 T# b4 p   exit;
0 l- M% W8 {. Iend;6 o6 v6 t; }# U0 b# Y4 l9 s+ @3 P% z
4 [: V6 w4 J1 \" k/ D
procedure OnChangeState (aStr : String);/ n3 M, C' q4 L' H
var
$ x8 d3 Y! l* _0 }, A; Z1 q* a% M/ s   Str, Name : String;# O+ H1 y/ ]9 t- B* y3 E/ w+ P/ p
begin
9 M2 _4 H& a0 a3 x  C) `   if aStr <> 'die' then exit;
: J. a2 j7 c/ A4 ^( J& I; q6 V
( r3 T  K7 y% ^2 U& z, z( _9 k   Str := callfunc ('getsenderrace');
7 }& G! c! e, q   if Str <> '1' then exit;
. ~8 R6 h6 m. H+ [5 l; u$ V0 ^3 }( V9 ^8 @1 T3 X
   print ('say 别无他法 50');4 L* H/ j# x7 |# T
   print ('say 是不是修炼方法不妥呀? 400');
2 U4 [- C9 `6 y6 [
. D; P  @. S" e. j/ v+ G, Y   Name := callfunc ('getsendername');' S% b3 `* W" @- l$ S
   Str := 'movespace ' + Name;
9 F. n& V5 O8 v1 S1 h   Str := Str + ' user 49 106 55 600';1 S. p/ S8 L% E( }% t, F; j9 x
   print (Str);: ]0 G7 w, m* s- ^8 U& j0 q* _" E
end;" e( I# l  A4 {* @/ H( o1 \+ L

4 l1 f' i3 F& Q' t2 v" }6 Dend.
" ~- u1 u% J( i% S) s-------------------------------------------
7 L9 D% L; v  i- l. q9 s$ n& ^unit 一级捕盗大将;' r# i9 s0 C8 x& e' @

4 h3 Z: U/ s: D4 _interface; T0 y3 ^6 Y" v8 L8 X* V

  E. [$ k, Q& ~; P; Hfunction  GetToken (aStr, aToken, aSep : String) : String;
4 d7 k- d% H' A) Ofunction  CompareStr (aStr1, aStr2 : String) : Boolean;9 G1 c: @4 H/ Z8 W: o1 p
function  callfunc (aText: string): string;6 g5 @2 g7 p' M! f: W7 w! o) O
procedure print (aText: string);
% G" M! ?9 o4 `; u+ q  W! dfunction  Random (aScope: integer): integer;* ~" M- v3 B1 d0 j
function  Length (aText: string): integer;" j; |, z2 S$ Y9 i
procedure Inc (aInt: integer);# y' F% L$ e2 D$ S
procedure Dec (aInt: integer);, f' d+ N& \* i+ }5 m. B4 _
function  StrToInt (astr: string): integer;9 ~6 Y7 O7 s& {, ]6 K: _3 g3 T9 L$ D; Y
function  IntToStr (aInt: integer): string;
! m" }+ C0 d% |/ Iprocedure exit;, ]9 L8 z7 V) {( P

/ R9 x9 Z! x( H& dprocedure OnCreate (aStr : String);
$ }, c$ s! i; f) Oprocedure OnDie (aStr : String);6 T. |: {* V2 m6 M6 w0 [
procedure OnChangeState (aStr : String);! n9 d/ v7 m6 ]
procedure OnGetResult (aStr : String);
( f6 t! `: M8 x7 q& {0 D* m+ R$ h, r+ Y$ A$ Y9 ~
implementation1 z3 }- k8 n& O( I6 ?# O. }
! d) E+ u  ^$ \
procedure OnGetResult (aStr : String);
+ o7 j+ j; d/ {' u% nvar
" A( S* n- `# u. S3 m6 W% I   Str, Name : String;
5 P# L4 p7 i) T   iCount : Integer;   
6 J) t5 o+ K# Z  P6 ebegin% n( J5 X! B! U/ u, D
   if aStr = 'start' then begin# a& g  C  ^0 J
      Str := callfunc ('getsenderserverid');
# H6 A+ Q3 H, q" l$ l9 p9 C      if Str <> '50' then exit;
  t! ~2 V: K, y2 W7 u) C
' i8 `5 h8 }  {2 i9 ^      Str := callfunc ('getsenderrace');
, t( `4 m! p' m% r      if Str <> '1' then exit;
$ Q3 Z% C3 w& P; b$ i; I$ x$ U( J" R. D: _$ z6 F
      Str := callfunc ('checksenderpowerwearitem');, k; x* v/ u3 g2 H. o( S! M) z( H5 @" U
      iCount := StrToInt (Str);1 O0 z% V4 g4 J) p, U/ h
      if iCount > 0 then begin
' i/ @( ^6 u% N8 A         print ('say 请先脱掉带技能值的装备!');
; Q; W% t7 P- Q1 J         Name := callfunc ('getsendername');
7 l, w: M$ U: M$ q2 E0 ^         Str := 'movespace ' + Name;
. o, R- ?$ j) t- M  m8 |4 d) K" Y         Str := Str + ' user 49 106 55 100';% v- M/ K/ I+ P6 n7 Y, x
         print (Str);' S2 H# T! p$ f. n* n- n5 b% H+ h
         exit;+ h# d9 n$ g" T7 v
      end;3 s. q6 i1 \7 W5 i# l
      Str := callfunc ('checksendercurusemagic 0');6 d2 x6 Z6 `5 j- E# H& L
      if Str = 'true' then begin6 S4 _2 ^* K8 e: ^5 ~8 m+ b
         print ('say 选错武功了!');( d, ?: P: S  x
         Name := callfunc ('getsendername');
: w3 x# N% h9 D; Y( }         Str := 'movespace ' + Name;
4 y4 F- t- I; G' {& E         Str := Str + ' user 49 106 55 100';: B# B# K6 C* G
         print (Str);
% P( P3 W$ q  f* S) q! c         exit;
$ V6 ^! K0 b5 H      end;5 N8 V1 e4 Y5 x) R/ A
      Str := callfunc ('checksendercurusemagic 1');% X5 T) Y* S: c( ?9 [
      if Str = 'true' then begin
7 C+ d/ X  w7 C9 \" M; L* A1 U9 Y& i  [         print ('say 选错武功了!');
* X6 O3 U7 p7 x6 l- s5 @         Name := callfunc ('getsendername');
, T( s! _1 l# T         Str := 'movespace ' + Name;
& I8 G; L) H2 @2 I         Str := Str + ' user 49 106 55 100';
; C# y0 Q, l+ T: B" w         print (Str);
; @; V6 V3 u9 I4 p7 C, S         exit;
5 N% X/ @" T! h+ H      end;( M: Y5 P" t* _9 H

, l. `6 e9 E; p0 Q" O1 x      print ('directmovespace 一级捕盗大将 npc 50 20 18 0');
/ _: ?: g' \! L5 U, S( d1 W& C/ a& K3 R1 k7 H- E
      print ('commandicebyname 一级捕盗大将 npc 1000');
) U5 b  U1 N% w  P# ~8 S1 t; N# J" B      print ('setallowhitbytick true 1000');  P, i6 _5 t' i* ]
3 x% ^  n9 }3 s' x" X2 o
      Name := callfunc ('getsendername');9 W, X$ t& a+ ]5 M  G4 q: x
      Str := 'commandicebyname ' + Name;6 |& Z9 B2 A2 L0 S$ y) G
      Str := Str + ' user 1000';
, L( M3 L! T* z4 r7 `+ @) h      print (Str);
  B- l; R: r# {1 b& y. b
* R. s, K6 o. r3 B  s( x      print ('senderrefill');* x" _& t/ e; l: J2 G

2 N/ B- A: O0 G/ U' Z0 x) b/ D9 Q% [      print ('say 你还太嫩! 50');
5 i, x6 s$ ?& Z& q# V  M      print ('say 留神啦_我可不会手下留情 400');
& C4 O9 U, i. l6 Q      exit;
5 J; A# Q4 m+ u. I2 z7 z   end;
# T9 a) ?# l1 c) }; d! zend;
0 y6 \, L) j# L4 p  m( u( u8 P( P+ N3 ]0 m# S9 F2 V
procedure OnCreate (aStr : String);  |1 Z* M5 u$ y. M5 W0 w: t
var" h3 B! l& }7 b/ l2 S
   Str : String;
: r5 G7 d: n6 U5 U1 ^( pbegin, a, L! _2 _$ J4 l& ?" S* ?# W" O
   Str := callfunc ('getsenderrace');
1 A  ]- o- X7 k/ Z7 M   if Str <> '1' then begin% p1 a! `  @4 a1 p# J# O) I
      exit;7 S& B/ ~3 x: g$ b
   end;
/ a$ q' W: H# r  j' @
4 M6 s" K4 [( [, B' r   print ('setallowhitbyname 一级捕盗大将 monster true');' i# g  t$ O& E0 O

& |  a) O) i' |, r% x) }$ ]* R% T   Str := 'showwindow .\help\一级捕盗大将.txt 1';
: ^4 {& l5 ~: i6 y% M% o   print (Str);
+ ~) P8 U6 E0 `# ^   exit;8 s- h% `/ m/ I7 x, j
end;
- N% G9 U+ A" C; l$ ~9 V7 T3 m  D. x4 e8 z* W3 q
procedure OnDie (aStr : String);
- K3 i5 q+ Q/ N" V& N) t+ s, T) nvar) \" z4 {% d* c" d
   Str, Name : String;" {! J' h0 i6 H7 i6 U
   FirstQuest : Integer;' [3 l9 y: F' _5 Y& s7 x
begin4 J# h; z; `7 b7 x! D1 y
   Str := callfunc ('getsenderrace');
4 ^% C8 ?+ Y8 Z+ u   if Str <> '1' then exit;
0 U0 Z- h7 X: c3 u6 B# I
: m5 w& ?" D5 u; M+ J6 p   Str := callfunc ('getsenderfirstquest');1 _: t6 H; ?9 U( _7 A
   FirstQuest := StrToInt (Str);
* |. l" ~! V+ X" p4 ^2 ]0 q+ N- g( m3 _7 F7 ]  M
   if FirstQuest < 2 then begin/ `8 [3 A$ s2 ?- q* ]* F4 h. A
      Str := callfunc ('checkenoughspace');/ m9 P: k" M7 n) b9 j8 M. c
      if Str = 'false' then begin  l; s3 ^2 t5 B; [
         print ('say 物品栏已满...');
3 X" M7 z# j: f, f         exit;
  K3 a: ]2 K" l# n& N      end;6 e: ^+ H7 D0 _" }- k" Z

& m+ q1 ~4 W3 k; B      print ('changesenderfirstquest 2');
, n, J; d( L' E, o      print ('putsendermagicitem 新手训练拳套 @一级捕盗大将 4');3 W7 \! N+ [( N# E) Q: D6 ]
   end;
; |6 F7 [$ Z' `$ O5 A
6 g. O9 p1 a, D+ J   print ('say 不可能_我怎么可能输呢.. 100');
( v) @" j$ E" B# h+ v
! C: o& f7 n" {0 G6 {   print ('mapregen 51');$ M' W2 d* n( \7 N* K# ]3 Q' {: |

4 b7 B1 d4 o, j   Name := callfunc ('getsendername');  d$ P4 x4 V' b4 n# s( i
   Str := 'movespace ' + Name;, G+ @5 r4 i% u
   Str := Str + ' user 51 17 18 500';
' p$ F! }2 g8 g   print (Str);9 ]  T  _9 A; j, Q
end;
" N: S- g3 ]0 `9 z% h! H& w/ L. J( E9 o% ^" `( Q6 X4 D
procedure OnChangeState (aStr : String);. k; z! n; l, v/ `: [, d
var
* d1 }, `' @! s: C   Str, Name : String;% ~# n8 Y; T$ \' @
begin
( A# J; M+ y* ^   if aStr <> 'die' then exit;
' f4 O, q" f7 B9 R9 h2 r+ K* g7 A( @; n8 f' _8 w7 Q
   Str := callfunc ('getsenderrace');
8 H( Y  }0 k1 B3 z   if Str <> '1' then exit;/ z2 u) S5 f0 J; J

, U( j* e7 }5 w8 U$ M  \: C   print ('say 回去再修炼个10年吧50');
9 G$ E# r3 y: [8 e* C4 O% A- l2 u  r   print ('say 到那时我在用双手跟你打 400');
0 ?' ~7 s) Q1 l7 m4 L4 u
4 f" v, h3 T1 O" h   Name := callfunc ('getsendername');. ^+ d" o* y7 l
   Str := 'movespace ' + Name;
  @6 u8 Q8 L( v+ `   Str := Str + ' user 49 106 55 600';
9 ]1 o0 @3 `4 p" ~% ?3 l   print (Str);
, M/ k0 Y. b0 F! m# [. ?. d$ _) w9 Q  [- W! G0 e5 ?  W
   print ('boMapEnter 50 true');   
0 Y1 U/ u6 w3 w/ Wend;+ S# D. n4 i$ m& o2 a! D. \1 M7 [

  e3 J2 P8 t3 R6 L5 }  [end.% G# x5 E) ], b; ]* x- j

+ K4 }+ B- T1 F* }9 E---------------------------------------
; n) R! r8 z- \1 g( Z* R% D6 ?
; E6 ]  g: X# u7 X+ o$ j% ]- t5 b) Nunit 一级牛俊;
: A: }. V+ E5 o4 K
' ~4 w% Q/ U/ finterface
7 z* }- _7 d% Z7 _- H# y" ]! [) p4 B+ z" e8 o8 T
function  GetToken (aStr, aToken, aSep : String) : String;- p% ]: b; k( F1 l+ K' ^; E! f& i
function  CompareStr (aStr1, aStr2 : String) : Boolean;
- \# n# ~$ d# Z& S3 V7 ?6 Bfunction  callfunc (aText: string): string;
0 J) V6 `6 o. l4 R' }- A& oprocedure print (aText: string);3 C+ `3 b' v& D& F# M; ~
function  Random (aScope: integer): integer;; Z6 h! G4 S+ i1 ?% A1 q0 `
function  Length (aText: string): integer;
8 @" B5 n5 O3 D! A4 cprocedure Inc (aInt: integer);
) K2 u! J. O5 i& X7 u' b: g; xprocedure Dec (aInt: integer);
0 Z& \5 ?4 u! m8 pfunction  StrToInt (astr: string): integer;
; k' B$ h3 I0 v4 rfunction  IntToStr (aInt: integer): string;7 p6 K0 A: i5 C4 R
procedure exit;
7 `. j: Y8 R0 m
0 c* Y( H- I2 t; Oprocedure OnCreate (aStr : String);
1 B# d# R2 Q( u; t2 L% eprocedure OnDie (aStr : String);
( k+ ]  h# _. }2 Y6 t! ^procedure OnChangeState (aStr : String);# Y- V2 F5 y, y
procedure OnGetResult (aStr : String);
! [4 \8 C0 Y  A  u1 B$ g
" C" M( ?' j  l6 U" n0 h' Timplementation3 o+ p6 @7 K9 a- B2 m' m

) |* t) p  a6 [4 m) Aprocedure OnGetResult (aStr : String);& G( _! S' \/ a
var9 n1 S  u, S* J; ]
   Str, Name : String;
( v5 }9 E3 A9 F/ \   iCount : Integer;
* @& H2 @9 q, \+ }8 pbegin3 r* Q& E# G) b2 t
   if aStr = 'start' then begin
: s( `( W% F0 l, T4 y8 L3 ^      Str := callfunc ('getsenderserverid');
; q6 q* F5 z; A& x" a: Z      if Str <> '52' then exit;
9 |( E+ N: ]9 A) m4 X
$ }7 Q8 ]8 R. G, _& n" V( C      Str := callfunc ('getsenderrace');9 M+ I& b- {* ^4 h6 W
      if Str <> '1' then exit;1 Y5 l$ V9 l9 g

) p, t3 f! S" ^+ _! r6 \3 n      Str := callfunc ('checksenderpowerwearitem');9 S2 H4 `& V% p: e8 ]7 N2 I
      iCount := StrToInt (Str);6 F7 t" D" S' x' `# B4 l! g( Q
      if iCount > 0 then begin9 K& F; F) Q. G* [# @3 i0 G
         print ('say 请先脱掉带技能值的装备!');6 H8 f# s6 b% y# Y) }1 {0 N! E" m; |
         Name := callfunc ('getsendername');% k8 @- ^6 \0 G; J
         Str := 'movespace ' + Name;9 M5 C7 H3 ]  X5 a6 e8 U5 A4 Z! b
         Str := Str + ' user 49 106 55 100';
6 D+ T1 |! A" p' o. S4 r         print (Str);. a: `- k3 w. Y5 F* t; ]
         exit;
/ w% M! D) X: \" i- s7 R      end;  J8 t' [* o' C/ z# x" O' @
      Str := callfunc ('checksendercurusemagic 0');4 T0 c5 h% `; m2 ]9 _/ x
      if Str = 'true' then begin4 X- M" |, g* W+ r) X
         print ('say 选错武功了!');
, J9 f# T6 a  ^5 @         Name := callfunc ('getsendername');& m3 m/ l" W* U6 L7 W
         Str := 'movespace ' + Name;( R/ h7 L  Z& r. P3 t
         Str := Str + ' user 49 106 55 100';
$ l4 F: o$ p$ k5 `9 v  L         print (Str);; G+ }/ l3 V+ \$ K1 P" X" C
         exit;
, u( B  P4 `; V& u& e+ S+ T      end;  k; `1 Z. n: \" C1 w' G5 J# V) a% f
      Str := callfunc ('checksendercurusemagic 1');
* k6 M9 O' B6 G$ t      if Str = 'true' then begin) [6 y$ V, W! ~/ b) D* Y
         print ('say 选错武功了!');9 h' u2 J. E& G5 I- \
         Name := callfunc ('getsendername');
" K( E* ?2 R; P+ h9 N% n( K         Str := 'movespace ' + Name;0 n, h; p, E/ Z* x% }% h- n
         Str := Str + ' user 49 106 55 100';
: j$ o7 R) N! V; L0 F& H         print (Str);# m; c/ ?6 i, f# J
         exit;+ H! D3 ~. k; V8 Q: K) Q9 w
      end;& S5 B+ I- u5 v
+ P+ j$ K" W* x9 o+ s
      print ('directmovespace 一级牛俊 npc 52 20 18 0');5 [+ E) s& G- ^2 L; a- K7 W+ h

8 g4 u* W/ Y3 j* w8 ~* `      print ('commandicebyname 一级牛俊 npc 500');
+ F4 ?, q( V; Z5 ]      print ('setallowhitbytick true 500');      
* h* G+ l& p" @
5 y  }8 x( S7 i2 b      Name := callfunc ('getsendername');/ J6 \3 ?- O3 |8 C4 H1 Z
      Str := 'commandicebyname ' + Name;
# p8 `: r7 S8 O! j% f      Str := Str + ' user 500';
( ~' ?) T# o* Z, J. v      print (Str);! K3 X- M3 I9 Z+ ^( h& }9 i

) S/ N2 |" }9 P2 _0 X, l      print ('senderrefill');
0 W: J3 v0 m2 V3 F2 `2 y' e. }( d! h
      print ('say 10如果10秒内不能将你搞定 50');+ T: ]& Y6 ^) x' ]0 \
      print ('say 就算我输! 400');
$ ^0 |4 u, G. m+ H      exit;
4 r( d: i4 J: A5 T5 {( e2 [1 ^   end;
: |! j7 Y3 M) ?end;  Z; g# g- A5 U" w

0 c, i  Y  i5 I3 f2 Sprocedure OnCreate (aStr : String);1 j, ]% `& {% J% V- J& T1 C
var
8 X, I( a6 d! P! {9 q3 t( H   Str : String;) E6 o2 X6 |8 N3 `
begin, h; w% V: d4 t+ g8 G
   Str := callfunc ('getsenderrace');2 P2 l0 ?5 C. }( R! x
   if Str <> '1' then begin
: X3 d; i& T+ j      exit;# n9 v8 C) r$ z2 b2 m
   end;4 ?* K7 e9 B0 X4 N8 u* m& i/ P
% B; J6 n, u7 o4 P# p& i1 z
   Str := 'showwindow .\help\一级牛俊.txt 1';
2 ~+ r* d* P7 @: e   print (Str);
4 x6 b; N: `8 M$ F5 T   exit;, j' V5 m6 b6 v: @
end;
- v6 u9 R# F9 U$ w+ r
4 i( F  Z" N) [! rprocedure OnDie (aStr : String);
) u9 _$ D5 A  Hvar; l+ {/ R7 H) G7 k7 n
   Str, Name : String;
6 D0 Q6 o: S& `   FirstQuest : Integer;   $ a+ J: f0 w8 p$ ^! I
begin
) i% D; M! f0 |0 t0 q( [   Str := callfunc ('getsenderrace');
* O5 a8 B4 V8 J) K   if Str <> '1' then exit;
0 m5 j( i+ w& H& _! @/ L5 ~/ x
" X3 C% M+ l. X4 E) L" x) }   Str := callfunc ('getsenderfirstquest');
% V" j  C- ^# b7 [$ L   FirstQuest := StrToInt (Str);
; q( F& B# M, V5 J# d$ M' P) |) ^& \' o- R
   if FirstQuest < 4 then begin& c8 d3 L  V6 X/ f+ V9 e
      Str := callfunc ('checkenoughspace');4 j# B1 ?0 q9 N: ~- [! z/ H' e, B6 l
      if Str = 'false' then begin
- D  ~5 t0 U& }3 r9 W! A( W         print ('say 物品栏已满...');
  t+ _+ u/ \8 c: A1 e         exit;. w6 C& E4 R( A) o
      end;; j" R8 f7 L6 J9 n4 t3 X1 d

: Z  C$ [+ r. x' q      print ('changesenderfirstquest 4');+ O3 B  D, h0 \+ k- ~) G1 h
      print ('putsendermagicitem 新手训练大斧 @一级牛俊 4');
  o; c7 T0 K* x# A0 Y   end;6 {: @6 G. N8 r
+ B. q- L$ q1 ~: d! r" Q
   print ('say 什么_不敢相信!! 100');
- M  l$ l8 b( @% ?7 Q- }: K5 M" ?! K2 d4 X1 u, U- w& h1 @
   print ('mapregen 53');
5 _. L% R! F9 R& W+ T; N; f5 U" o+ K1 _
   Name := callfunc ('getsendername');/ d* M( w  E# t, |' |2 A
   Str := 'movespace ' + Name;
0 ^* b: P' r7 E6 H3 j   Str := Str + ' user 53 17 18 500';
! e4 R, I+ y; O3 H2 c2 T0 Z   print (Str);
8 Z5 \# n8 l6 T2 xend;. p  C' ?0 a' @9 j& U
8 {, P  q- H9 k5 n! M. d  g
procedure OnChangeState (aStr : String);8 f( w& P' U) E  x
var- t8 ?. ^- |3 m) {# ^2 J8 i0 ?
   Str, Name : String;3 ?& C% T; d& n* N4 ^. \8 K
begin
  e1 T; F& F8 |: J# a   if aStr <> 'die' then exit;. g, E; I- G  C3 K7 z4 O5 X3 ]
& t  `3 q- J0 F/ X
   Str := callfunc ('getsenderrace');
+ _$ h7 w- n5 W0 w% C4 R' @   if Str <> '1' then exit;# r- p4 \1 L. f' r+ c
6 V6 a$ O' u& E' q/ C
   print ('say 领教了吧! 50');
+ O9 }4 L3 F0 p' V1 E  h   print ('say 差远了... 400');5 Q. r/ q" a1 q$ c9 l* l& O4 z
0 k( q) M2 p5 m+ A- |
   Name := callfunc ('getsendername');" R9 W7 S: |6 j0 m2 k
   Str := 'movespace ' + Name;8 X8 z: m% H) K
   Str := Str + ' user 49 106 55 600';
8 U- f( b( A; l" N   print (Str);
4 ~1 {* w1 A8 _0 q6 e# qend;1 J! N0 r) m; J" u, a1 m

  \$ ]7 O% \% {end.+ }& ~9 V0 U2 @
----------------------------------------# a% m5 q3 g0 ?' w5 M/ U
unit 一级雨中客;
+ j* u: M7 y; e$ S% D4 X, r: ?
interface
6 G- B7 ]) L$ o' m# j% P: q- Z5 a* v
function  GetToken (aStr, aToken, aSep : String) : String;6 M4 w! y; k: ]" d- t8 J& b5 F
function  CompareStr (aStr1, aStr2 : String) : Boolean;
1 n# ?! O4 h! @0 ~" U5 Ofunction  callfunc (aText: string): string;
* d8 p& |  M; N6 xprocedure print (aText: string);
2 ]/ f0 e$ b8 }) o( kfunction  Random (aScope: integer): integer;
" [2 B' K9 v1 Ofunction  Length (aText: string): integer;
" W+ m( d- x6 W0 E/ Xprocedure Inc (aInt: integer);5 J/ K- M7 y0 q" [
procedure Dec (aInt: integer);
. |7 b  h6 t5 ~, ?$ U9 Ufunction  StrToInt (astr: string): integer;- x: R9 O) W9 {8 _
function  IntToStr (aInt: integer): string;
3 y# ]+ p! @: c9 n+ c" @( e$ O( ]$ aprocedure exit;
9 _3 a) |3 P7 i  r% b4 o( W, o5 {/ l$ }; L
procedure OnCreate (aStr : String);
! H0 C3 i2 F$ D$ @5 ?# _! l- Xprocedure OnDie (aStr : String);
' x/ `7 _( R  B# ^, U' m  V9 C) nprocedure OnChangeState (aStr : String);. A- g" q9 t2 d6 ?3 _. q% L) V
procedure OnGetResult (aStr : String);
6 X# W3 ?0 v; r- W
8 Q$ A" T& N1 t% h% A5 bimplementation
7 E( q8 Q3 Q2 |. m" ?# B
  W- ~- Y& ?: Z" }% y5 @procedure OnGetResult (aStr : String);( U9 H& E" h# k0 e5 h* z
var
. w6 S; \+ \8 ]$ E) X   Str, Name : String;+ L# h% i- M- F& Z+ T2 X& V3 L) S
   iCount : Integer;
: L. W$ T0 r1 N! O  m) ?3 xbegin
7 p, Z, }. d& V% S2 t' I1 z9 {   if aStr = 'start' then begin
8 L3 t8 @: I( h& ?8 J      Str := callfunc ('getsenderserverid');0 \' d: h; e4 [7 O/ ?" K) D
      if Str <> '53' then exit;7 T6 F& j( T2 H) J  u- U' T1 L* x' J

/ U( W% Y& L" X) _' e      Str := callfunc ('getsenderrace');3 f  p: j- m: P+ D+ b
      if Str <> '1' then exit;9 v0 n; D: q& Y0 r
% f; k# }" ]. v! K
      Str := callfunc ('checksenderpowerwearitem');
% w  F/ d8 E9 {      iCount := StrToInt (Str);
; }# q6 r; n8 \4 B- v! u5 r      if iCount > 0 then begin6 C6 p. x( X, x, U' }
         print ('say 请先脱掉带技能值的装备!');" G2 P! j2 u4 \/ F* R6 S' ~! z6 u+ H
         Name := callfunc ('getsendername');1 m1 P2 f0 X( H! {: [
         Str := 'movespace ' + Name;
, S+ t  B0 B3 b$ Q6 {5 X! v         Str := Str + ' user 49 106 55 100';
& e# o' a; ~! I) y& j) S         print (Str);
" o3 x( T1 E. k: z' Y; [         exit;
; q$ Z! s& E4 K* o5 {      end;
: M, v& B, n, R" g$ w5 X# {" m      Str := callfunc ('checksendercurusemagic 0');
( r6 N6 @$ H# ]  G0 G6 K# v/ Y      if Str = 'true' then begin, |! E, w  d2 T5 i
         print ('say 选错武功了!');
4 u! l, V5 l) y) z' W" X         Name := callfunc ('getsendername');
$ Q. |  |& T$ g7 r; C8 i. _         Str := 'movespace ' + Name;
3 T( {- V; C/ \0 ]2 w- B$ O         Str := Str + ' user 49 106 55 100';
) H* A5 X% H4 Z% p- d  B         print (Str);
3 P2 K( h9 t. R8 }         exit;# L7 g5 U4 T5 u: z( O
      end;
+ S2 h7 d) G4 y4 {; w+ q# `/ {      Str := callfunc ('checksendercurusemagic 1');
3 S; \4 G% B1 @1 h: u$ a0 W      if Str = 'true' then begin
8 Z$ J3 o0 Z9 ^! k, C         print ('say 选错武功了!');
9 k7 [6 b$ f. `. l7 {- _1 f         Name := callfunc ('getsendername');
# r- _1 z2 ^' h0 d) W         Str := 'movespace ' + Name;
6 \% {$ h* z# [' R         Str := Str + ' user 49 106 55 100';8 _7 A9 U4 X3 r& F" `0 f
         print (Str);; X6 v' }) ?0 n2 s* ^/ Q
         exit;4 ?, Y  o" j, i) y5 [/ _% J
      end;) n( ^9 v1 Z% k9 ]( S4 n
$ g. V. r' ?, _) [
      print ('directmovespace 一级雨中客 npc 53 20 18 0');
. z* y6 s4 q8 o# Y, h( j8 a' g6 i) O$ d2 \0 }: x% c- J* ]8 h
      print ('commandicebyname 一级雨中客 npc 500');
2 Z# @9 b* M# B5 ?      print ('setallowhitbytick true 500');      
7 I3 C( E. `0 k# B& Q# }) d7 I4 M7 V# z! F1 ?( }- m" g. I
      Name := callfunc ('getsendername');3 s! o2 R2 b9 k  D! ^; s9 W: o) Q7 \: C
      Str := 'commandicebyname ' + Name;
- N% R4 i& g* X      Str := Str + ' user 500';4 i2 f2 {9 v$ d" T5 Y+ X8 L
      print (Str);: ?, R+ b+ x: e$ w* J% ~9 `: h4 ~
9 X* t; [  s- i" A" [& G& }/ _* l
      print ('senderrefill');
: D( k2 j3 y, U; _- J! W
  N  U/ D+ ?' K# `' b, [$ h9 m0 _      print ('say 领教了 50');+ [2 T5 X) N# x5 o/ Q
      print ('say 开始吧 400');
! i! s' f; o6 U( D& X" g# _      exit;4 |( O9 e5 a3 Y3 Z5 |: U
   end;
0 G% o7 j3 _- ^4 S/ ]) eend;1 W* c6 l4 R6 W
  t* Q) D2 ]  [) o$ p
procedure OnCreate (aStr : String);# o5 N: m( q4 o8 G: E& N) N
var4 T$ ^) m+ d% k8 M
   Str : String;0 ^* E* n3 a: a0 u% }: v
begin8 L2 X3 w+ |& A9 w+ d( [
   Str := callfunc ('getsenderrace');% |) a* s* P# F  M
   if Str <> '1' then begin
$ E4 s4 [% I* M: _( x5 q: T- z      exit;- h- C1 }% t* D; j% F0 t) R' F
   end;
9 `' a1 p8 n. O$ h
6 S7 h) o1 j2 ?8 S) d& l1 X! j   Str := 'showwindow .\help\一级雨中客.txt 1';
6 v, c1 d; D5 B2 y$ u, x  O3 M' ?   print (Str);$ S. T+ G$ x! ?! E0 r6 {) n- P
   exit;6 e. s" b6 Y1 q! Z6 J
end;
) n% r# X2 l" U8 i* N! ^0 a! c  N' J0 f1 l1 w
procedure OnDie (aStr : String);7 q/ S$ @; q8 S
var. v) S+ L; M( b0 |
   Str, Name : String;+ t, k" Q! r' ^( a6 }
   FirstQuest : Integer;- T+ X+ k  }# E+ T8 `6 H8 k
begin! `, ?7 }2 b3 P) W! J* c+ S. g
   Str := callfunc ('getsenderrace');
2 k1 U$ O' H+ j' M4 A   if Str <> '1' then exit;1 r- x7 \, f) R# }' K1 |

& @7 P0 s% A9 ?" u' v$ b   Str := callfunc ('getsenderfirstquest');
' X; ?2 |9 f; w" J2 W  c0 h6 z   FirstQuest := StrToInt (Str);
: N) T( s) d' J5 v* `' p1 w; s5 i0 o
   if FirstQuest < 5 then begin  Z" {% O7 H, y4 n. i
      Str := callfunc ('checkenoughspace');. F3 ^! j# V0 z5 Z2 x0 ?
      if Str = 'false' then begin
9 n9 H0 k/ K7 ^& `  ?         print ('say 物品栏已满...');! L" w( \2 k9 g. I3 V! y
         exit;
* E- y( ~( D) Z: h  d# B* `, Z/ T      end;# v  B. z9 W# D% y0 I5 d5 W
# V9 S& H; B7 J
      print ('changesenderfirstquest 5');; m1 v6 P1 I8 @7 s5 b/ P( }' y
      print ('putsendermagicitem 新手训练弯刀 @一级雨中客 4');
3 G$ I" V4 u. \/ Z3 K5 M" K   end;
! P" P3 M+ W. l/ F0 Q8 F
& o& J8 z7 b; N0 [9 m+ N' z3 Y/ v   print ('say 早料到了_佩服 100');3 o$ T6 Q. R" p5 l, t' Q

: Q  h2 d9 e5 g; o: v- {   print ('mapregen 54');
2 E: M% @, O) V+ l! L3 R6 f' `* o0 K
. f) e( X) Y! C' Q6 @   Name := callfunc ('getsendername');
7 O3 j) {; U2 \& P% B" y   Str := 'movespace ' + Name;$ h; h; h: v" B6 V8 J
   Str := Str + ' user 54 17 18 500';
8 U  d+ y/ T6 |4 Z3 k   print (Str);4 J6 _- m& I; }7 S
end;$ b& G  b2 B4 a3 i. v
; S- ~, J% t4 M, F. i. o5 {, {
procedure OnChangeState (aStr : String);+ _% R0 b1 ?9 i. _
var
2 j. n: m0 `8 u/ t- D" v0 H   Str, Name : String;
" f$ ?, @# T" K2 Nbegin
3 f& h4 ]- u# V% t" e   if aStr <> 'die' then exit;9 e* Y1 ^' V+ t+ S* \
1 w7 v7 w& t7 ]% m! z# \( O2 H
   Str := callfunc ('getsenderrace');+ z- I7 c5 M( B1 @
   if Str <> '1' then exit;- z" Z: c+ I  f
% \0 b1 N. s/ D" x9 `! r9 m
   print ('say 不错。只要能维持几秒钟');
6 K# G, @* l- C$ n   print ('say 到那时谁都不是你的对手 400');
: p6 J8 X- o( f  B9 }- }: V* z9 |$ g7 q' m8 T, {
   Name := callfunc ('getsendername');. l% @( J0 W" h1 F# U9 L1 r
   Str := 'movespace ' + Name;6 r0 v# J8 h( Q- I7 k
   Str := Str + ' user 49 106 55 600';6 L! d4 b5 `5 S* D
   print (Str);2 c4 ~% [. H6 n) Y1 b+ L' E6 a4 D& l
end;9 t# S& H" _# e: R0 W

, z. v# Z  l1 ^! r, H7 y. P3 M8 eend.! p2 J3 X7 a/ Y8 u
! W9 Q( @+ W* r' ]2 \0 A. [1 Z0 b3 ?4 j
--------------------------------------------------------------------------------------------------------------5 C; [  p; i9 g+ ?

, n: X7 l$ ]! j: }8 J+ tunit 一级老侠客;3 Z1 `" n! g) V/ [

6 n# k( f) ~2 Y( Winterface; Q( X$ ^4 {' ]$ {0 g
. N) q( Y1 f1 Y" ~$ ^* q0 u" u
function  GetToken (aStr, aToken, aSep : String) : String;8 G. H- y1 x) }2 V5 E" |
function  CompareStr (aStr1, aStr2 : String) : Boolean;
' x- k& _' L9 ]- L; N. Ufunction  callfunc (aText: string): string;
- Y  y* V6 S8 F1 O, kprocedure print (aText: string);
4 t! A  u8 J) wfunction  Random (aScope: integer): integer;
& ~6 Y# M( t. R- l0 ?! Y$ gfunction  Length (aText: string): integer;! L. H6 T  u# ^
procedure Inc (aInt: integer);
7 Y6 t3 x" g5 E. uprocedure Dec (aInt: integer);
: \/ R5 o0 d" W1 tfunction  StrToInt (astr: string): integer;6 ?- l% h1 A' g1 X; s9 W
function  IntToStr (aInt: integer): string;* N% Q. @; ~4 \9 F
procedure exit;* [! k8 {0 ^3 Y4 _9 ?
9 W# t" v& i- ~- M# R1 N; `
procedure OnCreate (aStr : String);
/ q" n* X( ^, j4 @/ N) tprocedure OnDie (aStr : String);& N: s8 J4 E2 a- R- j
procedure OnChangeState (aStr : String);# _: P/ x  p8 G+ y1 A* \5 _
procedure OnGetResult (aStr : String);
4 {- O5 ?, T9 i8 p7 Y. i6 i% S: D9 G$ U" z3 ^0 ^) Q, J# \
implementation& Y- ^" a4 J+ w7 \  a  X. `8 ?

# y3 H0 D2 i$ F1 d2 jprocedure OnGetResult (aStr : String);
" ^5 y7 A' Y+ Uvar
0 E3 ]' k& t8 I! D1 Z6 m& |   Str, Name : String;
  D+ T: {: @8 e6 I6 v   iCount : Integer;   
! X, r$ @. P1 H% j% xbegin
- i1 M3 t9 o/ M   if aStr = 'start' then begin
  ]% k2 h. `, o/ f- G      Str := callfunc ('getsenderserverid');
" b: N( H; N6 ?! [" ^, [" B& `      if Str <> '54' then exit;
, P, q. V4 z  ^- d- z. W( e3 f: c8 |$ h6 \  _
      Str := callfunc ('getsenderrace');( ]/ ]6 S0 I3 ?
      if Str <> '1' then exit;
6 n9 c1 r4 q7 ~, X1 F' a7 k' N" G$ n+ t4 U) f: F
      Str := callfunc ('checksenderpowerwearitem');
7 M; x( U* I; ?( i6 I      iCount := StrToInt (Str);& B' N( m, @( M: v4 X% n
      if iCount > 0 then begin
8 n* D6 Q4 w1 F         print ('say 请先脱掉带技能值的装备!');
" n* x; i4 c# y  }; W* ~* b         Name := callfunc ('getsendername');
8 x$ k! d; E: L( e         Str := 'movespace ' + Name;
" c5 |- l1 W$ X/ Z6 K         Str := Str + ' user 49 106 55 100';+ w. ?: g! N: h5 D& ~
         print (Str);$ I7 {5 r1 R/ M' @" \+ Y; _2 U: y1 y
         exit;6 a# s! L# J% ?7 z/ R2 n0 g
      end;
* I& K  Q  m) r9 F  X9 l, c$ ^      Str := callfunc ('checksendercurusemagic 0');
& _* e: b+ b) W2 ~' y* ]      if Str = 'true' then begin% Z% \/ f) R- O. g
         print ('say 选错武功了!');; \+ C. t) Y* s& Q  w% A$ x
         Name := callfunc ('getsendername');5 s1 E  G& h) l+ Q% t) \
         Str := 'movespace ' + Name;
% R% t# y* n% G         Str := Str + ' user 49 106 55 100';
" Q) h. j; W" K         print (Str);+ T- X7 E2 T% k
         exit;
, T8 J7 p  D  [, a      end;
& g; {- Y. V* m5 z2 ?      Str := callfunc ('checksendercurusemagic 1');
2 i9 n2 X; |- W0 H" I      if Str = 'true' then begin9 v/ \9 ^6 ]5 b& C0 q
         print ('say 选错武功了!');
0 Y; D% Z" o8 c3 |         Name := callfunc ('getsendername');
7 U8 I: Z3 y0 D         Str := 'movespace ' + Name;
" e+ }7 {' I/ {8 ^. _         Str := Str + ' user 49 106 55 100';
2 V, {  |  F8 H) u# a" s3 a* N0 i) s         print (Str);. i9 G* z7 G' s3 K, ?: }) Y
         exit;
) s) v' `* S4 i! c9 U      end;
: u' A1 r7 L# T  A9 _( P# M( h
( J9 T# f% Y- }4 `$ e# `& Q5 }      print ('directmovespace 一级老侠客 npc 54 20 18 0');' F4 w3 J6 X" Y) P" Y

! ^- ~9 u' n" w0 @& C      print ('commandicebyname 一级老侠客 npc 500');  _" k  ~% M' ~. T" N
      print ('setallowhitbytick true 500');      
4 a; @5 v2 V0 x* Q, T4 b
( G6 T5 `  P# E  k# L3 \3 M      Name := callfunc ('getsendername');& G( N1 x9 T9 }: Y3 i; @! {
      Str := 'commandicebyname ' + Name;
6 \) Q% S! P' e8 K5 M      Str := Str + ' user 500';
$ ?/ M$ O5 _+ c( i/ C4 i0 G      print (Str);4 [9 D+ q& m( D1 f

" D! K9 z% X. m, Y; w+ s0 W0 V  T      print ('senderrefill');
! J6 A  Y! T+ }' f# h9 n
6 q5 ^9 a/ V6 N2 H      print ('say 如果你实在想比 50');
+ c0 K" n! w( f) Q* ?      print ('say 我将奉陪到底 400');$ y1 T& G; G+ }% \- X2 y/ D
      exit;
& P$ u$ }2 Q, L& P8 k$ u   end;
! l: n' m2 J) m9 j' h$ pend;; ?$ E% |6 V! b0 w( a8 S

+ B# H; X! Z  kprocedure OnCreate (aStr : String);
# r0 U, k- u4 A* ivar
/ C: Q/ ]& A& X! a   Str : String;5 ~1 m% ~" K7 _4 N+ Y& u8 F
begin
, E- z9 e; H5 Y   Str := callfunc ('getsenderrace');, M  z' ?3 I1 w% C/ g
   if Str <> '1' then begin
" n- A3 x8 G( Y/ s      exit;$ d4 g0 v. F" ^$ e/ w" X
   end;
, @- ~7 U# W$ y' `1 K( t
3 x7 O, M6 c" v- O9 t! X   Str := 'showwindow .\help\一级老侠客.txt 1';
: q, \5 D: e4 @* o/ L& s% d- ?   print (Str);) p$ o6 C; H; k6 X  |" o) Z
   exit;. Q* [+ m4 O7 J- b, b
end;/ I9 `5 E; O( d3 j  M$ r6 U

# F  p3 Q; T9 X6 m4 p. w3 [procedure OnDie (aStr : String);4 y2 ~2 b7 o2 v7 T2 z$ }; c$ p
var
5 S4 J1 A+ z, B  V& Y& K" Z! j   Str, Name : String;
7 |* E' o* D2 ]" c4 q9 P5 V   n, FirstQuest : Integer;   
# \+ s2 Z5 C3 `1 A: |  H2 [begin4 ^) H5 r3 y2 k4 p
   Str := callfunc ('getsenderrace');
. |* M# O9 x1 a/ |   if Str <> '1' then exit;
/ I( U  Y$ x- R% c7 Y+ ~
- j1 ^! ?' e) e$ E* J, f   Str := callfunc ('getsenderfirstquest');+ d( }4 f' l- H; P7 z6 ?
   FirstQuest := StrToInt (Str);
2 m3 {* `( }: m
( {' ~5 _9 w' l" j   Name := callfunc ('getsendername');
- ]0 q7 `7 U# }; W. S  T( I7 v' b+ i! D& B9 d! o
   if FirstQuest < 6 then begin
1 b4 X) W, D6 z5 c1 b3 Y5 q      Str := 'sendsendertopmsg ' + Name;1 E& N3 {4 x$ c) W  e
      Str := Str + '恭喜你,通过了所有的比试,获得【侠客弓服】';. q+ c: Q  w6 Q4 H1 V( H: c7 D
      print (Str);$ u/ W2 C& s/ X4 U0 ~
" B1 p* n0 c. _2 `8 k# f  _
      Str := callfunc ('checkenoughspace');' D& }0 ]8 \1 K8 ?; z5 {4 v
      if Str = 'false' then begin
. Y# i7 P! ?8 u) w5 ?( f         print ('say 物品栏已满...');7 y) v$ N' Z0 q+ n
         exit;- ]! ]8 i' I; q, W6 G) S
      end;! Y- H4 d! W( i7 ^
3 Q/ I1 C' n' \5 ?& F. }1 Y" K
      print ('changesenderfirstquest 6');0 u  @0 \- }) k

4 K( V' }6 L9 A  x6 H& [$ `! H* ]      Str := callfunc ('getsendersex');1 c  f& I( @( L
      n := StrToInt (Str);1 X3 v& u& O# F& D: u
      if n = 1 then begin
& A9 F) i& x+ ^6 [' Y+ \5 r         print ('putsendermagicitem 男子侠客弓服 @一级老侠客 4');# Y8 ^) `' Z: ^7 X% K1 i
      end;: _: |, B3 s! L* z) r
      if n = 2 then begin* z% n4 o& z+ x- @% j
         print ('putsendermagicitem 女子侠客弓服 @一级老侠客 4');
: ]0 w" L. p  e: y* E' ]      end;
' a  q4 M$ t0 J% G" N! ^! W: C" t         print ('putsendermagicitem 新手训练神剑 @一级老侠客 4');
0 P1 F; l) P, Z+ m) t& w   end;/ O- y0 V/ U# g
8 J6 X" S0 V4 [4 y
   print ('say 佩服_佩服 100');: K. ~; j: w, ~, _- a0 K
0 V" }3 u& q% N
   Str := 'movespace ' + Name;7 D/ K1 k, t. o# H$ o5 \6 g4 e
   Str := Str + ' user 49 25 35 500';" x, A3 p7 O  Q
   print (Str);
( ], F- ]  y4 n+ l3 a% k' Jend;
+ \1 ?7 a7 q; s# p  S
6 T! \) W. P$ J: J& lprocedure OnChangeState (aStr : String);/ l( [4 ^  T8 W  k7 E) b" y
var
9 a; m- X1 b7 ~' ]   Str, Name : String;; L, E' F1 U3 ~3 J) c! l' G
begin$ q& h# D' q( I0 s
   if aStr <> 'die' then exit;) P; z0 J, P2 H: Z5 c

. J' T3 M- h8 d. T8 y   Str := callfunc ('getsenderrace');3 X( u6 v! o/ A$ |3 o/ Q+ ~5 S0 E
   if Str <> '1' then exit;. ~, Y, d4 d, \" n

3 s+ Q/ o+ [# v) N% |( R& a: k8 t   print ('say 小小年纪_就有如此高深的武功 50');
3 ]/ O. K7 {' j   print ('say 日后要继续修炼... 400');
- R) G! U0 m7 o, N6 H9 \. r' Y- L, B7 z3 R
   Name := callfunc ('getsendername');( M- q  A- W4 c
   Str := 'movespace ' + Name;3 ~  {: `$ y" x8 e- F5 l
   Str := Str + ' user 49 106 55 600';
8 p) t6 v0 m/ k, L. o1 d/ u   print (Str);
! N0 x( p! w3 R- c& yend;7 Z9 t7 D- ~& m( U% O

: U$ L7 f4 o" H/ Uend.( A4 R) t& V/ ~) @: \

) v, `: m$ J8 ]; V% E- U-------------------------------------) D- I3 \( H1 }: h/ U

; m8 P0 i$ \6 P7 y*************************************
" S5 j' |. l, {" S5 R
) w; x- c: G' K/ C7 m8 I奖励物品代码:
$ W+ O' N- t% o
* g- J/ M0 S9 ~/ \- f( G" u$ O5 F*************************************
, ~& t& x7 o, e. \
3 |! B+ l5 {/ H男子侠客弓服,男子侠客弓服,24,新手村擂台战利; _  J+ [' i0 v( C, V9 g

! l3 E. @3 C1 U品,2,,,,,FALSE,FALSE,181,6,7,,,,1,1,1,,50000,,,,,,4432,4831,TRUE,,10,20,,,,,,,200,100,100,10! _9 A+ s; m" n2 b
2 i1 G% K" T+ G' v4 l
0,,,,,,3,TRUE,4,,FALSE,,,,,,,,,,,,,,,6 b* U) Z# x% s- \- f* t' X$ w
女子侠客弓服,女子侠客弓服,24,新手村擂台战利
% V0 F0 c( A+ \2 q
- C  J5 {5 m! E; w' ^7 {品,2,,,,,FALSE,FALSE,181,6,7,,,,1,2,1,,50000,,,,,,4432,4831,TRUE,,10,20,,,,,,,200,100,100,10
& l: I: o: g. ~' Z  |2 I1 z/ X0 n% \; {/ G0 W
0,,,,,,3,TRUE,4,,FALSE,,,,,,,,,,,,,,,
# O  J& }# C% D+ x- J0 Z7 s% B新手训练拳套,新手训练拳套,6,新手村擂台战利
, u3 z* p, c; T! m& E  |8 y
6 ?5 E2 y, i" \/ b  [# J$ Z/ O品,1,,,,,FALSE,FALSE,361,9,52,,0,0,1,,1,,50000,50000,,,,,4404,4805,TRUE,20,20,20,,,,,,,,,,,,+ j: t" p5 R5 e% P
5 M/ ], q1 v. q9 M; O/ i
,,,,4,TRUE,3,TRUE,FALSE,,,,,,,,,,,,,,,
, T! k, m6 w2 p) [新手训练神剑,新手训练神剑,6,新手村擂台战利( N- j0 n! f9 g- I+ y- K

% k0 j- ^# c  h2 q& \2 N5 S品,1,,,,,FALSE,FALSE,365,9,69,,2,1,1,,1,,50000,50000,,,,,4404,4805,TRUE,20,20,20,,,,,,,,,,,,- o: ^, b$ q( U

9 T& n4 T) |3 _( t7 D/ t,,,,1,TRUE,3,TRUE,FALSE,,,,,,,,,,,,,,,
7 w  C* x; L" B8 |6 C$ K# `7 a新手训练弯刀,新手训练弯刀,6,新手村擂台战利0 y2 n) s6 n7 r  D4 b) Y2 ~
/ u; i$ a9 j$ {+ q, f
品,7,,,,,FALSE,FALSE,113,9,2,,2,2,1,,1,,50000,50000,,,,,4412,4813,TRUE,20,20,20,,,,,,,,,,,,,
9 c: r$ i3 c" V; J4 e5 @2 l; D7 L6 P6 j3 f' A
,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,
4 V6 @/ V% w6 L7 t% \5 C新手训练长矛,新手训练长矛,6,新手村擂台战利( @9 q6 Y0 x, z' n
$ z7 \4 P. r* O' p4 [) l
品,6,,,,,FALSE,FALSE,117,9,45,,3,4,1,,1,,50000,50000,,,,,4435,4834,TRUE,20,20,20,,,,,,,,,,,,: _/ k4 v5 C9 ^9 s
/ Y+ L3 L; ^1 B% ?( }
,,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,
$ B/ e5 ~$ G4 e7 J! X* B& l新手训练大斧,新手训练大斧,6,新手村擂台战利3 R$ s/ B8 o! H  g. q9 G

  ?- s" F( q# U9 x) W$ ]品,6,,,,,FALSE,FALSE,95,9,12,,3,3,1,,1,,50000,50000,,,,,4415,4815,TRUE,20,20,20,,,,,,,,,,,,,) m1 o2 n, f( ~) A0 I! ?- W

0 j1 S0 q7 k2 B& A# O5 K,,,1,TRUE,4,,FALSE,,,,,,,,,,,,,,,/ n7 |1 {, r0 R3 J( m3 I& C

7 \* H, Q" ^: V% x9 t******************************************
. ~5 g9 k/ j  w4 }; k& y" F
/ P* E% @  j" I% l
3 Z6 F: r( p! }. i' K
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

三千游戏官方客服

扫一扫二维码

添加qq客服

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