-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Move] Improve Future Sight & Doom Desire (still partial) #4545
Conversation
I think this (Player's Future Sight goes away if player user switches.) EDIT: it seems to fix all of the above |
It fixes some of the issues but not all of them. I suppose the original issue could be closed upon merge and a new, updated issue could be opened afterwards with the remaining bugs. |
re: Cannot be used on multiple Pokémon in doubles, only the first target will be hit. Could creating a BattlerTag class function onSwitch() stop these current restrictions? Well, it's out of scope. |
I tried swapping to a |
Yeah, I ran into a similar issue with Imprison. |
de3a66c
to
81d773d
Compare
Add test for Future Sight Co-authored-by: NightKev <[email protected]>
Co-authored-by: PigeonBar <[email protected]>
81d773d
to
88ada6a
Compare
I think the "Future Sight hits immediately when called by Metronome or Copycat" bug is occurring due to Future Sight using pokerogue/src/data/arena-tag.ts Lines 763 to 783 in f779760
Not sure what's the best way to fix this, maybe pass another argument into MoveEffectPhase specifically for whether or not it is specifically the hit turn of a delayed attack move?
|
9d032e1
to
d9393b6
Compare
What are the changes the user will see?
Future Sight and Doom Desire improvements:
Not fixed:
Why am I making these changes?
The moves were barely implemented.
What are the changes from a developer perspective?
Added checks/code in
MovePhase
andMoveEffectPhase
for delayed attacks.How to test the changes?
npm run test future_sight
Checklist
beta
as my base branch[ ] If I have text, did I make it translatable and add a key in the English locale file(s)?npm run test
)[ ] Are the changes visual?[ ] Have I provided screenshots/videos of the changes?