Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/884662a75a901af6f61cab9efc171d052e8042f4)
This commit is contained in:
@@ -89,7 +89,7 @@ namespace Scripts.Shadowlands.Torghast
|
||||
[Script] // 305060 - Yel'Shir's Powerglove
|
||||
class spell_torghast_yelshirs_powerglove : SpellScript
|
||||
{
|
||||
void CalculateDamage(Unit victim, ref int damage, ref int flatMod, ref float pctMod)
|
||||
void CalculateDamage(SpellEffectInfo spellEffectInfo, Unit victim, ref int damage, ref int flatMod, ref float pctMod)
|
||||
{
|
||||
SpellInfo triggeringSpell = GetTriggeringSpell();
|
||||
if (triggeringSpell != null)
|
||||
|
||||
Reference in New Issue
Block a user