diff options
author | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
---|---|---|
committer | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
commit | e3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch) | |
tree | 20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/warps/dungeons/c_tower.txt | |
parent | 491892212d338903179909b89a5bfc2385e52261 (diff) | |
download | hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2 hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip |
Update to last rAthena npc.
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/warps/dungeons/c_tower.txt')
-rw-r--r-- | npc/warps/dungeons/c_tower.txt | 119 |
1 files changed, 52 insertions, 67 deletions
diff --git a/npc/warps/dungeons/c_tower.txt b/npc/warps/dungeons/c_tower.txt index 572df52bf..6523ceece 100644 --- a/npc/warps/dungeons/c_tower.txt +++ b/npc/warps/dungeons/c_tower.txt @@ -23,22 +23,20 @@ c_tower2,273,26,0 warp clt005 1,1,c_tower1,235,223 //= Level 2 ================================================== //= Random 2-1 =============================================== c_tower2,13,288,4 script clt006r 45,1,1,{ - set @r,rand(3); - if(@r==1) goto w2; - if(@r==2) goto w3; - warp "c_tower2",13,282; end; - w2: warp "alde_dun03",175,131; end; - w3: warp "c_tower3",235,7; end; + switch(rand(3)) { + case 0: warp "c_tower2",13,282; end; + case 1: warp "alde_dun03",175,131; end; + case 2: warp "c_tower3",235,7; end; + } } //============================================================ //= Random 2-2 =============================================== c_tower2,223,267,4 script clt007r 45,1,1,{ - set @r,rand(3); - if(@r==1) goto w2; - if(@r==2) goto w3; - warp "c_tower2",288,267; end; - w2: warp "alde_dun03",130,130; end; - w3: warp "c_tower3",252,29; end; + switch(rand(3)) { + case 0: warp "c_tower2",288,267; end; + case 1: warp "alde_dun03",130,130; end; + case 2: warp "c_tower3",252,29; end; + } } //============================================================ //= Level 3 ================================================== @@ -50,32 +48,29 @@ c_tower3,146,8,0 warp clt013 1,1,c_tower1,235,223 //============================================================ //= Random 3-1 =============================================== c_tower3,163,252,4 script clt014r 45,1,1,{ - if(rand(2)) { + if (rand(2)) warp "c_tower3",168,252; - } else { + else warp "alde_dun02",262,41; - } end; } //============================================================ //= Random 3-2 =============================================== c_tower3,240,7,4 script clt015r 45,1,1,{ - set @r,rand(3); - if(@r==1) goto w2; - if(@r==2) goto w3; - warp "c_tower2",13,282; end; - w2: warp "alde_dun03",175,131; end; - w3: warp "c_tower3",235,7; end; + switch(rand(3)) { + case 0: warp "c_tower2",13,282; end; + case 1: warp "alde_dun03",175,131; end; + case 2: warp "c_tower3",235,7; end; + } } //============================================================ //= Random 3-3 =============================================== c_tower3,252,24,4 script clt016r 45,1,1,{ - set @r,rand(3); - if(@r==1) goto w2; - if(@r==2) goto w3; - warp "c_tower2",228,267; end; - w2: warp "alde_dun03",130,130; end; - w3: warp "c_tower3",252,29; end; + switch(rand(3)) { + case 0: warp "c_tower2",228,267; end; + case 1: warp "alde_dun03",130,130; end; + case 2: warp "c_tower3",252,29; end; + } } //============================================================ //= Level 4 ================================================== @@ -92,60 +87,50 @@ c_tower4,204,57,0 warp clt026 1,1,c_tower4,65,77 //============================================================ //= Random 4-1 =============================================== c_tower4,75,156,4 script clt027r 45,0,0,{ - set @r,rand(4); - if(@r==1) goto w2; - if(@r==2) goto w3; - if(@r==3) goto w4; - warp "c_tower3",168,252; end; - w2: warp "alde_dun02",262,41; end; - w3: warp "c_tower4",73,154; end; - w4: warp "c_tower4",140,149; end; + switch(rand(4)) { + case 0: warp "c_tower3",168,252; end; + case 1: warp "alde_dun02",262,41; end; + case 2: warp "c_tower4",73,154; end; + case 3: warp "c_tower4",140,149; end; + } } //============================================================ //= Random 4-2 =============================================== c_tower4,68,79,4 script clt028r 45,0,0,{ - set @r,rand(4); - if(@r==1) goto w2; - if(@r==2) goto w3; - if(@r==3) goto w4; - warp "c_tower2",13,282; end; - w2: warp "alde_dun03",175,131; end; - w3: warp "c_tower3",235,7; end; - w4: warp "c_tower4",65,77; end; + switch(rand(4)) { + case 0: warp "c_tower2",13,282; end; + case 1: warp "alde_dun03",175,131; end; + case 2: warp "c_tower3",235,7; end; + case 3: warp "c_tower4",65,77; end; + } } //============================================================ //= Random 4-3 =============================================== c_tower4,142,151,4 script clt029r 45,0,0,{ - set @r,rand(4); - if(@r==1) goto w2; - if(@r==2) goto w3; - if(@r==3) goto w4; - warp "c_tower3",168,252; end; - w2: warp "alde_dun02",262,41; end; - w3: warp "c_tower4",73,154; end; - w4: warp "c_tower4",140,149; end; + switch(rand(4)) { + case 0: warp "c_tower3",168,252; end; + case 1: warp "alde_dun02",262,41; end; + case 2: warp "c_tower4",73,154; end; + case 3: warp "c_tower4",140,149; end; + } } //============================================================ //= Random 4-4 =============================================== c_tower4,151,96,4 script clt030r 45,0,0,{ - set @r,rand(4); - if(@r==1) goto w2; - if(@r==2) goto w3; - if(@r==3) goto w4; - warp "c_tower2",228,267; end; - w2: warp "alde_dun03",130,130; end; - w3: warp "c_tower3",252,29; end; - w4: warp "c_tower4",152,95; end; + switch(rand(4)) { + case 0: warp "c_tower2",228,267; end; + case 1: warp "alde_dun03",130,130; end; + case 2: warp "c_tower3",252,29; end; + case 3: warp "c_tower4",152,95; end; + } } //============================================================ //= Random 4-5 =============================================== c_tower4,189,40,4 script clt031r 45,2,2,{ - set @r,rand(4); - if(@r==1) goto w2; - if(@r==2) goto w3; - if(@r==3) goto w4; - warp "c_tower2",228,267; end; - w2: warp "alde_dun03",130,130; end; - w3: warp "c_tower3",252,29; end; - w4: warp "c_tower4",152,95; end; + switch(rand(4)) { + case 0: warp "c_tower2",228,267; end; + case 1: warp "alde_dun03",130,130; end; + case 2: warp "c_tower3",252,29; end; + case 3: warp "c_tower4",152,95; end; + } } |