Scripts/Spells: Fix paladin Righteous Protector cooldown reduction

Port From (https://github.com/TrinityCore/TrinityCore/commit/92a4b0ee5fe1695bd0cfc02e98d4cd46da5f45b6)
This commit is contained in:
hondacrx
2022-06-14 22:44:19 -04:00
parent 53619fff1d
commit bf4bf6c321
+2 -2
View File
@@ -1129,8 +1129,8 @@ namespace Scripts.Spells.Paladin
{
int value = aurEff.GetAmount() * 100 * _baseHolyPowerCost.Amount;
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.AvengingWrath, TimeSpan.FromSeconds(-value));
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.GuardianOfAcientKings, TimeSpan.FromSeconds(-value));
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.AvengingWrath, TimeSpan.FromMilliseconds(-value));
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.GuardianOfAcientKings, TimeSpan.FromMilliseconds(-value));
}
public override void Register()