aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAqua Deus <95978183+aquadeus@users.noreply.github.com>2022-06-09 14:01:30 +0200
committerGitHub <noreply@github.com>2022-06-09 14:01:30 +0200
commit92a4b0ee5fe1695bd0cfc02e98d4cd46da5f45b6 (patch)
tree47032f04b047f29d1b740a523c2890efc1a5bdcf /src
parenta1f673d1ca91ceea9585f6ec7267aae94d11fca7 (diff)
Scripts/Spells: Fix paladin Righteous Protector cooldown reduction (#27990)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_paladin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp
index 3305bbde815..9ab440d005c 100644
--- a/src/server/scripts/Spells/spell_paladin.cpp
+++ b/src/server/scripts/Spells/spell_paladin.cpp
@@ -1335,8 +1335,8 @@ class spell_pal_righteous_protector : public AuraScript
{
int32 value = aurEff->GetAmount() * 100 * _baseHolyPowerCost->Amount;
- GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_PALADIN_AVENGING_WRATH, Seconds(-value));
- GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_PALADIN_GUARDIAN_OF_ANCIENT_KINGS, Seconds(-value));
+ GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_PALADIN_AVENGING_WRATH, Milliseconds(-value));
+ GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_PALADIN_GUARDIAN_OF_ANCIENT_KINGS, Milliseconds(-value));
}
void Register() override