-
Notifications
You must be signed in to change notification settings - Fork 136
[request] Show stat distribution in power up menu #1022
Comments
Curious if this implementation is just showing base stats + IV or if it has the potential to be more detailed? This is an image I grabbed to show an example of what I'm talking about. http://imgur.com/a/o5YmNgV Note: I don't know why or where these numbers come from exactly but maybe you can steer me clear. |
My picture is just on base stats not including IV.
Are your pictures from Calcy IV app? |
Yes my image is from calcy IV. I apologise but I'm very interested in why the "base stats" have such a disparity that I don't understand from the calcy IV power up page. Is a L1 Bulbasaur's base stats: Is a L40 Bulbasaur's base stats: Or do they increase in some way I don't understand as they are powered up? It seems they do. Sorry I'm just genuinely curious. Cheers!! I only use GoIV for my scans but I do like to peek around the other options. I've used GoIV since the author publicly made it available. =) <3 <3 <3 |
Something called CP mulitplier or CP*ML. I'm just trying to help. |
My understanding is the same.
They may know the logic to add a pokemon's increased abilities to its stats and to show them. |
Well that explains that! I'll dig around and see if I can find that logic publicly listed. To be blunt I'd love the base stats to show just as you showed. I enjoy doing a little bit of guessing and studying with out a certainty. If I really really need to know how/what a Pokemon will be doing I export to PB and sim. I'm newer to GitHub and how to use it correctly. How do I obtain your version and is it up to date with stats but not UI? Sorry if I'm understanding wrong. |
thanks for your interest in my impl. sorry today is a Japaese party 忘年会 for Ingress players. |
This is my experimental patch for GoIV_JP. diff --git app/src/main/java/com/kamron/pogoiv/Pokefly.java app/src/main/java/com/kamron/pogoiv/Pokefly.java
index 70bbb462..a08b1de2 100644
--- app/src/main/java/com/kamron/pogoiv/Pokefly.java
+++ app/src/main/java/com/kamron/pogoiv/Pokefly.java
@@ -214,6 +214,13 @@ public class Pokefly extends Service {
// Result data
private PokemonSpinnerAdapter extendedEvolutionSpinnerAdapter;
+ @BindView(R.id.baseStatAtk)
+ TextView baseStatAtk;
+ @BindView(R.id.baseStatDef)
+ TextView baseStatDef;
+ @BindView(R.id.baseStatSta)
+ TextView baseStatSta;
+
@BindView(R.id.extendedEvolutionSpinner)
Spinner extendedEvolutionSpinner;
@@ -1461,6 +1468,9 @@ public class Pokefly extends Service {
exResLevel.setText(String.valueOf(selectedLevel));
setEstimateLevelTextColor(selectedLevel);
+ //setBaseStat(ivScanResult.pokemon); // for the scanned pokemon
+ setBaseStat(selectedPokemon); // for the selected pokemon
+
setAndCalculatePokeSpamText(ivScanResult);
}
@@ -1505,6 +1515,12 @@ public class Pokefly extends Service {
exResultHP.setText(hpText);
}
+ private void setBaseStat(Pokemon pokemon) {
+ baseStatAtk.setText(String.valueOf(pokemon.baseAttack));
+ baseStatDef.setText(String.valueOf(pokemon.baseDefense));
+ baseStatSta.setText(String.valueOf(pokemon.baseStamina));
+ }
+
/**
* setAndCalculatePokeSpamText sets pokespamtext and makes it visible.
*
diff --git app/src/main/res/layout/expanded_results_box.xml app/src/main/res/layout/expanded_results_box.xml
index a18888ed..f1bd6bfd 100644
--- app/src/main/res/layout/expanded_results_box.xml
+++ app/src/main/res/layout/expanded_results_box.xml
@@ -64,6 +64,93 @@
</LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start"
+ android:text="@string/atk"
+ android:textColor="@color/importantText"
+ android:textSize="@dimen/resultExpandedTextSize"/>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"/>
+
+ <TextView
+ android:id="@+id/baseStatAtk"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end"
+ tools:text="#ofStatATK"
+ android:textColor="@color/importantText"
+ android:textSize="@dimen/resultExpandedTextSize"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start"
+ android:text="@string/def"
+ android:textColor="@color/importantText"
+ android:textSize="@dimen/resultExpandedTextSize"/>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"/>
+
+ <TextView
+ android:id="@+id/baseStatDef"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end"
+ tools:text="ofStatDEF"
+ android:textColor="@color/importantText"
+ android:textSize="@dimen/resultExpandedTextSize"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start"
+ android:text="@string/sta"
+ android:textColor="@color/importantText"
+ android:textSize="@dimen/resultExpandedTextSize"/>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"/>
+
+ <TextView
+ android:id="@+id/baseStatSta"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end"
+ tools:text="#ofStatSTA"
+ android:textColor="@color/importantText"
+ android:textSize="@dimen/resultExpandedTextSize"/>
+
+ </LinearLayout>
+
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" |
User request
https://www.reddit.com/r/GoIV/comments/a3wc8n/request_show_stat_distribution_in_power_up_menu/
My private custom build for GoIV v4.3.3
It should be better to be adapted to v5 UI.
The text was updated successfully, but these errors were encountered: