NicklasWallgren / PokemonGoAPI-PHP

Pokemon Go API PHP library
BSD 2-Clause "Simplified" License
130 stars 51 forks source link

canUpgrade, canEvolve, canRemove refine #115

Closed paoloalby closed 8 years ago

paoloalby commented 8 years ago

Add these checks in following methods.

canRemove:

canUpgrade:

canEvolve:

nekar93 commented 8 years ago

hi all when i use the site that use your API i can Upgrade my pokemon 0.5 more then the game. i put here some images for example:

i'm level 24. in this two image i had upgrade my pokemon in the game and i can't upgrade more. 1 2

but here, in the site, i Upgrade the pokemon and it become from 25.5 to 26(no more) 3 4

so, in the site we can upgrade 0.5 more.

f2008305 commented 8 years ago

does it means that exists the code $pokemon->upgrade() ???

NicklasWallgren commented 8 years ago

I have started refining the methods, a few thing left thought.

https://github.com/NicklasWallgren/PokemonGoAPI-PHP/commit/df3ce17b15801ea5aefdda1d701a623f2c337fdc

NicklasWallgren commented 8 years ago

Resolved.