From a9000b104d19d169283eb4a60c59b47eb138cd37 Mon Sep 17 00:00:00 2001 From: Kamron Date: Mon, 22 Aug 2016 22:28:11 -0700 Subject: [PATCH] Adjust Arc --- app/src/main/java/com/kamron/pogoiv/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/kamron/pogoiv/MainActivity.java b/app/src/main/java/com/kamron/pogoiv/MainActivity.java index 872c7e1f4..a644f8a8c 100644 --- a/app/src/main/java/com/kamron/pogoiv/MainActivity.java +++ b/app/src/main/java/com/kamron/pogoiv/MainActivity.java @@ -384,7 +384,7 @@ private void setupArcPoints(){ Data.arcY = new int[indices]; for (double pokeLevel = 1.0; pokeLevel <= trainerLevel + 1.5; pokeLevel += 0.5) { - double angleInDegrees = (Data.CpM[(int) (pokeLevel * 2 - 2)] - Data.CpM[0]) * 202.037116 / Data.CpM[trainerLevel * 2 - 2]; + double angleInDegrees = (Data.CpM[(int) (pokeLevel * 2 - 2)] - Data.CpM[0]) * 202.04 / Data.CpM[trainerLevel * 2 - 2]; if (angleInDegrees > 1.0 && trainerLevel < 30) { angleInDegrees -= 0.5; } else if (trainerLevel >= 30) {