public bool crewmanRepair(Crewman crewman)// 수리하기 { if (actingCheck(crewman)) { if (crewman.gettype() == 1) { if (crewman.getbehavior() >= 2) { crewman.setbehavior(crewman.getbehavior() - 2); return(true); } } else if (crewman.getbehavior() >= 3) { crewman.setbehavior(crewman.getbehavior() - 3); return(true); } UIManager.Instance.showMessage("행동력이 부족합니다."); } return(false); }