Core/Spells: Extended mechanic mask to uint64
Port From (https://github.com/TrinityCore/TrinityCore/commit/de7c03c8385780f05530c2b3cf952a712d5f8f00)
This commit is contained in:
@@ -1855,10 +1855,10 @@ namespace Game.Entities
|
||||
|
||||
if (!positive)
|
||||
{
|
||||
uint mechanicMask = spellInfo.GetSpellMechanicMaskByEffectMask(effectMask);
|
||||
ulong mechanicMask = spellInfo.GetSpellMechanicMaskByEffectMask(effectMask);
|
||||
bool mechanicCheck(AuraEffect aurEff)
|
||||
{
|
||||
if ((mechanicMask & (1 << aurEff.GetMiscValue())) != 0)
|
||||
if ((mechanicMask & (1ul << aurEff.GetMiscValue())) != 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user