Core/Spells: Fixed spell duration scaling with combo points
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e68fd1458551ab0f007b6044c9220da8f7d4199)
This commit is contained in:
@@ -2239,7 +2239,7 @@ namespace Game.Spells
|
||||
}
|
||||
}
|
||||
|
||||
hitInfo.AuraDuration = Aura.CalcMaxDuration(m_spellInfo, origCaster);
|
||||
hitInfo.AuraDuration = Aura.CalcMaxDuration(m_spellInfo, origCaster, m_powerCost);
|
||||
|
||||
// unit is immune to aura if it was diminished to 0 duration
|
||||
if (!hitInfo.Positive && !unit.ApplyDiminishingToDuration(m_spellInfo, ref hitInfo.AuraDuration, origCaster, diminishLevel))
|
||||
|
||||
Reference in New Issue
Block a user