summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 61e80e442..d42cd9b3e 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -171,9 +171,10 @@ function script HUB_Logout {
// HUB_SkillInvoke ( )
function script HUB_SkillInvoke {
+ // TODO: Detect what was script-cast and what was player-case. Then, readd RB_IRCBROADCAST
// If you can't do this: You can't do this
if (getskilllv(@skillId) < @skillLv)
- Exception("System ERROR, HSI."+@skillId+" INVALID CAST (got "+@skillLv+" expected "+getskilllv(@skillId)+", sub-LC."+(getcharid(3)-2000000)+")", RB_IRCBROADCAST|RB_DEBUGMES|RB_ISFATAL);
+ Exception("System ERROR, HSI."+@skillId+" INVALID CAST (got "+@skillLv+" expected "+getskilllv(@skillId)+", sub-LC."+(getcharid(3)-2000000)+")", RB_DEBUGMES|RB_ISFATAL);
// Record to database
skillInvoke[@skillId] = skillInvoke[@skillId] + 1;