列3: s = 100 + a.atk; s * (1 - b.def / (100 + b.def) ) 比如这样使用,我尝试了几次都是报错
alexncf125 发表于 2020-9-9 22:06
100 - 100 * b.def / (100 + b.def)
=100 - 100 * 50 / (100 + 50)
=100 - 5000 / 150
alexncf125 发表于 2020-9-9 22:06
100 - 100 * b.def / (100 + b.def)
=100 - 100 * 50 / (100 + 50)
=100 - 5000 / 150
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |