UB in certain scenarios #6021
Labels
bug
Bug
category: battle-mechanic
Pertains to battle mechanics
status: unconfirmed
This bug has not been reproduced yet
Description
After some testing it seems to only cause issue, when the opposing mon use non-selfcast moves. Tested by giving every opposing mon only one move,
Tackle, Tail Whip, Thunder Shock -> UB
Nasty Plot, Harden -> no UB?
First commit with this behaviour seem to be 97b30cb
Setup:
Execution:
Result:
without asserts:
Version
upcoming (Edge)
Upcoming/master Version
ce40c33
Discord contact info
.cawt
The text was updated successfully, but these errors were encountered: