From 8e2d1e328ebec60c76d65651b268ec3ad2ce26fc Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 8 Feb 2022 21:36:31 +0100 Subject: Core/Spells: Pass cast item level to triggered spells * Fixes value on trinkets like Ignition Mage's Fuse --- src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server/scripts/EasternKingdoms') diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index 68f79008b5c..a51a990dcd7 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -388,8 +388,7 @@ class spell_death_knight_initiate_visual : public SpellScript default: return; } - target->CastSpell(target, spellId, CastSpellExtraArgs(TRIGGERED_FULL_MASK) - .SetOriginalCastId(GetSpell()->m_castId)); + target->CastSpell(target, spellId, GetSpell()); target->LoadEquipment(); } -- cgit v1.2.3