Pixelmon Mod - Bug tracker

[9.0.11] IV spec is not obeyed for legendary Pokémon pending

Ticket description:
Tested on 9.0.11, but also have reports on 9.1.0, likely exists several versions before as well.

The spec for setting IVs on spawn or giving gets overridden for legendary Pokémon, likely due to the "3 perfect IVs on legends" effect.

The command
Code: Select all/pokegive ordalca Rayquaza ivhp:31 ivatk:31 ivdef:31 ivspatk:31 ivspdef:31 ivspd:31
should give a 100% IV Rayquaza, but instead only gave a 3IV one. Replacing
Code: Select allRayquaza
Code: Select allPonyta
successfully gives a 100% IV Ponyta, so spec in general isn't an issue.

I believe the spec is being set, but then when the Pokémon is initialized, it reaches the check for legendary and recreates the IVs from scratch instead of maintaining the ones it already had. The solution to this is likely complicated, assuming we want to be able to set IVs normally and have that spec honored, but have the 3-iv bonus if possible.


#29264 Posted by zThana » 19 Feb 2023 17:59

Can confirm using 9.1.3. Happens in single player as well

#29544 Posted by Sophie847 » 10 Apr 2023 10:50

Confirmed and moved to internal for a fix

Ticket details

  • Ticket ID: 19647
  • Project: Pixelmon Mod
  • Status: Pending
  • Component: Other
  • Project version: 1.16.5-9.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: 04 Dec 2022 07:35
  • Ticket last visited by: LordSamosa on 08 May 2023 08:48