/** * 命中判定 * <param> _target 攻撃対象 * <return> true:命中 */ private bool isHit(Charactor _target) { bool hit = true; if (Common.roleJudge(_target.evasionRate)) { hit = false; } return(hit); }
public Battle() { yusha = new Charactor("勇者", 300, 15); maou = new Charactor("魔王", 400, 9); }