a.atk * 4 - b.def * 1.4 * (@critical ? 1.1 : 1)
(a.atk * 4 - (rand(10) < 3 ? 0 : b.def * 2)) * (@critical ? 1.1 : 1)
shengfeng 发表于 2021-2-6 01:11
伤害公式教程中用到了rand(100) < 30,应该和rand(10) < 3是一样吧?
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |