Core/Spells: Pass cast item level to triggered spells

* Fixes value on trinkets like Ignition Mage's Fuse
This commit is contained in:
Shauren
2022-02-08 21:36:31 +01:00
parent d3fc34a203
commit 8e2d1e328e
9 changed files with 46 additions and 52 deletions
+1 -2
View File
@@ -105,8 +105,7 @@ class spell_q1846_bending_shinbone : public SpellScript
return;
uint32 const spellId = roll_chance_i(20) ? SPELL_BENDING_SHINBONE1 : SPELL_BENDING_SHINBONE2;
caster->CastSpell(caster, spellId, CastSpellExtraArgs(TRIGGERED_FULL_MASK)
.SetOriginalCastId(GetSpell()->m_castId));
caster->CastSpell(caster, spellId, GetSpell());
}
void Register() override