diff options
| author | Meji <alvaromegias_46@hotmail.com> | 2021-12-12 18:35:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-12 18:35:15 +0100 |
| commit | 1a846415493289fc3852e56c82514d85c421267c (patch) | |
| tree | adf920c6b1dac55bea7419469ebde0e1014bfd34 /src/server/scripts | |
| parent | 1c00109756815b6888303b31748595521fd7809c (diff) | |
Core/BattlePets: Added default cooldown to revive battle pets (#27383)
* Added SpellHistory function to retrieve remaining category cooldown
* Changed SpellHistory::ModifySpellCooldown to allow adjusting only regular spell cooldown without touching category
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Spells/spell_priest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp index 199901fe175..8884a8ec8b5 100644 --- a/src/server/scripts/Spells/spell_priest.cpp +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -425,7 +425,7 @@ class spell_pri_holy_words : public AuraScript SpellInfo const* targetSpellInfo = sSpellMgr->AssertSpellInfo(targetSpellId, GetCastDifficulty()); int32 cdReduction = targetSpellInfo->GetEffect(cdReductionEffIndex).CalcValue(GetTarget()); - GetTarget()->GetSpellHistory()->ModifyCooldown(targetSpellInfo, Seconds(-cdReduction)); + GetTarget()->GetSpellHistory()->ModifyCooldown(targetSpellInfo, Seconds(-cdReduction), true); } void Register() override |
