Azelphur / PokemonGo-CalcyIV-Renamer

Uses adb to send fake tap events to your phone, alongside Calcy IV to automatically rename all your pokemon.
GNU General Public License v3.0
76 stars 33 forks source link

It appears there is not a condition called 'iv__ne' #16

Closed esauvisky closed 5 years ago

esauvisky commented 6 years ago

In your examples you use only iv: when trying to match it for parity.

Is the documentation wrong and in fact the operators are not completely universal along the conditions or is this a bug?

Azelphur commented 6 years ago

The default condition is equal, so

iv: iv: null iv__eq: iv__eq: null

are all synonymous

So you're checking that iv is null, ie checking that there is no exact IV found (only an IV range)

Are you saying that iv__ne isn't working for you?

esauvisky commented 6 years ago

No, that actually works fine. I just assumed the condition existed and, lets say, iv__ne: 100 would match any pokémon with an exact IV value of anything but 100, i.e.: non hundo ones.

Of course, for that particular case it'd only a matter of defining a __in: [list] or using iv_max__ne: 100, but I came across trying to use that condition and it didn't work.