diff options
| author | Astellar <none@none> | 2010-01-06 00:26:15 +0300 |
|---|---|---|
| committer | Astellar <none@none> | 2010-01-06 00:26:15 +0300 |
| commit | b56b2c2a4339073456290079fc4bfb2bf0b6b5ed (patch) | |
| tree | dc67adedf1d06601f4af60a6b76101247b1a2cdb /src | |
| parent | da81f2ccd80fc250fa584345efc4e7eb9af545f7 (diff) | |
Fixed Issue 11. Now combo points are kept when finishing move misses. Revert it if it's wrong.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 9aa54f9b14e..1d855f727cf 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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 |
