Pokemon-Go-Rocket-API icon indicating copy to clipboard operation
Pokemon-Go-Rocket-API copied to clipboard

Attacking Gym

Open ghost opened this issue 9 years ago • 8 comments

so when i attack a gym my pokemon get hurt but dont hurt the opponents pokemon any ideas why?

ghost avatar Aug 12 '16 20:08 ghost

how do you attack? it would be easier to debug if you would post some code...

ghost avatar Aug 13 '16 15:08 ghost

Look at the code it's all there to start to battle and all there to set battle actions Just when in there it doesn't attack

ghost avatar Aug 13 '16 15:08 ghost

What defendingPokemonId and/or attackingPokemonIds do you pass? are you sure all attacking pokemons are able to attack (check health).

ghost avatar Aug 13 '16 16:08 ghost

Yes before sending them into battle it will revive or heal any Pokemon to max in the 6 selected

ghost avatar Aug 13 '16 16:08 ghost

noob question, but did you checked the responses?

ghost avatar Aug 13 '16 16:08 ghost

Yes responses all act normal and even dumped it from legit playing and same have you got email or something as don't want the code going public

ghost avatar Aug 13 '16 16:08 ghost

Hum... I could not made it attack, I am stuck at starting battle, then I receive the 2 attacks and the join acction but then I'm lost, any idea how to populate the actions list with attack?

AresDraco avatar Aug 15 '16 18:08 AresDraco

Im stuck at StartGymBattle I get an empty response all the time. You got this part working? I have it working under python but this API i get nothing.

jamie2016-1 avatar Aug 21 '16 17:08 jamie2016-1