mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-09 20:43:52 +00:00
[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:
parent
1de0c27629
commit
e2708af6f2
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user