# 第二命中判定 eva = 8 * self.mdef / attacker.mdef + self.eva hit = self.damage < 0 ? 100 : 100 - eva hit = self.cant_evade? ? 100 : hit hit_result = (rand(100) < hit)
# 第二命中判定 eva = 8 * self.mdef / user.mdef + self.eva hit = self.damage < 0 ? 100 : 100 - eva * skill.eva_f / 100 hit = self.cant_evade? ? 100 : hit hit_result = (rand(100) < hit)
5.9 KB, 下载次数: 30
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |