*Fix a creature spell use bug.
--HG-- branch : trunk
This commit is contained in:
@@ -208,10 +208,7 @@ void TempSummon::InitSummon()
|
||||
if(GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER && m_spells[0])
|
||||
{
|
||||
setFaction(owner->getFaction());
|
||||
if(m_spells[1] && GetMap()->IsHeroic())
|
||||
CastSpell(this, m_spells[1], false, 0, 0, m_summonerGUID);
|
||||
else
|
||||
CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID);
|
||||
CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user