Closed mjshin82 closed 5 years ago
I also seem to the same problem,according to the contract formula,i can not calc the right result.but according to the hp,alive hp,kill count I can calc the right result ,so it is a bug?or the github contarct is different form the contract in eos mainnet .
@mj-raindays
It was fixed int -> double https://github.com/bada-studio/knights_contract/blob/master/knights/contract/knight_control.hpp#L378
Oria total damage: 2862-27 = 2835 Scarllet total damage: 3024-189 = 2835
total damage is reduced by this formula.
make damage_per_min to double type.