mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
refactor(Core/Spells): Add helpers for HasAuraType (#20802)
This commit is contained in:
@@ -82,7 +82,7 @@ class spell_winter_wondervolt_trap : public SpellScript
|
||||
if (Player* target = GetHitPlayer())
|
||||
{
|
||||
// check presence
|
||||
if (target->HasAuraType(SPELL_AURA_TRANSFORM))
|
||||
if (target->HasTransformAura())
|
||||
return;
|
||||
|
||||
uint32 spellId = 0;
|
||||
|
||||
Reference in New Issue
Block a user