From 5e6b7d4af4c34d9e059afbe38c12e25de728a564 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Fri, 9 May 2008 03:12:26 +0000 Subject: - More scripts fixes. - Some cleanups to the code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12695 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/other/CashShop_Functions.txt | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) (limited to 'npc/other') diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 0dba23f60..c61f13b4f 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -75,20 +75,27 @@ function script F_CashReset { // due to lack of information. // - No arguments. function script F_CashDungeon { - switch(select("Nogg Road:Mjolnir Dead Pit:Umbala Dungeon:Einbroch Mine Dungeon:Payon Dungeon:Toy Dungeon:Glast Heim Underprison:Louyang Dungeon:Hermit's Checkers:Izlude Dungeon:Turtle Island Dungeon:Clock Tower B3f:Clock Tower")) { - case 1: warp "mag_dun01",0,0; end; - case 2: warp "mjolnir_02",0,0; end; - case 3: warp "um_dun01",0,0; end; - case 4: warp "ein_dun01",0,0; end; - case 5: warp "pay_dun00",0,0; end; - case 6: warp "xmas_dun01",0,0; end; - case 7: warp "gl_prison",0,0; end; - case 8: warp "lou_dun01",0,0; end; - case 9: warp "gon_dun02",0,0; end; - case 10: warp "iz_dun00",0,0; end; - case 11: warp "tur_dun02",0,0; end; - case 12: warp "alde_dun03",0,0; end; - case 13: warp "c_tower1",0,0; end; + switch(select("Nogg Road:Mjolnir Dead Pit:Umbala Dungeon:Payon Caves:Toy Factory:Glast Heim Prison:Louyang Dungeon:Kunlun Dungeon:Izlude Undersea Tunnel:Turtle Island:Clocktower 3F:Clocktower B3F:Glast Heim Sewers 2F:Sphinx Dungeon 4F:Pyramid Dungeon 4F:Prontera Culverts 3F:Amatsu Dungeon 1F:Somatology Laboratory 1F:Ayotaya Dungeon 2F")) + { + case 1: warp "mag_dun01",0,0; end; // Nogg Road + case 2: warp "mjo_dun01",0,0; end; // Mjolnir Dead Pit + case 3: warp "um_dun01",0,0; end; // Umbala Dungeon + case 4: warp "pay_dun00",0,0; end; // Payon Caves + case 5: warp "xmas_dun01",0,0; end; // Toy Factory + case 6: warp "gl_prison",0,0; end; // Glast Heim Prison + case 7: warp "lou_dun01",0,0; end; // Louyang Dungeon + case 8: warp "gon_dun01",0,0; end; // Kunlun Dungeon + case 9: warp "iz_dun00",0,0; end; // Izlude Undersea Tunnel + case 10: warp "tur_dun01",0,0; end; // Turtle Island + case 11: warp "c_tower3",0,0; end; // Clocktower 3F + case 12: warp "alde_dun03",0,0; end; // Clocktower B3F + case 13: warp "gl_sew02",0,0; end; // Glast Heim Sewers 2F + case 14: warp "in_sphinx4",0,0; end; // Sphinx Dungeon 4F + case 15: warp "moc_pryd04",0,0; end; // Pyramid Dungeon 4F + case 16: warp "prt_sewb3",0,0; end; // Prontera Culverts 3F + case 17: warp "ama_dun01",0,0; end; // Amatsu Dungeon 1F + case 18: warp "lhz_dun01",0,0; end; // Somatology Laboratory 1F + case 19: warp "ayo_dun02",0,0; end; // Ayotaya Dungeon 2F } return; } -- cgit v1.2.3-70-g09d2