Scripts/Spells: Correctly implement Murmur's Touch & Dire Brew

Port From (https://github.com/TrinityCore/TrinityCore/commit/496eba4e8d579816895c11060f896faa4523623e)
This commit is contained in:
hondacrx
2022-09-05 18:37:14 -04:00
parent 40e2291f4e
commit 747c91bf73
2 changed files with 45 additions and 11 deletions
+3 -11
View File
@@ -3240,7 +3240,9 @@ namespace Game.Entities
38762, // Force of Neltharaku
51122, // Fierce Lightning Stike
71848, // Toxic Wasteling Find Target
36146 // Chains of Naberius
36146, // Chains of Naberius
33711, // Murmur's Touch
38794 // Murmur's Touch
}, spellInfo =>
{
spellInfo.MaxAffectedTargets = 1;
@@ -3315,16 +3317,6 @@ namespace Game.Entities
spellInfo.MaxAffectedTargets = 15;
});
// Murmur's Touch
ApplySpellFix(new[] { 33711, 38794 }, spellInfo =>
{
spellInfo.MaxAffectedTargets = 1;
ApplySpellEffectFix(spellInfo, 0, spellEffectInfo =>
{
spellEffectInfo.TriggerSpell = 33760;
});
});
// Fingers of Frost
ApplySpellFix(new[] { 44544 }, spellInfo =>
{