refactor(Core/Immunities): Simplify UI64 literal conversion for cleaner code (#25360)

This commit is contained in:
天鹭 2026-04-07 19:54:43 +08:00 committed by GitHub
parent 6c43bdb5df
commit 9ef460759c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 68 additions and 68 deletions

View file

@ -3001,7 +3001,7 @@ class spell_dk_pvp_4p_bonus : public AuraScript
if (!spellInfo)
return false;
return (spellInfo->GetAllEffectsMechanicMask() & ((1 << MECHANIC_ROOT) | (1 << MECHANIC_SNARE))) != 0;
return (spellInfo->GetAllEffectsMechanicMask() & ((1ULL << MECHANIC_ROOT) | (1ULL << MECHANIC_SNARE))) != 0;
}
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)