summaryrefslogtreecommitdiff
path: root/world/map/npc/002-1/elanore.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-13 10:30:14 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-13 22:09:03 -0400
commit414b37aedff74320b0c991a113e752fa3e014bd7 (patch)
treea2b03602e3c54a9968f5b8961dc5fab85da8b803 /world/map/npc/002-1/elanore.txt
parentda0f4578b83cc2f9df249dc1bb5bb33d720cb7a8 (diff)
downloadserverdata-414b37aedff74320b0c991a113e752fa3e014bd7.tar.gz
serverdata-414b37aedff74320b0c991a113e752fa3e014bd7.tar.bz2
serverdata-414b37aedff74320b0c991a113e752fa3e014bd7.tar.xz
serverdata-414b37aedff74320b0c991a113e752fa3e014bd7.zip
a few fixes/modifications here and there
Diffstat (limited to 'world/map/npc/002-1/elanore.txt')
-rw-r--r--world/map/npc/002-1/elanore.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/world/map/npc/002-1/elanore.txt b/world/map/npc/002-1/elanore.txt
index b6cdde5a..ea3b78bf 100644
--- a/world/map/npc/002-1/elanore.txt
+++ b/world/map/npc/002-1/elanore.txt
@@ -20,7 +20,7 @@ function|script|ElanoreFix
function|script|elanore_decrease_exp
{
if (attachrid(@killerrid) == 0)
- end;
+ goto L_Return;
set @Q_heal_exp, MAGIC_EXPERIENCE >> 24;
if (@Q_heal_exp < 8) goto L_OnPcKillWipe;
set @Q_heal_exp, @Q_heal_exp - 8;
@@ -32,6 +32,9 @@ L_OnPcKillWipe:
L_OnPcKillFinish:
set MAGIC_EXPERIENCE, (MAGIC_EXPERIENCE & ~(255 << 24)) | (@Q_heal_exp << 24);
+ goto L_Return;
+
+L_Return:
return;
}