summaryrefslogtreecommitdiff
path: root/npc/warps/dungeons/prt_maze.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/warps/dungeons/prt_maze.txt')
-rw-r--r--npc/warps/dungeons/prt_maze.txt68
1 files changed, 29 insertions, 39 deletions
diff --git a/npc/warps/dungeons/prt_maze.txt b/npc/warps/dungeons/prt_maze.txt
index 6cfd23abd..03ca59de5 100644
--- a/npc/warps/dungeons/prt_maze.txt
+++ b/npc/warps/dungeons/prt_maze.txt
@@ -1,11 +1,9 @@
-//===== rAthena Script =======================================
+//===== Hercules Script ======================================
//= Prontera Dungeons Warp Script
//===== By: ==================================================
//= Nana (1.0)
//===== Current Version: =====================================
//= 1.1
-//===== Compatible With: =====================================
-//= Any Athena Version
//===== Description: =========================================
//= Warp Points for Prontera Dungeons
//===== Additional Comments: =================================
@@ -108,15 +106,13 @@ prt_maze02,100,182,0 warp mazewarp5202 1,1,prt_maze03,182,88 /*To No.3-15*/
prt_maze03,22,194,0 warp mazewarp5301 1,1,prt_maze03,175,48 /*To No.3-20*/
prt_maze03,5,186,0 warp mazewarp5302 1,1,prt_maze03,151,134 /*To No.3-9*/
//3rd Floor No.02
-prt_maze03,58,194,0 script #mazewarp5303 45,1,1,{
- set @w,rand(4);
- if(@w==1)goto w2;
- if(@w==2)goto w3;
- if(@w==3)goto w4;
- warp "prt_maze03",98,151; end; /*To No.3-8*/
- w2: warp "prt_maze03",137,128; end; /*To No.3-9*/
- w3: warp "prt_maze03",14,71; end; /*To No.3-16*/
- w4: warp "prt_maze03",54,8; end; /*To No.3-22*/
+prt_maze03,58,194,0 script #mazewarp5303 WARPNPC,1,1,{
+ switch(rand(4)) {
+ case 0: warp "prt_maze03",98,151; end; /*To No.3-8*/
+ case 1: warp "prt_maze03",137,128; end; /*To No.3-9*/
+ case 2: warp "prt_maze03",14,71; end; /*To No.3-16*/
+ case 3: warp "prt_maze03",54,8; end; /*To No.3-22*/
+ }
}
// 3rd Floor No.03
prt_maze03,102,165,0 warp mazewarp5304 1,1,prt_maze03,137,71 /*To No.3-19*/
@@ -168,15 +164,13 @@ prt_maze03,14,74,0 warp mazewarp5336 1,1,prt_maze03,63,111 /*To No.3-12*/
prt_maze03,14,45,0 warp mazewarp5337 1,1,prt_maze03,88,174 /*To No.3-3*/
prt_maze03,5,58,0 warp mazewarp5338 1,1,prt_maze03,191,15 /*To No.3-25*/
// 3rd Floor No.17
-prt_maze03,74,74,0 script #mazewarp5339 45,1,1,{
-set @w,rand(4);
- if(@w==1)goto w2;
- if(@w==2)goto w3;
- if(@w==3)goto w4;
- warp "prt_maze03",98,151; end; /*To No.3-8*/
- w2: warp "prt_maze03",137,128; end; /*To No.3-9*/
- w3: warp "prt_maze03",14,71; end; /*To No.3-16*/
- w4: warp "prt_maze03",54,8; end; /*To No.3-22*/
+prt_maze03,74,74,0 script #mazewarp5339 WARPNPC,1,1,{
+ switch(rand(4)) {
+ case 0: warp "prt_maze03",98,151; end; /*To No.3-8*/
+ case 1: warp "prt_maze03",137,128; end; /*To No.3-9*/
+ case 2: warp "prt_maze03",14,71; end; /*To No.3-16*/
+ case 3: warp "prt_maze03",54,8; end; /*To No.3-22*/
+ }
}
prt_maze03,52,45,0 warp mazewarp5340 1,1,prt_maze03,16,31 /*To No.3-21*/
// 3rd Floor No.18
@@ -186,15 +180,13 @@ prt_maze03,114,56,0 warp mazewarp5343 1,1,prt_maze03,8,140 /*To No.3-6*/
prt_maze03,85,56,0 warp mazewarp5344 1,1,prt_maze03,176,31 /*To No.3-25*/
// 3rd Floor No.19
prt_maze03,137,74,0 warp mazewarp5345 1,1,prt_maze03,102,168 /*To No.3-3*/
-prt_maze03,139,45,0 script #mazewarp5346 45,1,1,{
- set @w,rand(4);
- if(@w==1)goto w2;
- if(@w==2)goto w3;
- if(@w==3)goto w4;
- warp "prt_maze03",98,151; end; /*To No.3-8*/
- w2: warp "prt_maze03",137,128; end; /*To No.3-9*/
- w3: warp "prt_maze03",14,71; end; /*To No.3-16*/
- w4: warp "prt_maze03",54,8; end; /*To No.3-22*/
+prt_maze03,139,45,0 script #mazewarp5346 WARPNPC,1,1,{
+ switch(rand(4)) {
+ case 0: warp "prt_maze03",98,151; end; /*To No.3-8*/
+ case 1: warp "prt_maze03",137,128; end; /*To No.3-9*/
+ case 2: warp "prt_maze03",14,71; end; /*To No.3-16*/
+ case 3: warp "prt_maze03",54,8; end; /*To No.3-22*/
+ }
}
// 3rd Floor No.20
prt_maze03,177,74,0 warp mazewarp5347 1,1,prt_maze03,23,128 /*To No.3-6*/
@@ -212,15 +204,13 @@ prt_maze03,99,34,0 warp mazewarp5355 1,1,prt_maze03,98,151 /*To No.3-8*/
prt_maze03,114,22,0 warp mazewarp5356 1,1,prt_maze03,104,71 /*To No.3-18*/
prt_maze03,85,13,0 warp mazewarp5357 1,1,prt_maze03,23,8 /*To No.3-21*/
// 3rd Floor No.24
-prt_maze03,154,22,0 script #mazewarp5358 45,1,1,{
- set @w,rand(4);
- if(@w==1)goto w2;
- if(@w==2)goto w3;
- if(@w==3)goto w4;
- warp "prt_maze03",98,151; end; /*To No.3-8*/
- w2: warp "prt_maze03",137,128; end; /*To No.3-9*/
- w3: warp "prt_maze03",14,71; end; /*To No.3-16*/
- w4: warp "prt_maze03",54,8; end; /*To No.3-22*/
+prt_maze03,154,22,0 script #mazewarp5358 WARPNPC,1,1,{
+ switch(rand(4)) {
+ case 0: warp "prt_maze03",98,151; end; /*To No.3-8*/
+ case 1: warp "prt_maze03",137,128; end; /*To No.3-9*/
+ case 2: warp "prt_maze03",14,71; end; /*To No.3-16*/
+ case 3: warp "prt_maze03",54,8; end; /*To No.3-22*/
+ }
}
// 3rd Floor No.25
prt_maze03,176,34,0 warp mazewarp5359 1,1,prt_maze03,88,56 /*To No.3-18*/