Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When showing a pokemon, add the stats too #12

Open
coyotte508 opened this issue Dec 8, 2012 · 1 comment
Open

When showing a pokemon, add the stats too #12

coyotte508 opened this issue Dec 8, 2012 · 1 comment

Comments

@coyotte508
Copy link
Member

Currently the IVs/EVs are shown, but not the stats.

What I'm thinking is in Pokemon.print(), add a tooltip to the pokemon image (using alt='...') to show the fully calculated pokemon stats: X HP, X Atk, X Def, ...

That means that there'll probably be a function Pokemon.stat(i) giving the stat at index i.

If you need to replace EVs.att by EVs.evs[1], etc., i'm all for it.

@coyotte508
Copy link
Member Author

PO now has teamPokeStat(id, team, poke, stat) to return the stat of a pokemon at slot X. Though if the pokemon isn't in any team, it's not possible to use that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant