private void InvokeSkill(ProjectSingleAttackSkill skill) { int randomIndex = Random.Range(0, Programmers.Count()); var programmer = NotVacationProgrammers.ElementAt(randomIndex); ApplyDamage(programmer, skill.Damage); }
private void RenderBossSkillNotice(ProjectSingleAttackSkill singleAttackSkill) { BossSkillText.text = string.Format("프로젝트가 프로그래머를 데미지 {0}로 공격합니다!", (int)singleAttackSkill.Damage); }