Skip to content

Commit

Permalink
Merge pull request #1182 from hillerstorm/fix_prepull_coil_target
Browse files Browse the repository at this point in the history
  • Loading branch information
hillerstorm authored Nov 7, 2024
2 parents 61770bd + a7682b8 commit 8181e0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sim/death_knight/death_coil.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ func (dk *DeathKnight) registerDeathCoilSpell() {
CritMultiplier: dk.DefaultMeleeCritMultiplier(),
ThreatMultiplier: 1.0,

ExtraCastCondition: func(sim *core.Simulation, target *core.Unit) bool {
return dk.Inputs.Spec == proto.Spec_SpecUnholyDeathKnight
},

ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) {
baseHealing := dk.ClassSpellScaling*0.87599998713 + spell.MeleeAttackPower()*0.23
spell.CalcAndDealHealing(sim, target, baseHealing, spell.OutcomeHealingCrit)
spell.CalcAndDealHealing(sim, &dk.Ghoul.Unit, baseHealing, spell.OutcomeHealingCrit)

if hasGlyphOfDeathsEmbrace {
dk.AddRunicPower(sim, 20, rpMetrics)
Expand Down

0 comments on commit 8181e0c

Please sign in to comment.