Unlucky-Life / ankimon

Ankimon is a Anki Addon to Gamify your learning experience
Other
38 stars 4 forks source link

Pokemon are not evolving if caught at level above when they would normally evolve #82

Open jrsukinik opened 2 months ago

jrsukinik commented 2 months ago

Hello! I am new to the add-on and have been loving it. However, i recently caught a number of pokemon above lvl 40 (for example teddiursa), which are not evolving after being leveled up. Do you have an idea of what is going on?

Unlucky-Life commented 2 months ago

Hm could list those pokemon ? Then i can try and see what the issue may be.

jrsukinik commented 2 months ago

So far teddiursa, although tomorrow I will know more as I am close to leveling up a few.

jrsukinik commented 2 months ago

azurill as well now

Unlucky-Life commented 2 months ago

@jrsukinik i found it. This issue is that right now pokemon that need certain conditions to evolve is not implemented. Right now you can only evolve pokemon with items needed for evolution aswell as by leveling your pokemon.

jrsukinik commented 2 months ago

okay, so even though teddiursa evolves into ursaring at 32 without any special conditions, since the final evolution has special requirements, it will not evolve at all?

Unlucky-Life commented 2 months ago

@jrsukinik Teddiursa evolves at level 30 https://bulbapedia.bulbagarden.net/wiki/Teddiursa_(Pok%C3%A9mon) image But actually it should have evoled at level 30. Quite weird.

Unlucky-Life commented 2 months ago

@jrsukinik image azurill cant evolve right now because it need the friendship level and I didnt know how i could integrate that yet. So yea azurill wont evolve

jrsukinik commented 2 months ago

noticed the same with machop too. Leveled up from 36-37 with no evolution. Maybe pokemon with special requirements for any evolution are having difficulty. I will try out a pokemon that has no special requirements at all

Unlucky-Life commented 2 months ago

@jrsukinik Yea exactly - if a pokemon needs certain requirements aswell it wont evolve. (Didnt integrate this yet because it very time intensive to code this)

even though machop should have evolved at image => level 28

Basically pokemon only can evolve at their evolution level. Else they wont evolve. If u like i can help with the evolution for now if you just send me your mainpokemon.json and mypokemon.json then i cant reiterate those pokemons for you / evolve them.

jrsukinik commented 2 months ago

got it, just found the same with shinx being level 28->29. No need with the pokemon, I will release them and start fresh, no big deal

jrsukinik commented 2 months ago

Out of curiosity, is it possible to add >= to the level for evolution for a pokemon? Perhaps that would solve it, saying \, for example, "evolevel": >=28?

Unlucky-Life commented 2 months ago

@jrsukinik Yes that should be possible ! I will also be adding a everstone option for people who dont want to evolve their pokemon !

lqvu2205 commented 2 weeks ago

I have the same issue. My Rayquaza met the requirement for Mega Evolution but nothing happened. Mega Evolution isn't available yet, is it? If so, can you add that feature in the future? Thank you! image image

Unlucky-Life commented 2 weeks ago

@lqvu2205 There are alot of feature requests, but I'm tryign to implement this aswell :)