Ejemplo n.º 1
0
        public static PunchStats GetPunchStats(FighterRoundStats roundStats)
        {
            roundStats.AdjustPunchLuck();
            PunchStats ret = new PunchStats(roundStats.AdjustedTactics);

            ret.PowerPunchesLanded = GetLanded(ret.PowerPunchesAttempted, roundStats.PunchLandPercent);
            ret.RightsLanded       = GetLanded(ret.RightsAttempted, roundStats.PunchLandPercent);
            ret.JabsLanded         = GetLanded(ret.JabsAttempted, roundStats.JabLandPercent);
            return(ret);
        }