public void Attack(EntityScript user, EntityScript target, EntityScript.Attack attack) { foreach (StatusLibrary.StatusEnum e in attack.effectList) { target.Afflicted(e); } if (target.TakeDamage(attack.damage) <= 0) { target.HPZero(); activeEnemies.Remove(target); FinishCheck(); } user.EndTurn(); }