Core/Spells: Triggered spells should ignore combo points check, fixes issue 4006

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-09-14 12:56:32 +03:00
parent e5e980b686
commit 5e7bec0268

View File

@@ -5744,7 +5744,7 @@ SpellCastResult Spell::CheckCast(bool strict)
}
// check if caster has at least 1 combo point for spells that require combo points
if (m_needComboPoints)
if (m_needComboPoints && !m_IsTriggeredSpell)
if (Player* plrCaster = m_caster->ToPlayer())
if (!plrCaster->GetComboPoints())
return SPELL_FAILED_NO_COMBO_POINTS;