Wild pokemons are attacking more than one turn
jochuan opened this issue · 11 comments
What happens:
poke,ons are attacking more than one turn this happens with one from trainers too
What you expected to happen:
they shouldnt attack on two turns
Steps to reproduce:
1.attack a pokemon
2.
3.
...
Affected Versions (Do not use "latest"):
- Pokecube Core:3.7.6
- Pokecube Revival (if applicable):3.6.5
- Pokecube Mobs (if applicable):2.2.2
- Minecraft: 1.9.4
- Forge:1990
I think that particular case is due to your magikarp being too slow to get to the geodude, so the geodude is able to attack many times before karp gets to it to tackle it
i think that the battle should be made to work more like on turns like the pokemons game where the speed stats of the pokemon would make it attack first and the other pokemon would only attack if the one with the faster speed attacked first but when a pokemon is used against non-pokemobs it would use the currently system
at some point I might make an addon that does something similar to that, but for pokecube itself, I don't want to implement any form of turn based combat
it dont need to be a battle based on turns like pixelmon but the pokemon would only attack if the one with faster speed attacked
I don't notice this, maybe you are using an attack with a rather long cooldown, and the wild ones are using much shorter cooldown attacks, so are hitting before yours is off?
i was using dual chop and dragon rage i have a picture of what happened but i cant show you it now
Ahh, I see, I will look and see if I can find a not-attacking bug.
Try something, try setting contactAttackDistance to say 8 or 16, and see if it still occurs, that will make contact moves think they are ranged moves instead, it could be an issue with the mob not being able to get to the target in time?