summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-25 20:20:15 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-25 20:20:15 -0300
commit96d260e1bb2742224abe02bafe33e6267d39287a (patch)
treef55e23f62a76fd7cdf731b534fb7fb5fc4a8c17c /npc/functions/hub.txt
parent67b79be83fda4e59af2164ae2668ce7c2476a6e1 (diff)
downloadserverdata-96d260e1bb2742224abe02bafe33e6267d39287a.tar.gz
serverdata-96d260e1bb2742224abe02bafe33e6267d39287a.tar.bz2
serverdata-96d260e1bb2742224abe02bafe33e6267d39287a.tar.xz
serverdata-96d260e1bb2742224abe02bafe33e6267d39287a.zip
Remove IRC Broadcast from HUB Skill Invoke function.
Diffstat (limited to 'npc/functions/hub.txt')
-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;