genshinsim / gcsim

monte carlo combat simulation for genshin impact
MIT License
290 stars 95 forks source link

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

Closed Charlie-Zheng closed 5 months ago

Charlie-Zheng commented 5 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