Skip to content

fixed absolution stack gain#2297

Merged
shizukayuki merged 1 commit intogenshinsim:mainfrom
kengzzzz:fix-absolution-heal
Jan 1, 2025
Merged

fixed absolution stack gain#2297
shizukayuki merged 1 commit intogenshinsim:mainfrom
kengzzzz:fix-absolution-heal

Conversation

@kengzzzz
Copy link
Contributor

index := args[0].(int)
amount := args[1].(float64)
if char.Index != index || amount > 0 {
if char.Index != index || amount >= 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think better do smth like amount >= -0.001 to be absolutely sure (?)

@shizukayuki shizukayuki merged commit aa1b4b6 into genshinsim:main Jan 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants