Use unified code for adding remaining DoT damage to some talents.

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-07-21 01:42:02 +02:00
parent a94afe82ca
commit 389f6084c9
2 changed files with 23 additions and 10 deletions
+2
View File
@@ -1826,6 +1826,8 @@ class Unit : public WorldObject
void MeleeDamageBonus(Unit *pVictim, uint32 *damage, WeaponAttackType attType, SpellEntry const *spellProto = NULL);
uint32 GetCastingTimeForBonus(SpellEntry const *spellProto, DamageEffectType damagetype, uint32 CastingTime);
uint32 GetRemainingDotDamage(uint64 caster, uint32 spellId, uint8 effectIndex = 0) const;
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply);
void ApplySpellDispelImmunity(const SpellEntry * spellProto, DispelType type, bool apply);
virtual bool IsImmunedToSpell(SpellEntry const* spellInfo);