fix(Core/Spell): Refreshment Table position (#19704)
Refreshment Table game object should be created at the same position its Refreshment Portal was created.
This commit is contained in:
parent
edd7e10dfc
commit
4734582e58
1 changed files with 7 additions and 0 deletions
|
|
@ -4822,6 +4822,13 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_CASTER_PROCS;
|
||||
});
|
||||
|
||||
// Conjure Refreshment Table (Rank 1, Rank 2)
|
||||
ApplySpellFix({ 43985, 58661 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER_FRONT);
|
||||
spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_5_YARDS);
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue