[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.
This commit is contained in:
Chris 2022-05-25 17:53:40 -04:00 committed by GitHub
parent 1de0c27629
commit e2708af6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);