mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Core/Spells): Fixed Hunter's Mark not being casted by Swamplord M… (#14457)
fix(Core/Spells): Fixed Hunter's Mark not being casted by Swamplord Musel'ek. Fixes #13993
This commit is contained in:
@@ -4455,6 +4455,16 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->Effects[EFFECT_0].TargetB = TARGET_DEST_CASTER;
|
||||
});
|
||||
|
||||
// Hunter's Mark
|
||||
ApplySpellFix({ 31615 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
for (uint8 index = EFFECT_0; index <= EFFECT_1; ++index)
|
||||
{
|
||||
spellInfo->Effects[index].TargetA = TARGET_UNIT_TARGET_ENEMY;
|
||||
spellInfo->Effects[index].TargetB = 0;
|
||||
}
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
||||
Reference in New Issue
Block a user