*Fix a typo that break nearly all channelled spells. Sorry.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -2308,8 +2308,8 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect* triggeredByAura
|
|||||||
ReSetTimer();
|
ReSetTimer();
|
||||||
//Containers for channeled spells have to be set
|
//Containers for channeled spells have to be set
|
||||||
//TODO:Apply this to all casted spells if needed
|
//TODO:Apply this to all casted spells if needed
|
||||||
// Why check m_casttime? 29350: channelled triggers channelled
|
// Why check duration? 29350: channelled triggers channelled
|
||||||
if(m_IsTriggeredSpell && (!IsChanneledSpell(m_spellInfo) || !m_casttime))
|
if(m_IsTriggeredSpell && (!IsChanneledSpell(m_spellInfo) || !GetSpellMaxDuration(m_spellInfo)))
|
||||||
cast(true);
|
cast(true);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user