public virtual void TakeTurn() { int i = Random.Range(0, 4); while (!manager.IsValid(manager.GetPlayer(i))) { i = Random.Range(0, 4); } manager.ActorAttackTarget(i, true); }