RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

how can I show pokemon hp in pokeui?

Open dattto opened this issue 10 years ago • 7 comments

should I just call pokemon.hp, or define it first in program.cs?

dattto avatar Jul 28 '16 12:07 dattto

See the listViewItem.Text at line 94 of the file PokeUi.cs.

Original : listViewItem.Text = string.Format("{0}\n{1} CP", pokemon.PokemonId, pokemon.Cp);

Modified : listViewItem.Text = string.Format("{0} ({2}/{3} HP)\n{1} CP", pokemon.PokemonId, pokemon.Cp, pokemon.Stamina, pokemon.StaminaMax);

Result : ss 2016-07-28 at 04 14 29

Zayceur avatar Jul 28 '16 14:07 Zayceur

stamina is hp? didn't know that

dattto avatar Jul 28 '16 14:07 dattto

thanks!

dattto avatar Jul 28 '16 14:07 dattto

You're wellcome !

Zayceur avatar Jul 28 '16 14:07 Zayceur

is there an option to show power up dust price?

dattto avatar Jul 28 '16 14:07 dattto

You can probably calculate that with pokemon.NumUpgrades (the number of time you have upgrade your Pokemon).

Zayceur avatar Jul 28 '16 14:07 Zayceur

thanks!

dattto avatar Jul 28 '16 14:07 dattto