mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9475] Add and use TotemSlot enum type
This commit is contained in:
parent
7e2d7d8324
commit
ded1e3c263
10 changed files with 85 additions and 82 deletions
|
|
@ -4515,7 +4515,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
|||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellIconID == 33)
|
||||
{
|
||||
// fire totems slot
|
||||
if (!m_caster->m_TotemSlot[0])
|
||||
if (!m_caster->GetTotemGUID(TOTEM_SLOT_FIRE))
|
||||
return SPELL_FAILED_TOTEMS;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue