diff options
author | megamage <none@none> | 2009-03-05 15:24:09 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-05 15:24:09 -0600 |
commit | 635faad2bccb05397380737c26d61d71e1a8bcfb (patch) | |
tree | 4d7bef1e2eff681aaff35086fe2ca6f18971f113 /src/game/Unit.cpp | |
parent | ae55745f2a10078d8361c452b2d97661cea73eb2 (diff) | |
parent | 769c835f266c6e94e878d6e2db0118df1fa7b450 (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 25c3aee65e4..e52f15250e8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10268,7 +10268,7 @@ int32 Unit::CalculateSpellDamage(SpellEntry const* spellProto, uint8 effect_inde } } - if(spellProto->Attributes & SPELL_ATTR_LEVEL_DAMAGE_CALCULATION && spellProto->spellLevel && + if(!basePointsPerLevel && (spellProto->Attributes & SPELL_ATTR_LEVEL_DAMAGE_CALCULATION && spellProto->spellLevel) && spellProto->Effect[effect_index] != SPELL_EFFECT_WEAPON_PERCENT_DAMAGE && spellProto->Effect[effect_index] != SPELL_EFFECT_KNOCK_BACK) //there are many more: slow speed, -healing pct |