summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-16 19:12:34 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-16 19:12:34 -0300
commit9ef54333c66d7aa5d5454580d66d615f42a66823 (patch)
treefaa5de410651502e500d1f4a939ee72bd9053c0d /npc
parent3fbbd431de30e0c685f24f78d356bc4da4b86920 (diff)
downloadserverdata-9ef54333c66d7aa5d5454580d66d615f42a66823.tar.gz
serverdata-9ef54333c66d7aa5d5454580d66d615f42a66823.tar.bz2
serverdata-9ef54333c66d7aa5d5454580d66d615f42a66823.tar.xz
serverdata-9ef54333c66d7aa5d5454580d66d615f42a66823.zip
Fix a bug on Heroes Hold
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 8b2241148..de128fda9 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -239,7 +239,7 @@ 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)
+ if (getskilllv(@skillId) < @skillLv && @skillId != BS_GREED)
Exception("System ERROR, HSI."+@skillId+" INVALID CAST (got "+@skillLv+" expected "+getskilllv(@skillId)+", sub-LC."+(getcharid(3)-2000000)+")", RB_DEBUGMES|RB_ISFATAL);
// You are AFK for over 3 minutes, that's crazy, disregard
if (checkidle() > 180)