*Prevent possible problems with application of negative auras with 0 duration, now only spell hits which were diminished are immuned.

*Remove old code of SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE forgotten in c84e55b632.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-16 14:23:03 +02:00
parent 719f13874e
commit b406321c01
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1106,7 +1106,7 @@ class Unit : public WorldObject
DiminishingLevels GetDiminishing(DiminishingGroup group);
void IncrDiminishing(DiminishingGroup group);
void ApplyDiminishingToDuration(DiminishingGroup group, int32 &duration,Unit* caster, DiminishingLevels Level, int32 limitduration);
float ApplyDiminishingToDuration(DiminishingGroup group, int32 &duration,Unit* caster, DiminishingLevels Level, int32 limitduration);
void ApplyDiminishingAura(DiminishingGroup group, bool apply);
void ClearDiminishings() { m_Diminishing.clear(); }