diff options
| author | Shauren <shauren.trinity@gmail.com> | 2022-02-08 21:36:31 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-02-08 21:36:31 +0100 |
| commit | 8e2d1e328ebec60c76d65651b268ec3ad2ce26fc (patch) | |
| tree | cebc7c310a12d3983151000e766e96a510a8a2d4 /src/server/scripts/EasternKingdoms | |
| parent | d3fc34a203d97ca0aa076bc939286d601629fe70 (diff) | |
Core/Spells: Pass cast item level to triggered spells
* Fixes value on trinkets like Ignition Mage's Fuse
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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(); } |
