diff options
author | Blaymoira <none@none> | 2009-01-04 17:58:31 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2009-01-04 17:58:31 +0100 |
commit | aafde5059f15c7f8dbab080d79769e3477e5ee59 (patch) | |
tree | 6c7ae5d216a5aeebd02a0f59d8a0cac3c2983184 /src/game/Unit.h | |
parent | c9f0d4292afa4b468728c456f7ec0f56d8d15c62 (diff) | |
parent | a7cc53d2620512548feb23446f469326110fb859 (diff) |
*Merge
--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 c3f5be3adb1..3cba888eb01 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -919,7 +919,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void CalculateMeleeDamage(Unit *pVictim, uint32 damage, CalcDamageInfo *damageInfo, WeaponAttackType attackType = BASE_ATTACK); void DealMeleeDamage(CalcDamageInfo *damageInfo, bool durabilityLoss); - void CalculateSpellDamage(SpellNonMeleeDamage *damageInfo, int32 damage, SpellEntry const *spellInfo, WeaponAttackType attackType = BASE_ATTACK); + void CalculateSpellDamageTaken(SpellNonMeleeDamage *damageInfo, int32 damage, SpellEntry const *spellInfo, WeaponAttackType attackType = BASE_ATTACK); void DealSpellDamage(SpellNonMeleeDamage *damageInfo, bool durabilityLoss); float MeleeSpellMissChance(const Unit *pVictim, WeaponAttackType attType, int32 skillDiff, uint32 spellId) const; |