Scripts/Spells: Fix paladin Righteous Protector cooldown reduction
Port From (https://github.com/TrinityCore/TrinityCore/commit/92a4b0ee5fe1695bd0cfc02e98d4cd46da5f45b6)
This commit is contained in:
@@ -1129,8 +1129,8 @@ namespace Scripts.Spells.Paladin
|
|||||||
{
|
{
|
||||||
int value = aurEff.GetAmount() * 100 * _baseHolyPowerCost.Amount;
|
int value = aurEff.GetAmount() * 100 * _baseHolyPowerCost.Amount;
|
||||||
|
|
||||||
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.AvengingWrath, TimeSpan.FromSeconds(-value));
|
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.AvengingWrath, TimeSpan.FromMilliseconds(-value));
|
||||||
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.GuardianOfAcientKings, TimeSpan.FromSeconds(-value));
|
GetTarget().GetSpellHistory().ModifyCooldown(SpellIds.GuardianOfAcientKings, TimeSpan.FromMilliseconds(-value));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Register()
|
public override void Register()
|
||||||
|
|||||||
Reference in New Issue
Block a user