From e2708af6f2b0e5ddc3b2506f79432fe1960800e4 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 25 May 2022 17:53:40 -0400 Subject: [PATCH] [Bug Fix] Blocked spells max spell id increased (#2207) https://github.com/EQEmu/Server/pull/2073 broke blocking spells. There is another location in mob.h that needs to be updated to int32. Tested as fixed on my server. --- zone/mob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/mob.h b/zone/mob.h index 9ad8c7ab0..67aaa734a 100644 --- a/zone/mob.h +++ b/zone/mob.h @@ -1239,8 +1239,8 @@ public: inline uint8 GetManaPercent() { return (uint8)((float)current_mana / (float)max_mana * 100.0f); } virtual uint8 GetEndurancePercent() { return 0; } - inline virtual bool IsBlockedBuff(int16 SpellID) { return false; } - inline virtual bool IsBlockedPetBuff(int16 SpellID) { return false; } + inline virtual bool IsBlockedBuff(int32 SpellID) { return false; } + inline virtual bool IsBlockedPetBuff(int32 SpellID) { return false; } std::string GetGlobal(const char *varname); void SetGlobal(const char *varname, const char *newvalue, int options, const char *duration, Mob *other = nullptr);