Core/Unit: check remaining instead of full duration for Bounced by DR auras
This commit is contained in:
1 parent
2eb11c7b7c
commit
49c861d064
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user