Pokécube Resources

Pokécube Resources

913 Downloads

Wild pokemons are attacking more than one turn

jochuan opened this issue · 11 comments

commented

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
commented

i made that and it worked but rarely i still get the bug
2016-08-28_17 03 51

commented

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

commented

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

commented

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

commented

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

commented

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?

commented

i was using dual chop and dragon rage i have a picture of what happened but i cant show you it now

commented

2016-08-07_21 32 44
2016-08-07_21 32 50
2016-08-07_21 32 55
2016-08-07_21 33 21
here are the images looks like my pokemon isn't attacking so this may be related with the other bug

commented
commented

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?

commented

things have changed since this, and pokecube-server-utilities has a feature to make the turns thing happen.