Skip to content

Commit

Permalink
Added stance restriction for Whirlwind
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGroxEmpire committed Aug 17, 2023
1 parent 53b4569 commit bff24be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sim/warrior/whirlwind.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ func (warrior *Warrior) registerWhirlwindSpell() {
Duration: core.TernaryDuration(warrior.HasMajorGlyph(proto.WarriorMajorGlyph_GlyphOfWhirlwind), time.Second*8, time.Second*10),
},
},
ExtraCastCondition: func(sim *core.Simulation, target *core.Unit) bool {
return warrior.StanceMatches(BerserkerStance)
},

DamageMultiplier: 1 *
(1 + 0.02*float64(warrior.Talents.UnendingFury) + 0.1*float64(warrior.Talents.ImprovedWhirlwind)),
Expand Down

0 comments on commit bff24be

Please sign in to comment.