Pixelmon Mod - Bug tracker

[8.2.0] Trainer AI bug - Shedinja with Focus sash fix completed

Ticket description:
Faced the Ghost gym on the Complex Gaming server, using a team that included a Shedinja with a Focus Sash. The rest of my team had fainted, but there were still several enemies left, each with Ghost moves, including some with Shadow Sneak.

However, each of them used a random move, as if they didn't have anything that could hit Shedinja. I suspect that it saw the calculation for damage saying even the super effective move would do 0 damage, and so picked a random move instead of the super effective one to break the sash.

This is the Pokemon, moves, and items on the Gym Leader's team. Shedinja killed all but Drifblim and Gengar, as they kept picking moves other than their ghost moves.



#23013 Posted by Ordalca » 28 Jul 2021 18:53

Gym leader team = https://ibb.co/QMy3nhP

#23054 Posted by Ordalca » 11 Aug 2021 23:42

It appears that the AI recognizes Will-o-wisp/toxic as able to kill past the sash, but the normal attacking moves do not get recognized.

Had an E4 trainer with Cloyster use Rock Blast to kill a Volcarona, but then it switched out when shedinja came in.

The Ditto it switched to used will-o-wisp to get around the sash.

#24394 Posted by Sophie847 » 04 Feb 2022 02:57


I can confirm that this issue still exists in the latest 8.3.6 release, trainer AI will not prioritise super-effective damaging moves against a shedinja with a focus sash. The AI used seemingly random moves, but when given will-o-wisp the AI will consistently use it, so the status moves appear to be recognised as able to damage the shedinja.

This should be moved to the internal tracker soon. Thank you for your report!

#24440 Posted by Katzyn » 09 Feb 2022 18:45

Forwarded to the internal tracker, thank you!

#24931 Posted by Sophie847 » 23 Apr 2022 00:53

I can confirm this is fixed in the latest 8.4.0 release - thanks for the report!

Ticket details

  • Ticket ID: 16227
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Battle
  • Project version: 1.12.2-8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: Sophie847
  • Reported by: Ordalca (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 28 Jul 2021 18:52
  • Ticket last visited by: Sophie847 on 15 Jul 2022 01:36