-
-
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
[Bug] Moved code preventing MBH's transfer to post modifier generation #4858
base: beta
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except that 1 comment lgtm
It turns out that even with this fix, MBH becomes stealable again after reloading, because when the session data gets saved and reloaded, 20241112.Stealable.MBH.mp4 |
@PigeonBar I think I decided just to stop a potential transfer of MBH at the heart of the code - tryTransferModifier(). Not sure if it leads to other problems though. |
The issue is that Some possible other approaches to fixing the bug:
|
What are the changes the user will see?
MBH will no longer be able to be stolen from the opponent.
Why am I making these changes?
Bug report https://discord.com/channels/1125469663833370665/1300228174151680040
What are the changes from a developer perspective?
Code moved down to correct location.
How to test the changes?
Try to steal MBH when generated.
Checklist
beta
as my base branchnpm run test
)