-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: Summoning abilities don't activate when reloading a session. #1005
Comments
I have a PR to address this: #694 |
This bug is mainly centered around summoning abilities being ignored when reloading a session. It's not just about battle tags not being saved in a session. But together with your PR it should solve most if not all problems with loading a session. |
Link to Discord's bug report (Intrepid Sword not activating as usual after refresh/reload) Using overrides and starting on a certain wave might make that wave valid for this bug. Does not activate abilities on reload for waves that end in 6 now after the endless update as part of August's beta merge -Reloading after reloading on a wave that ends in 1 or 6 will also not apply the ability. |
Psychic Surge #2643 |
#2313 (Delta Stream not activating on refresh and second slot) |
When reloading a session (battle), the game only activates summoning abilities like Drought, Intimidate, etc if they meet one of these 3 criteria:
This logic doesn't include all scenarios where summoning abilities should trigger, like going from a single to a double battle or changing biomes in endless where it can happen on nearly any floor.
It's also built on a flaw: When reloading a session, all Pokemon on the field are sent out, including the ones who were supposed to already be there.
To fix this issue, I propose storing the current allied Pokemons on the field when saving a session. Then, when loading it, only activate summoning abilities of the Pokemon who weren't on the field when the session was saved.
This, together with #694 should fix most if not all bugs pertaining to reloading sessions.
Drought and Psychic surge are both activated when switching biomes in endless:
![image](https://private-user-images.githubusercontent.com/63069680/331441103-a0e25021-6c0b-4387-befc-e01455598538.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzM4MDMsIm5iZiI6MTczOTU3MzUwMywicGF0aCI6Ii82MzA2OTY4MC8zMzE0NDExMDMtYTBlMjUwMjEtNmMwYi00Mzg3LWJlZmMtZTAxNDU1NTk4NTM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIyNTE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjNDRiZmIzZTk0Y2Y2ZWY1YjkzMmIyYTU2ZTBhYzdmYzMwZmFjNzY5ZWFkNDA5MTc5MjIyZWZhYmYxNzYwNGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b4GCIC40NfRp2opR7l8gzBLVjFd8ZdJOiXNTllhjcDs)
After reloading the fight neither activate:
![image](https://private-user-images.githubusercontent.com/63069680/331441289-fcda4478-9f02-4c8f-a71a-cdc44a616c54.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzM4MDMsIm5iZiI6MTczOTU3MzUwMywicGF0aCI6Ii82MzA2OTY4MC8zMzE0NDEyODktZmNkYTQ0NzgtOWYwMi00YzhmLWE3MWEtY2RjNDRhNjE2YzU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIyNTE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1YThlNmJlZjlkYTI2ZDRhZmI0NTMyMmE1M2RlZDUzY2U1ZGQ1Y2NiYTIzNTU2ZDE5NTVjZWI1YmMyOTFhYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GSduYETu_XYzBwxv5TY0HJJPMro0hGxB8XKsBSb7sqg)
The text was updated successfully, but these errors were encountered: