Skip to content

Commit

Permalink
don't use ranged timeworn strikes if AutoSwingRanged isn't enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Nov 22, 2024
1 parent ec302c7 commit 8eda185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/common/sod/item_effects/phase_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func TimewornStrikeAura(agent core.Agent) {
},
})

if !character.HasRangedWeapon() {
if !character.HasRangedWeapon() || !character.AutoAttacks.AutoSwingRanged {
return
}

Expand Down

0 comments on commit 8eda185

Please sign in to comment.