public static BlockingResult PassBlock(int passBlocking, int defenderMove, Blocker doubleTeam = null, Blocker chip = null) { if (doubleTeam == null && chip == null) { double rating = ((passBlocking - defenderMove) * 3.0 + Random.GetInstance().Next(-100, 101)) / 4.0; if (Math.Abs(rating) < 10) { return(BlockingResult.Blocker_Average); } else if (rating > 0 && rating < 25) { return(BlockingResult.Blocker_Forward); } else if (rating < 0 && rating > -25) { return(BlockingResult.Blocker_Backward); } else if (rating < 0) { return(BlockingResult.Blocker_Pancaked); } else { return(BlockingResult.Pancake); } } // Chip help else if (doubleTeam == null) { double chipRating = chip.GetPassBlocking(); } // double team else { } return(BlockingResult.None); }