summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-29 06:33:59 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-29 06:33:59 -0300
commitb63ad6193c57cf610126fe3b7a80932aeaa412e6 (patch)
tree4c20ad00d34b5b3145638607cdb803a77010a22a /npc/functions
parent2332976167bfe6803b7f268083b37ff2d9344ec6 (diff)
downloadserverdata-b63ad6193c57cf610126fe3b7a80932aeaa412e6.tar.gz
serverdata-b63ad6193c57cf610126fe3b7a80932aeaa412e6.tar.bz2
serverdata-b63ad6193c57cf610126fe3b7a80932aeaa412e6.tar.xz
serverdata-b63ad6193c57cf610126fe3b7a80932aeaa412e6.zip
Better safe than sorry
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;
}