refactor(Core/Spells): Add helpers for HasAuraType (#20802)
This commit is contained in:
parent
55f6bd0972
commit
ed008a8780
41 changed files with 183 additions and 140 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue