mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
refactor(Core/Spells): Add helpers for HasAuraType (#20802)
This commit is contained in:
@@ -117,7 +117,7 @@ public:
|
||||
uint8 powerType = classEntry->powerType;
|
||||
|
||||
// reset m_form if no aura
|
||||
if (!player->HasAuraType(SPELL_AURA_MOD_SHAPESHIFT))
|
||||
if (!player->HasShapeshiftAura())
|
||||
player->SetShapeshiftForm(FORM_NONE);
|
||||
|
||||
player->SetFactionForRace(player->getRace());
|
||||
|
||||
Reference in New Issue
Block a user