fix(Scripts/Misc): Replace some AddItem/CreateItem with spells (#9006)

Co-authored-by: offl <11556157+offl@users.noreply.github.com>
This commit is contained in:
Kitzunu
2021-11-20 13:59:52 +01:00
committed by GitHub
parent efe999309a
commit 6a430cd2f9
6 changed files with 157 additions and 114 deletions

View File

@@ -7436,6 +7436,24 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
// Serverside - Summon Arcane Disruptor
ApplySpellFix({ 49591 }, [](SpellEntry* spellInfo)
{
spellInfo->ProcChance = 101;
spellInfo->Effect[1] = 24;
spellInfo->EffectImplicitTargetA[1] = 25;
spellInfo->EffectItemType[1] = 37889;
});
// Serverside - Create Rocket Pack
ApplySpellFix({ 70055 }, [](SpellEntry* spellInfo)
{
spellInfo->ProcChance = 101;
spellInfo->Effect[1] = 24;
spellInfo->EffectImplicitTargetA[1] = 25;
spellInfo->EffectItemType[1] = 49278;
});
// Ashenvale Outrunner Sneak
// Stealth
ApplySpellFix({ 20540, 32199 }, [](SpellEntry* spellInfo)