/// <summary>
 /// Checks if the entity's attempt to hit another entity is successful based on the entity's Accuracy and the victim's Evasion.
 /// </summary>
 /// <param name="victim">The entity trying to evade.</param>
 /// <returns>true if the entity hits and the victim doesn't evade, otherwise false.</returns>
 //NOTE: When dealing with Badges such as Close Call, we should compare the entity's Evasion first, then perform
 //the test again with the Badges' Evasion added in. If the Badges' Evasion bonus allows the entity to evade the attack,
 //that's when we'd play the "LUCKY" animation
 public bool AttemptHitEntity(BattleEntity victim)
 {
     return(UtilityGlobals.TestRandomCondition(BattleStats.GetTotalAccuracy(), victim.BattleStats.GetTotalEvasion()));
 }