summaryrefslogtreecommitdiff
path: root/npc/cities/einbroch.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 05:43:48 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 05:43:48 +0000
commit36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988 (patch)
tree2f7c6bbdb283b98e36dca3e8344f861fc8f21a1f /npc/cities/einbroch.txt
parent79ea710ca5facb2c20fae16d6107dfa16a0f22bc (diff)
downloadhercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.gz
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.bz2
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.xz
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.zip
fixed typos, added missing NEXT;, optimized Niflheim. Clear nif vars garbage
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8819 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/cities/einbroch.txt')
-rw-r--r--npc/cities/einbroch.txt19
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/cities/einbroch.txt b/npc/cities/einbroch.txt
index c5ca2401f..121bcded2 100644
--- a/npc/cities/einbroch.txt
+++ b/npc/cities/einbroch.txt
@@ -123,6 +123,7 @@ s_Tower2:
s_Apple:
if(Zeny < 20)goto s_NEnough;
+ set Zeny,Zeny - 20;
mes "["+ @Tower_Name$ +"]";
mes "Before I guide you to";
mes "the tower, let me check";
@@ -130,7 +131,6 @@ s_Apple:
mes "your safety before I give";
mes "you the Apple Combo Set.";
next;
- set Zeny,Zeny - 20;
getitem 512,1;
goto s_Tower2;
@@ -221,11 +221,17 @@ s_Goback:
mes "Thank you for using";
mes "our services.";
close2;
- set @towerwarp,rand(1,3);
- if(@towerwarp == 0)warp "einbroch.gat",218,196;
- if(@towerwarp == 1)warp "einbroch.gat",178,172;
- if(@towerwarp == 3)warp "einbroch.gat",172,228;
- end;
+ switch(rand(1,3)){
+ case 0:
+ warp "einbroch.gat",218,196;
+ end;
+ case 1:
+ warp "einbroch.gat",178,172;
+ end;
+ case 3:
+ warp "einbroch.gat",172,228;
+ end;
+ }
OnHide:
specialeffect 16;
@@ -278,7 +284,6 @@ OnUnhide:
misceffect 215;
end;
-
}
einbroch.gat,232,255,5 script Khowropher 847,{