-
Content Count
45 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Pokemon Reborn Development Blog
Pokemon Rejuvenation Development Blog
Posts posted by Aeodyn
-
-
Soooo. I actually fixed this? Not entirely sure who to ping, but... @andracass I guess?
Line 5553 in PokeBattle_MoveEffects (in class PokeBattle_Move_0B3):
SpoilerBefore:
attacker.pbUseMoveSimple(move)
After:
attacker.pbUseMoveSimple(move, target=opponent.index)
Seems to work fine with multi-enemy moves as well; tested it with Triattack and Sludge Wave at least.
-
1 hour ago, Vinnie said:
Well I hate to be the bearer of bad news, but that's actually working as intended.
Nature Power is a status move that targets the user. For this reason it will always hit the opponent opposite of the pokemon using it in doubles(unless the attack hits multiple pokemon or that pokemon is fainted).
Looks like that was changed with gen VI, actually.
In the same battles, a pokemon in the first slot was able to target and hit either opponent without issue. And to clarify, my second pokemon was hitting the opponents' first pokemon, not the directly opposite one.
-
I haven't tested it much, but in a doubles fight my Nature Power has repeatedly targeted the wrong opponent, and always the one on the left.
It also seems to be only when performed by my second pokemon, the one on the right.
Edit: Just realized I didn't put this in the Battle Errors section; sorry!

= vs == typo
in Battle Errors
Posted
PokeBattle_Move:2089
Before:
if (id == PBMoves::PETALBLIZZARD || id == PBMoves::PETALDANCE || id == PBMoves::FLEURCANNON) && $fecounter = 2After:
if (id == PBMoves::PETALBLIZZARD || id == PBMoves::PETALDANCE || id == PBMoves::FLEURCANNON) && $fecounter == 2I noticed it with mkxp-z's console=true build option.