fix(Core/Spells): Rapture should ignore line of sight. (#11519)
Rapture should not generate threat. Fixes #11396
This commit is contained in:
parent
d8d0d5a5e4
commit
7dc494bd55
1 changed files with 8 additions and 0 deletions
|
|
@ -4249,6 +4249,14 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_CASTER_PROCS;
|
||||
});
|
||||
|
||||
// Rapture
|
||||
ApplySpellFix({ 63652, 63653, 63654, 63655 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AttributesEx |= SPELL_ATTR1_NO_THREAT;
|
||||
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue