Fixed Issue 11. Now combo points are kept when finishing move misses. Revert it if it's wrong.

--HG--
branch : trunk
This commit is contained in:
Astellar
2010-01-06 00:26:15 +03:00
parent da81f2ccd8
commit b56b2c2a43

View File

@@ -1099,9 +1099,9 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
}
}
// Do not take combo points on dodge
// Do not take combo points on dodge and miss
if (m_needComboPoints && m_targets.getUnitTargetGUID() == target->targetGUID)
if( missInfo != SPELL_MISS_NONE && missInfo != SPELL_MISS_MISS)
if (missInfo != SPELL_MISS_NONE)
m_needComboPoints = false;
// Trigger info was not filled in spell::preparedatafortriggersystem - we do it now