diff options
author | Happy <markaizer@gmail.com> | 2014-08-21 04:50:46 +0800 |
---|---|---|
committer | Happy <markaizer@gmail.com> | 2014-08-21 04:50:46 +0800 |
commit | f52e1007fe08c67003c0bc4c78231904dd3fd5cc (patch) | |
tree | 99907d827264e501774e58ab4630e41fa7103c02 /npc/warps/fields/glastheim.txt | |
parent | 2410110dece79b4598c12f1c953219f1d0d1904a (diff) | |
parent | 769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6 (diff) | |
download | hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.gz hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.bz2 hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.xz hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.zip |
Merge pull request #1 from HerculesWS/master
Update from original
Diffstat (limited to 'npc/warps/fields/glastheim.txt')
-rw-r--r-- | npc/warps/fields/glastheim.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/npc/warps/fields/glastheim.txt b/npc/warps/fields/glastheim.txt index e5d2d359b..1edc677e6 100644 --- a/npc/warps/fields/glastheim.txt +++ b/npc/warps/fields/glastheim.txt @@ -1,17 +1,16 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Glastheim Warp Script //===== By: ================================================== //= Athena (1.0) //===== Current Version: ===================================== -//= 1.4 -//===== Compatible With: ===================================== -//= Any Athena Version; RO Episode 2.x +//= 1.5 //===== Description: ========================================= //= Warp Points for Glastheim //===== Additional Comments: ================================= //= Split off npc_warp.txt, 1.1 added gl18-2 [Lupus] //= optimized random warp [Lupus] fixed looped warps //= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] +//= 1.5 Fixed random warp coordinates. [Euphy] //============================================================ //Glastheim @@ -52,10 +51,13 @@ gl_knt02,10,138,0 warp gl14-1 1,1,gl_knt01,7,148 gl_knt02,157,292,0 warp gl16-1 1,1,gl_knt01,150,286 gl_knt02,289,138,0 warp gl17-1 1,1,gl_knt01,292,144 gl_prison,149,183,0 warp gl18-1 1,1,gl_prison1,150,14 -gl_prison,10,70,4 script gl18-2 45,1,1,{ -if(rand(2)==1) goto w2; - warp "gl_cas01",236,192; end; -w2: warp "gl_cas01",164,191; end; +gl_prison,11,70,0 script gl18-2 WARPNPC,1,1,{ + switch(rand(4)) { + case 0: warp "gl_cas01",163,193; end; + case 1: warp "gl_cas01",238,192; end; + case 2: warp "gl_cas01",144,314; end; + case 3: warp "gl_cas01",367,301; end; + } } gl_prison1,150,10,0 warp gl18 1,1,gl_prison,149,178 gl_prison1,62,187,0 warp gl10 1,1,gl_sew01,258,255 |