summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index b3a63d5e6..5de2b6786 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -779,7 +779,11 @@ function script HUB_SkillInvoke {
// Debug
if ($@GM_OVERRIDE || debug)
- debugmes "Cast skill %d on level %d", @skillId, @skillLv;
+ debugmes "Cast skill %d on level %d - Target %d",
+ @skillId, @skillLv, @skillTarget;
+
+ // Cleanup (double-safe)
+ @skillTarget = 0;
return;
}