Core/Spells: implement generic shop keeper greeting spells and use them for a couple Stormwind Vendors

This commit is contained in:
Ovahlord committed 2023-07-18 00:02:21 +02:00
1 parent 6c1c91b6b2
commit 12a3e9e64c
3 files changed
+152

No files matched your search

+6
View File
@@ -5970,6 +5970,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(12); // Interact Range
});
// [DND] Dalaran - Shop Keeper Greeting
ApplySpellFix({ 60909 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];