mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
fix(core/spell): Presence of Mind should not apply cooldown mods on c… (#17890)
fix(core/spell): Presence of Mind should not apply cooldown mods on category spells. Mage T4 set 4 set bonus puts cooldown reduction on Presence of Mind which should not be passed down to category spells, because in case of infinity cooldown on Arcane Power it does not get reset when you lose the Presence of Mind aura and Arcane Power stays forever in cooldown or more specifically for 1 month(infinity cooldown). Closes https://github.com/azerothcore/azerothcore-wotlk/issues/17800 Patch 3.0.9 https://wowpedia.fandom.com/wiki/Patch_3.0.9 Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -4797,6 +4797,13 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->MaxAffectedTargets = 5;
|
||||
});
|
||||
|
||||
// Presence Of Mind
|
||||
ApplySpellFix({ 12043 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
// It should not share cooldown mods with category[1151] spells (Arcane Power [12042], Decimate [47271])
|
||||
spellInfo->AttributesEx6 |= SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS;
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
||||
Reference in New Issue
Block a user