diff --git a/sim/common/item_effects.go b/sim/common/item_effects.go index 7e618e0e9..d9591603c 100644 --- a/sim/common/item_effects.go +++ b/sim/common/item_effects.go @@ -2831,11 +2831,16 @@ func init() { drainLifeActionID := core.ActionID{SpellID: 18817} healthMetrics := character.NewHealthMetrics(drainLifeActionID) drainLifeSpell := character.RegisterSpell(core.SpellConfig{ - ActionID: drainLifeActionID, - SpellSchool: core.SpellSchoolShadow, - DefenseType: core.DefenseTypeMagic, - ProcMask: core.ProcMaskEmpty, + ActionID: drainLifeActionID, + SpellSchool: core.SpellSchoolShadow, + DefenseType: core.DefenseTypeMagic, + ProcMask: core.ProcMaskEmpty, + Flags: core.SpellFlagNoOnCastComplete | core.SpellFlagPassiveSpell, + DamageMultiplier: 1, + ThreatMultiplier: 1, + BonusCoefficient: 1, + ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) { result := spell.CalcAndDealDamage(sim, target, 35, spell.OutcomeAlwaysHit) character.GainHealth(sim, result.Damage, healthMetrics) @@ -2843,12 +2848,15 @@ func init() { }) flamestrikeSpell := character.RegisterSpell(core.SpellConfig{ - ActionID: core.ActionID{SpellID: 18818}, - SpellSchool: core.SpellSchoolFire, - DefenseType: core.DefenseTypeMagic, - ProcMask: core.ProcMaskEmpty, + ActionID: core.ActionID{SpellID: 18818}, + SpellSchool: core.SpellSchoolFire, + DefenseType: core.DefenseTypeMagic, + ProcMask: core.ProcMaskEmpty, + Flags: core.SpellFlagNoOnCastComplete | core.SpellFlagPassiveSpell, + DamageMultiplier: 1, ThreatMultiplier: 1, + ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) { for _, aoeTarget := range sim.Encounter.TargetUnits { spell.CalcAndDealDamage(sim, aoeTarget, sim.Roll(75, 125), spell.OutcomeMagicHit)