Skip to content

Commit

Permalink
Spell: Fix dummy check preventing creatures from casting fire nova totem
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Sep 3, 2023
1 parent e034bb7 commit 2bdfa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6159,7 +6159,7 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_BAD_TARGETS;
}
// Fire Nova
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellIconID == 33)
if (m_caster->IsPlayer() && m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellIconID == 33)
{
// fire totems slot
if (!m_caster->GetTotemGuid(TOTEM_SLOT_FIRE))
Expand Down

0 comments on commit 2bdfa36

Please sign in to comment.