From 414b37aedff74320b0c991a113e752fa3e014bd7 Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 13 May 2015 10:30:14 -0400 Subject: a few fixes/modifications here and there --- world/map/npc/002-1/elanore.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'world/map/npc/002-1') 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; } -- cgit v1.2.3-70-g09d2