summaryrefslogtreecommitdiff
path: root/npc/warps/dungeons
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 06:39:58 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 06:39:58 +0000
commit729424c1ebb6762f49b85c97d56dabb5975958a1 (patch)
tree78f8bd86c4b5c02e30e5838cb191109fe69f33b6 /npc/warps/dungeons
parent4fd1ecc58626ef3b2ce5668ec008315c4b7e35a7 (diff)
downloadhercules-729424c1ebb6762f49b85c97d56dabb5975958a1.tar.gz
hercules-729424c1ebb6762f49b85c97d56dabb5975958a1.tar.bz2
hercules-729424c1ebb6762f49b85c97d56dabb5975958a1.tar.xz
hercules-729424c1ebb6762f49b85c97d56dabb5975958a1.zip
* Final fix on Juperos NPC.
* Fix on initnpctimer not attaching rid. * Fix on OnTouch ignoring -1 NPCs. * Fix on @reloadscript crashing due to passing non BL_SKILL bl to a function that accepts only BL_SKILL bl. * Added area NPC detection in clif_parseLoadEndAck. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5638 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/warps/dungeons')
-rw-r--r--npc/warps/dungeons/juperos.txt17
1 files changed, 7 insertions, 10 deletions
diff --git a/npc/warps/dungeons/juperos.txt b/npc/warps/dungeons/juperos.txt
index 42c1433da..1882a3518 100644
--- a/npc/warps/dungeons/juperos.txt
+++ b/npc/warps/dungeons/juperos.txt
@@ -55,21 +55,19 @@ juperos_02.gat,129,150,0 script Juperos 111,{
mes "Are you sure you want to enter?";
next;
if(select("Yes","No") == 1){
- close2;
- set jupe_destination$, "jupe_ele.gat";
+ set jupe_destination$, "jupe_ele_r.gat";
set jupe_destination_x, 50;
set jupe_destination_y, 94;
+ close2;
warp "jupe_ele.gat",41,45;
end;
}
close;
}
-jupe_ele.gat,41,45,0 script detectionUnit -1,10,10{
- if(jupe_ele_timer == 0){
- set jupe_ele_timer, 1;
- initnpctimer;
- }
+jupe_ele.gat,41,45,0 script detectionUnit -1,20,20{
+OnTouch:
+ initnpctimer;
end;
OnTimer1000:
@@ -80,11 +78,10 @@ OnTimer1000:
OnTimer15000:
stopnpctimer;
setnpctimer 0;
- set jupe_ele_timer, 0;
+ warp jupe_destination$,jupe_destination_x,jupe_destination_y;
set jupe_destination$, "";
set jupe_destination_x, 0;
set jupe_destination_y, 0;
- warp jupe_destination$,jupe_destination_x,jupe_destination_y;
end;
}
@@ -92,10 +89,10 @@ jupe_ele_r.gat,50,98,0 script Juperos Elevator 111,{
mes "Are you sure you want to go up?";
next;
if(select("Yes","No") == 1){
- close2;
set jupe_destination$, "juperos_02.gat";
set jupe_destination_x, 129;
set jupe_destination_y, 147;
+ close2;
warp "jupe_ele.gat",41,45;
}
close;