genshinsim / gcsim

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

Cannot do division with .charcter.energy and a non integer. #2139

Closed Alolo99 closed 5 months ago

Alolo99 commented 6 months ago

Cannot do division with .charcter.energy and a non integer: -> let cE = .kazuha.energy / 3.662;
ERROR: "panic occured: runtime error: integer divide by zero" Can somebody help me ?