Core/Unit: check remaining instead of full duration for Bounced by DR auras

This commit is contained in:
ariel- authored and Aokromes committed 2018-01-21 12:39:28 +01:00
1 parent 2eb11c7b7c
commit 49c861d064
1 file changed
+1 -1
+1 -1
View File
@@ -4487,7 +4487,7 @@ bool Unit::HasStrongerAuraWithDR(SpellInfo const* auraSpellInfo, Unit* caster, b
if (spellInfo->GetDiminishingReturnsGroupForSpell(triggered) != diminishGroup)
continue;
int32 existingDuration = itr->second->GetBase()->GetMaxDuration();
int32 existingDuration = itr->second->GetBase()->GetDuration();
int32 newDuration = auraSpellInfo->GetMaxDuration();
ApplyDiminishingToDuration(auraSpellInfo, triggered, newDuration, caster, level);
if (newDuration > 0 && newDuration < existingDuration)