diff --git a/XDefiantWeaponStats/Pages/Home.razor b/XDefiantWeaponStats/Pages/Home.razor index bac0732..ffc3471 100644 --- a/XDefiantWeaponStats/Pages/Home.razor +++ b/XDefiantWeaponStats/Pages/Home.razor @@ -265,16 +265,16 @@ critSTKPhantom.Add((int)Math.Round(120.0 / critDmg[i], MidpointRounding.ToPositiveInfinity)); var burstToKill = (int)Math.Round(baseSTK[i] / (double)gun.ShotsPerTrigger, MidpointRounding.ToPositiveInfinity); - baseTTK.Add((int)Math.Round(burstToKill * msPerRound)); + baseTTK.Add((int)Math.Round(burstToKill - 1 * msPerRound)); burstToKill = (int)Math.Round(baseSTKPhantom[i] / (double)gun.ShotsPerTrigger, MidpointRounding.ToPositiveInfinity); - baseTTKPhantom.Add((int)Math.Round(burstToKill * msPerRound)); + baseTTKPhantom.Add((int)Math.Round(burstToKill - 1 * msPerRound)); burstToKill = (int)Math.Round(critSTK[i] / (double)gun.ShotsPerTrigger, MidpointRounding.ToPositiveInfinity); - critTTK.Add((int)Math.Round(burstToKill * msPerRound)); + critTTK.Add((int)Math.Round(burstToKill - 1 * msPerRound)); burstToKill = (int)Math.Round(critSTKPhantom[i] / (double)gun.ShotsPerTrigger, MidpointRounding.ToPositiveInfinity); - critTTKPhantom.Add((int)Math.Round(burstToKill * msPerRound)); + critTTKPhantom.Add((int)Math.Round(burstToKill - 1 * msPerRound)); } if (dmgSelected)