genshinsim / gcsim

monte carlo combat simulation for genshin impact
MIT License
282 stars 91 forks source link

Fix BOL event emitting even if HPdebt didn't change #2183

Closed Charlie-Zheng closed 3 months ago

Charlie-Zheng commented 3 months ago

The current implementation emits a negative value when HPDebt=0 and amt is negative. However, in this case, the HPDebt didn't change, so the event should emit 0 HPDebt change