summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-09 03:12:26 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-09 03:12:26 +0000
commit5e6b7d4af4c34d9e059afbe38c12e25de728a564 (patch)
tree4cd3e222e7e9fbd13171290efe895753e2ac4f0b /npc
parent471667fa635a99bb32c0c2cc246a72706618b2fe (diff)
downloadhercules-5e6b7d4af4c34d9e059afbe38c12e25de728a564.tar.gz
hercules-5e6b7d4af4c34d9e059afbe38c12e25de728a564.tar.bz2
hercules-5e6b7d4af4c34d9e059afbe38c12e25de728a564.tar.xz
hercules-5e6b7d4af4c34d9e059afbe38c12e25de728a564.zip
- 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
Diffstat (limited to 'npc')
-rw-r--r--npc/cities/umbala.txt3
-rw-r--r--npc/other/CashShop_Functions.txt35
-rw-r--r--npc/warps/other/arena.txt2
3 files changed, 23 insertions, 17 deletions
diff --git a/npc/cities/umbala.txt b/npc/cities/umbala.txt
index 548e36877..4a7329d0b 100644
--- a/npc/cities/umbala.txt
+++ b/npc/cities/umbala.txt
@@ -53,7 +53,6 @@ comodo,171,137,1 script Haith#um 92,{
mes "[La Ed]";
mes "Let's do it~ !!";
emotion e_gg;
- emotion e_gg;
next;
mes "[Haith]";
mes "................";
@@ -1024,7 +1023,7 @@ OnTouch:
case 3:
//if (rand(1,2) == 2) {
// percentheal -99,0;
- // warp "warp "nif_in",69,15;
+ // warp "nif_in",69,15;
//}
end;
}
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;
}
diff --git a/npc/warps/other/arena.txt b/npc/warps/other/arena.txt
index e23e1f50f..9770a8537 100644
--- a/npc/warps/other/arena.txt
+++ b/npc/warps/other/arena.txt
@@ -33,7 +33,7 @@ sec_in02,79,180,3 script #arenacontrol 81,{
DLGTEMP:
input @input_arena;
if (@input_arena < 0 || @input_arena > 2000) goto DLGTEMP; //CHECK
- if (@input == 0)
+ if (@input_arena == 0)
{
mes "Error!";
close;