From 96d260e1bb2742224abe02bafe33e6267d39287a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 25 Nov 2019 20:20:15 -0300 Subject: Remove IRC Broadcast from HUB Skill Invoke function. --- npc/functions/hub.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/functions') 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; -- cgit v1.2.3-70-g09d2