MaximilienBlanchardBizien1 2ee445939f Re-added "GhostOpponent" Class
Re-added the "GhostOpponent" class to determine if the enemy is capable of dodging projectiles.
2025-07-19 14:57:28 -04:00

15 lines
298 B
C#

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;
}
}