diff options
author | QAston <none@none> | 2009-08-17 16:30:14 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-17 16:30:14 +0200 |
commit | b8993423b5bad734c1ff7d30eb387686fb6c208d (patch) | |
tree | c700e21e66d0c970e82469bb3f70faa7e2b3e1c3 /src/game/SpellMgr.cpp | |
parent | b568a9cc4afe9bb8bae290338a59d9d4f0c83587 (diff) |
*Implement aura type SPELL_AURA_MOD_CRIT_PCT(290).
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 03626d9f7e7..321e9e26673 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -795,6 +795,7 @@ bool SpellMgr::_isPositiveEffect(uint32 spellId, uint32 effIndex, bool deep) con if(spellproto->CalculateSimpleValue(effIndex) > 0) return false; break; + case SPELL_AURA_MOD_CRIT_PCT: case SPELL_AURA_MOD_SPELL_CRIT_CHANCE: if(spellproto->CalculateSimpleValue(effIndex) > 0) return true; // some expected positive spells have SPELL_ATTR_EX_NEGATIVE |