*Fix Heart of the Pheonix
*Fix autoshoot rotation with steady shot. *Make Incanter's Absorption not interrupt other casts. --HG-- branch : trunk
This commit is contained in:
1 parent
4a662071aa
commit
507b9fb051
6 files changed
+25
-8
No files matched your search
+1
-1
@@ -4829,7 +4829,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
|
||||
SpellCastResult Spell::CheckPetCast(Unit* target)
|
||||
{
|
||||
if(!m_caster->isAlive())
|
||||
if(!m_caster->isAlive() && !(m_spellInfo->Attributes & SPELL_ATTR_CASTABLE_WHILE_DEAD))
|
||||
return SPELL_FAILED_CASTER_DEAD;
|
||||
|
||||
if(m_caster->hasUnitState(UNIT_STAT_CASTING) && !m_IsTriggeredSpell) //prevent spellcast interruption by another spellcast
|
||||
|
||||
Reference in new issue
Block a user