Skip to content

Commit

Permalink
Update rip.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick authored Dec 23, 2024
1 parent dbef6c7 commit 68e1bc6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sim/druid/rip.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ func (druid *Druid) newRipSpellConfig(ripRank RipRankInfo) core.SpellConfig {
TickLength: time.Second * 2,

OnSnapshot: func(sim *core.Simulation, target *core.Unit, dot *core.Dot, isRollover bool) {
cp := float64(druid.ComboPoints())
ap := dot.Spell.MeleeAttackPower()

cpScaling := core.TernaryFloat64(cp == 5, 4, cp)
cpScaling := core.TernaryFloat64(cp == 5, 4, float64(druid.ComboPoints()))

Check failure on line 104 in sim/druid/rip.go

View workflow job for this annotation

GitHub Actions / build-and-test

cpScaling declared and not used

Check failure on line 104 in sim/druid/rip.go

View workflow job for this annotation

GitHub Actions / build-and-test

undefined: cp
baseDamage := ripRank.dmgTickBase + ripRank.dmgTickPerCombo*cp

Check failure on line 105 in sim/druid/rip.go

View workflow job for this annotation

GitHub Actions / build-and-test

undefined: cp
dot.Snapshot(target, baseDamage, isRollover)
},
Expand Down

0 comments on commit 68e1bc6

Please sign in to comment.