using System.Collections; using System.Collections.Generic; using UnityEngine; public class GhostOpponent : Opponent { public bool dodgedProjectile() { System.Random random = new System.Random(); if(random.Next(0, 99) > 25) return false; else return true; } }