Pixelmon Mod - Bug tracker

Abilities that activate on switch-in activate twice when they activate on a Pokemon that an NPC switches in (8.3.8). fix completed

Ticket description:
It doesn't happen when the battle first starts, but once the NPC switches in a new Pokemon its Ability might activate twice.
Some of abilities that are affected are Intimidate, Unnerve, Mold Breaker, Turboblaze, Forewarn, and Frisk. This seems to happen with Abilities that activate when the Pokemon switches in.

One thing to note is that Forewarn alerted Musharna of two different moves when this happened, Crunch and Dig, suggesting that the abilities are actually activating twice rather than just displaying the message twice. Also, Trace and Drought did not display a second message likely because Drought cannot replace sunlight and Trace was already replaced the first time.

"Steve sent out Hawlucha!
Hawlucha breaks the mold!
Hawlucha breaks the mold!
What will Arcanine do?"

How to reproduce:
1) Create an NPC trainer with the NPC editor
2) Set the first Pokemon to be any Pokemon (lets say Rattata)
3) Set the second Pokemon to be a Pokemon with one of the affected Abilities (lets say Intimidate Arcanine)
4) Challenge the Trainer to a battle.
5) Defeat the first Pokemon.
6) When the Trainer sends out their second Pokemon with the affected Ability, the Ability should activate twice.

Tested on the Pixelmon Modpack on Curseforge.

Comments

#24747 Posted by Biz » 31 Mar 2022 12:47

Good afternoon, I confirmed what you went through and it is actually being activated twice as the ability, it will be passed to the responsible team for this to be corrected in a future update.

#24759 Posted by Katzyn » 02 Apr 2022 20:27

Thank you - this issue has been forwarded to the Internal tracker!

Ticket details

  • Ticket ID: 17185
  • 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: Biz
  • Reported by: 9Tales (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 30 Mar 2022 00:09
  • Ticket last visited by: Biz on 28 Apr 2022 08:09
JOIN THE TEAM