aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-04-11 11:43:23 +0400
committern0n4m3 <none@none>2010-04-11 11:43:23 +0400
commita3be43a297443062d83cfbe4307f96bcdc53e619 (patch)
tree0382bcf58f36acdde4ba85677f962e4942022fa0 /src/game/Unit.h
parent5d0c5c244811625224d779b799e2e2a24f35b819 (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.h2
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);