You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue arises because SelfStatusMoves extend Move rather than StatusMove so self status moves do not have their base power set to 1 but instead -1 which is then treated as 80 for Forewarn.
A bit of a refactor and as far as I can tell the only difference between SelfStatusMove and StatusMove is the MoveTarget but want to make sure that there will be no breaking changes.
Session export file
No response
User data export file
No response
Expected behavior
SelfStatusMoves should be treated as 1bp rather than -1 (80)
Screenshots / Videos
No response
What OS did you observe the bug on?
PC/Windows
If other please specify
No response
Which browser do you use?
Firefox
If other please specify
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Right now Forewarn treats
StatusMove
s as 1 base power correctly: https://github.com/pagefaultgames/pokerogue/blob/main/src/data/ability.ts#L2865The issue arises because
SelfStatusMove
s extendMove
rather thanStatusMove
so self status moves do not have their base power set to 1 but instead -1 which is then treated as 80 for Forewarn.A bit of a refactor and as far as I can tell the only difference between SelfStatusMove and StatusMove is the MoveTarget but want to make sure that there will be no breaking changes.
Session export file
No response
User data export file
No response
Expected behavior
SelfStatusMove
s should be treated as 1bp rather than -1 (80)Screenshots / Videos
No response
What OS did you observe the bug on?
PC/Windows
If other please specify
No response
Which browser do you use?
Firefox
If other please specify
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: