summaryrefslogtreecommitdiff
path: root/npc/warps
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-20 02:02:55 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-20 02:02:55 +0000
commitf174652995ddf8b5f29f18adc26ce70f92a64766 (patch)
tree98737066c62330eb1857638a9fdf608004d69b92 /npc/warps
parent649b8c9c50f453cb15f9a48c7c8e6c6bf393d171 (diff)
downloadhercules-f174652995ddf8b5f29f18adc26ce70f92a64766.tar.gz
hercules-f174652995ddf8b5f29f18adc26ce70f92a64766.tar.bz2
hercules-f174652995ddf8b5f29f18adc26ce70f92a64766.tar.xz
hercules-f174652995ddf8b5f29f18adc26ce70f92a64766.zip
* Implemented proper Juperos Core event-driven access.
- Bug testing and further optimization required. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11523 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/warps')
-rw-r--r--npc/warps/dungeons/juperos.txt82
1 files changed, 8 insertions, 74 deletions
diff --git a/npc/warps/dungeons/juperos.txt b/npc/warps/dungeons/juperos.txt
index 3208e4c3d..5d23cc273 100644
--- a/npc/warps/dungeons/juperos.txt
+++ b/npc/warps/dungeons/juperos.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Muad-Dib (1.0)
//===== Current Version: =====================================
-//= 1.3
+//= 1.6
//===== Compatible With: =====================================
//= eAthena with independant npctimer support; RO Episode 8+
//===== Description: =========================================
@@ -15,6 +15,8 @@
//= 1.3 Fixed getting stuck when player relogs in. [Lance]
//= 1.4 Added attachnpctimer to the initnpctimer calls. [Skotlex]
//= 1.5 Implemented a part of the Juperos quest [MasterOfMuppets]
+//= 1.6 Removed area1 and area2 warps. These are event warps. [L0ne_W0lf]
+//= Added static warps for gate -> area1/2/elevator.
//============================================================
yuno_fild07,207,175,0 warp jupwrp01 1,1,jupe_cave,143,52
@@ -54,76 +56,8 @@ s_Nice:
}
-juperos_02,33,60,0 warp jupwrp06 1,1,juperos_01,99,88
-jupe_ele_r,49,27,0 warp jupwrp07 1,1,jupe_gate,49,52
-jupe_gate,49,55,0 warp jupwrp08 1,1,jupe_ele_r,49,30
-
-jupe_gate,28,30,0 warp jupwrp11 1,1,jupe_area1,115,158
-jupe_area1,118,158,0 warp jupwrp12 1,1,jupe_gate,31,30
-jupe_gate,71,30,0 warp jupwrp13 1,1,jupe_area2,48,158
-jupe_area2,45,158,0 warp jupwrp14 1,1,jupe_gate,68,30
-jupe_gate,28,146,0 warp jupwrp15 1,1,jupe_area1,101,222
-jupe_area1,103,222,0 warp jupwrp16 1,1,jupe_gate,31,146
-jupe_gate,71,146,0 warp jupwrp17 1,1,jupe_area2,62,222
-jupe_area2,60,222,0 warp jupwrp18 1,1,jupe_gate,68,146
-
-jupe_area1,84,222,0 warp jupwrp21 1,1,jupe_area1,45,260
-jupe_area1,48,260,0 warp jupwrp22 1,1,jupe_area1,86,222
-jupe_area1,22,226,0 warp jupwrp23 1,1,jupe_area1,22,189
-jupe_area1,22,192,0 warp jupwrp24 1,1,jupe_area1,22,228
-jupe_area1,34,138,0 warp jupwrp25 1,1,jupe_area1,34,103
-jupe_area1,34,106,0 warp jupwrp26 1,1,jupe_area1,34,140
-jupe_area1,58,54,0 warp jupwrp27 1,1,jupe_area1,86,158
-jupe_area1,84,158,0 warp jupwrp28 1,1,jupe_area1,55,54
-
-jupe_area2,79,222,0 warp jupwrp31 1,1,jupe_area2,118,260
-jupe_area2,115,260,0 warp jupwrp32 1,1,jupe_area2,77,222
-jupe_area2,141,226,0 warp jupwrp33 1,1,jupe_area2,141,189
-jupe_area2,141,192,0 warp jupwrp34 1,1,jupe_area2,141,228
-jupe_area2,129,138,0 warp jupwrp35 1,1,jupe_area2,129,103
-jupe_area2,129,106,0 warp jupwrp36 1,1,jupe_area2,129,140
-jupe_area2,105,54,0 warp jupwrp37 1,1,jupe_area2,77,158
-jupe_area2,79,158,0 warp jupwrp38 1,1,jupe_area2,108,54
-
-juperos_02,129,150,0 script JupeWarp2 -1,1,1{
-OnInit:
- disablenpc "JupeWarp2";
- end;
-OnTouch:
- warp "jupe_gate",49,162;
- end;
-}
-
-jupe_gate,49,168,0 script JupeWarp3 -1,1,1,{
-OnTouch:
- warp "juperos_02",129,147;
- end;
-}
-
-jupe_ele_r,50,98,0 script Juperos Guard 111,{
- mes "Are you sure you want to enter the Juperos Core?";
- next;
- if(select("Yes","No") == 1){
- attachnpctimer;
- initnpctimer;
- soundeffect "jupe_warning.wav",0;
- }
- close;
-
-OnTimer5000:
- stopnpctimer;
- setnpctimer 0;
- warp "jupe_core",150,20;
- end;
-}
-
-jupe_core,150,17,0 script Juperos Guard#2 111,{
- mes "Leave Juperos Core?";
- next;
- if(select("Yes", "No") == 1){
- close2;
- warp "jupe_ele_r",50,94;
- end;
- }
- close;
-}
+jupe_gate,28,145,0 warp gate#left1 45,2,4,jupe_area1",100,222
+jupe_area1,103,222,0 warp gate#left2 45,2,4,jupe_gate",31,145
+jupe_gate,71,145,0 warp gate#right1 45,2,4,jupe_area2",63,222
+jupe_area2,60,222,0 warp gate#right2 45,2,4,jupe_gate",68,145
+jupe_gate,49,55,0 warp gate#ele 45,4,2,jupe_ele_r,49,30