From b63ad6193c57cf610126fe3b7a80932aeaa412e6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Jul 2020 06:33:59 -0300 Subject: Better safe than sorry --- npc/functions/hub.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-60-g2f50