Skip to content

Commit

Permalink
Fix absolution gaining stacks on heals (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
kengzzzz authored Jan 1, 2025
1 parent dcc484e commit aa1b4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/weapons/sword/absolution/absolution.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func NewWeapon(c *core.Core, char *character.CharWrapper, p info.WeaponProfile)
c.Events.Subscribe(event.OnHPDebt, func(args ...interface{}) bool {
index := args[0].(int)
amount := args[1].(float64)
if char.Index != index || amount > 0 {
if char.Index != index || amount >= 0 {
return false
}
if !char.StatModIsActive(dmgBonusKey) {
Expand Down

0 comments on commit aa1b4b6

Please sign in to comment.