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/Unit.h | |
parent | 5d0c5c244811625224d779b799e2e2a24f35b819 (diff) |
Final fix basepoints calculation, thx to Vladimir, Laise.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 6c62f1c1bfe..71ddc3bb5f0 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1839,7 +1839,7 @@ class Unit : public WorldObject bool isHover() const { return HasAuraType(SPELL_AURA_HOVER); } int32 ApplyEffectModifiers(SpellEntry const* spellProto, uint8 effect_index, int32 value); - int32 CalculateSpellDamage(SpellEntry const* spellProto, uint8 effect_index, int32 basePoints, Unit const* target); + int32 CalculateSpellDamage(Unit const* target, SpellEntry const* spellProto, uint8 effect_index, int32 const* basePoints = NULL); int32 CalcSpellDuration(SpellEntry const* spellProto); int32 ModSpellDuration(SpellEntry const* spellProto, Unit const* target, int32 duration, bool positive); void ModSpellCastTime(SpellEntry const* spellProto, int32 & castTime, Spell * spell=NULL); |