Pixelmon Mod - Bug tracker

[9.1.3] Pursuit activates even if its user isnt on the field pending

Ticket description:
Had pursuit activate on the field even if the pokemon that used it wasnt in the field
How to replicate:
Turn 1
Opponent swaps, User pursuits
Turn 2
User swaps, opponent can click any move
Turn 3
Opponent swaps, User clicks any move, pursuit activates on mon thats on the field, move hits the thing thats swapping
Bug has been present since pixelmon 9.1.0

Comments

#30115 Posted by Novoro » 15 Jun 2023 06:42

Hello SparkyManectric!

In order to test this, I battled with a player and set it up in the following manner:
Turn 1: A uses Pursuit, B switches out
Turn 2: A switches out, B attacks
Turn 3: A attacks, B switches out

Upon B switching out in turn 3, their Pokemon did indeed take Pursuit damage from A's pursuit user, even though they weren't even out on the field.

Thank you for reporting this! I have moved it to internal =)

Ticket details

  • Ticket ID: 20293
  • Project: Pixelmon Mod
  • Status: Pending
  • Component: Battle
  • 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: (unassigned)
  • Reported by: SparkyManectric (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 03 Apr 2023 20:42
  • Ticket last visited by: Decent60 on 15 Jun 2023 23:48
JOIN THE TEAM