diff options
author | n0n4m3 <none@none> | 2010-04-11 11:43:23 +0400 |
---|---|---|
committer | n0n4m3 <none@none> | 2010-04-11 11:43:23 +0400 |
commit | a3be43a297443062d83cfbe4307f96bcdc53e619 (patch) | |
tree | 0382bcf58f36acdde4ba85677f962e4942022fa0 /src/game/Spell.h | |
parent | 5d0c5c244811625224d779b799e2e2a24f35b819 (diff) |
Final fix basepoints calculation, thx to Vladimir, Laise.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.h')
-rw-r--r-- | src/game/Spell.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h index f3065f8c425..2793a31ba16 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -420,7 +420,7 @@ class Spell SpellCastResult CheckRuneCost(uint32 runeCostID); SpellCastResult CheckCasterAuras() const; - int32 CalculateDamage(uint8 i, Unit* target) { return m_caster->CalculateSpellDamage(m_spellInfo,i,m_currentBasePoints[i],target); } + int32 CalculateDamage(uint8 i, Unit* target) { return m_caster->CalculateSpellDamage(target, m_spellInfo, i, &m_currentBasePoints[i]); } bool HaveTargetsForEffect(uint8 effect) const; void Delayed(); |