summaryrefslogtreecommitdiff
path: root/npc/warps/dungeons/pay_dun.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/warps/dungeons/pay_dun.txt')
-rw-r--r--npc/warps/dungeons/pay_dun.txt28
1 files changed, 12 insertions, 16 deletions
diff --git a/npc/warps/dungeons/pay_dun.txt b/npc/warps/dungeons/pay_dun.txt
index 5f513e899..b34700446 100644
--- a/npc/warps/dungeons/pay_dun.txt
+++ b/npc/warps/dungeons/pay_dun.txt
@@ -1,16 +1,14 @@
-//===== rAthena Script =======================================
+//===== Hercules Script ======================================
//= Payon Cave Warps
-//===== By: ==================================================
+//===== By: ==================================================
//= Nana (1.0)
-//===== Current Version: =====================================
+//===== Current Version: =====================================
//= 1.2
-//===== Compatible With: =====================================
-//= Any rAthena Mod
-//===== Description: =========================================
+//===== Description: =========================================
//= Payon Dungeon Warps
-//===== Additional Comments: =================================
+//===== Additional Comments: =================================
//= 1.1a Fixed 'payd04r' warping players to a non-existant tile [MasterOfMuppets]
-//============================================================
+//============================================================
//= Payon Cave ===============================================
pay_dun00,184,33,0 warp payd01 2,7,pay_dun01,19,33
@@ -21,14 +19,12 @@ pay_dun02,137,128,0 warp payd03 4,1,pay_dun03,155,159
pay_dun02,16,63,0 warp payd02-1 2,7,pay_dun01,283,28
pay_dun03,155,161,0 warp payd03-1 2,1,pay_dun02,137,126
pay_dun03,127,62,4 script payd04r 45,2,2,{
- set @r,rand(4);
- if(@r==1) goto w2;
- if(@r==2) goto w3;
- if(@r==3) goto w4;
- warp "pay_dun04",201,204; end;
- w2: warp "pay_dun04",189,43; end;
- w3: warp "pay_dun04",43,40; end;
- w4: warp "pay_dun04",34,202; end;
+ switch(rand(4)) {
+ case 0: warp "pay_dun04",201,204; end;
+ case 1: warp "pay_dun04",189,43; end;
+ case 2: warp "pay_dun04",43,40; end;
+ case 3: warp "pay_dun04",34,202; end;
+ }
}
pay_dun04,191,41,0 warp payd04-2 1,1,pay_dun03,124,62
pay_dun04,202,206,0 warp payd04-3 1,1,pay_dun03,124,62