mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed… (#9897)
* fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed Shot. Fixes #9707 * Update.
This commit is contained in:
@@ -3058,7 +3058,14 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
case SPELLFAMILY_HUNTER:
|
||||
// Aspects
|
||||
if (spellInfo->GetCategory() == 47)
|
||||
{
|
||||
spellInfo->AttributesCu |= SPELL_ATTR0_CU_NO_INITIAL_THREAT;
|
||||
}
|
||||
// Aimed Shot
|
||||
if (spellInfo->SpellFamilyFlags[0] & 0x00020000)
|
||||
{
|
||||
spellInfo->AttributesCu |= SPELL_ATTR0_CU_FORCE_SEND_CATEGORY_COOLDOWNS;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -7581,6 +7588,14 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
if (spellInfo->SpellIconID == 2721 && spellInfo->SpellFamilyFlags[0] & 0x2)
|
||||
spellInfo->SpellFamilyFlags[0] |= 0x40;
|
||||
break;
|
||||
case SPELLFAMILY_HUNTER:
|
||||
// Aimed Shot not affected by category cooldown modifiers
|
||||
if (spellInfo->SpellFamilyFlags[0] & 0x00020000)
|
||||
{
|
||||
spellInfo->AttributesEx6 |= SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS;
|
||||
spellInfo->RecoveryTime = 10 * IN_MILLISECONDS;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
// Recklessness/Shield Wall/Retaliation
|
||||
|
||||
Reference in New Issue
Block a user