Core/Unit: check remaining instead of full duration for Bounced by DR auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0fa8c72a3c2f82ed49c47f2f1e29618d6ef6abb)
This commit is contained in:
@@ -3157,7 +3157,7 @@ namespace Game.Entities
|
||||
if (spellInfo.GetDiminishingReturnsGroupForSpell() != diminishGroup)
|
||||
continue;
|
||||
|
||||
int existingDuration = itr.Value.GetBase().GetMaxDuration();
|
||||
int existingDuration = itr.Value.GetBase().GetDuration();
|
||||
int newDuration = auraSpellInfo.GetMaxDuration();
|
||||
ApplyDiminishingToDuration(auraSpellInfo, ref newDuration, caster, level);
|
||||
if (newDuration > 0 && newDuration < existingDuration)
|
||||
|
||||
Reference in New Issue
Block a user