Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute

Port From (https://github.com/TrinityCore/TrinityCore/commit/c8ebf077c7b934eeb33466cd11a92ba00b931a3d)
This commit is contained in:
hondacrx
2023-05-02 14:26:30 -04:00
parent 1f75a2645a
commit 9decc17cd0
4 changed files with 196 additions and 3 deletions
+10 -1
View File
@@ -4341,8 +4341,17 @@ namespace Game.Entities
});
});
ApplySpellFix(new[] { 265057 }, spellInfo =>
{
ApplySpellEffectFix(spellInfo, 0, spellEffectInfo =>
{
// Fix incorrect spell id (it has self in TriggerSpell)
spellEffectInfo.TriggerSpell = 16403;
});
});
// Ray of Frost (Fingers of Frost charges)
ApplySpellFix(new []{ 269748 }, spellInfo =>
ApplySpellFix(new[] { 269748 }, spellInfo =>
{
spellInfo.AttributesEx &= ~SpellAttr1.IsChannelled;
});