Retrigger Cerber on rank changes without startup crashes#19
Merged
Conversation
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/480d26ef-4edf-444a-860b-4f38b577d98a Co-authored-by: Adesii <[email protected]>
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/480d26ef-4edf-444a-860b-4f38b577d98a Co-authored-by: Adesii <[email protected]>
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/480d26ef-4edf-444a-860b-4f38b577d98a Co-authored-by: Adesii <[email protected]>
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/480d26ef-4edf-444a-860b-4f38b577d98a Co-authored-by: Adesii <[email protected]>
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/480d26ef-4edf-444a-860b-4f38b577d98a Co-authored-by: Adesii <[email protected]>
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/480d26ef-4edf-444a-860b-4f38b577d98a Co-authored-by: Adesii <[email protected]>
Agent-Logs-Url: https://github.com/1srscx4/Neuratro/sessions/4f1ab0c9-ac31-47b2-8384-74b3bf99880a Co-authored-by: Adesii <[email protected]>
Copilot created this pull request from a session on behalf of
Adesii
April 24, 2026 09:30
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cerber only applied to cards when the joker was obtained or when cards were added, so cards that became 2s mid-run were skipped. The first pass at fixing that also hooked
Card:set_basetoo early in card initialization, causing startup crashes whenbasewas still nil.Behavior
All 2s become Negative.Implementation
Card:set_baseandSMODS.change_baseso transform effects and debug rank changes can reapply Cerber immediately.Crash fix
get_id()reads in the transform hooks with safe rank checks againstcard.base.id.