RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Transfer based on CP%

Open Gateway753 opened this issue 10 years ago • 12 comments

This opcion would be great, instead of transfering all pokemon below a CP number, we could transfer pokemon below a CP%, because every trainer level has diferent max CP for each pokemon. I imagine this isn't a easy task, but I leave it here as a sugestion, Thanks.

Gateway753 avatar Jul 25 '16 12:07 Gateway753

so (only for my understanding): i.e. you have over 30 pokemons, and your highest of them has a CP of 950 and you want to transfer each pokemon which has not atleast 50% (475) the CP of your highest?

Deathwing avatar Jul 25 '16 12:07 Deathwing

No no, i.e. I am lvl 28, a 100% cp arcanine, is around 2250 cp, but if I am lvl 15, 100% cp would be around 1200 cp. So, transfer based on a cp number is not that usefull because, 100% cp pokemons have diferent cp numbers based on pokemon type and trainer level.

Gateway753 avatar Jul 25 '16 12:07 Gateway753

We wont evolute pokemons under 80% cp because their are not worth.

Gateway753 avatar Jul 25 '16 13:07 Gateway753

Ah got it :) Let me look if their exists an formula for the max CP on an pokemon at a specific level, if I have that formula your request should not be that hard ;)

Deathwing avatar Jul 25 '16 13:07 Deathwing

Oh ok, nice, thanks and good luck!

Gateway753 avatar Jul 25 '16 13:07 Gateway753

@Deathwing https://docs.google.com/spreadsheets/d/19iql4aABmZ5oZ6YDE3LmZ8qcth3UoH52954WhjuiJow/edit

zhechengli avatar Jul 25 '16 14:07 zhechengli

You need to log in to google to download this table. The level of each pokemon you catech is an integer in this table, the max level of the pokemon after powerup is the player's level plus 1.5. The cost of STARDUST is different based on the level of the pokemon. With all those knowledge the CP% can be calculated. Sometimes it's not sure what is the pokemon. For example at level 9 and level 10 the cost of STARDUST is both 1000, but at level 11 the cost of STARDUST is 1300. You can power up twice, is the cost of STARDUST is still 1000, now the pokemon is at level 10. (By the way each time of power up will increase the level of the pokemon by 0.5)

zhechengli avatar Jul 25 '16 14:07 zhechengli

@Deathwing More about that table. That table shows the range of CP for a pokemon at a certain level. If you want to only see the max CP value, you can select all and replace (* - ) to emepty. Here is a table for the cost of STARDUST http://mp.weixin.qq.com/s?__biz=MzI4ODM4NDgwNQ==&mid=100000360&idx=1&sn=b705d094cbc0be6dfe2f8804b36aac6a&scene=18#wechat_redirect

zhechengli avatar Jul 25 '16 15:07 zhechengli

You can not click the web link above. You need to copy it to the browser.

zhechengli avatar Jul 25 '16 15:07 zhechengli

The PokemonData type contains a value called "CpMultiplier" so if I'm reading it right, each pokemon that is caught has this value and we might be able to simply do pokemon.CP/pokemon.CpMultiplier to get the "hidden level" of the pokemon, then divide this level by the PokemonTrainer's level.

So something like pokemon.CP/pokemon.CpMultiplier/pokemonTrainer.Level to get a rough CP %

maxkondra avatar Jul 25 '16 17:07 maxkondra

Well i searched long and in the end i found that we already have implemented the IV compare ;)

I added an different trasnfer type called iv, where you can specify the iv in range of 0 to 100. Pull request soon ;)

Deathwing avatar Jul 26 '16 08:07 Deathwing

@Deathwing Very nice, thanks.

Gateway753 avatar Jul 26 '16 10:07 Gateway753