Feat: Debuffed contexts & UI - #1499
Open
Aikoyori wants to merge 1 commit into
Open
Conversation
Aikoyori
requested review from
Aurelius7309,
Eremel and
GauntletGames-2086
as code owners
August 16, 2026 16:54
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.
This PR introduces additional contexts for dealing with debuffed cards in particular.
ALSO BLIND_SIZE_DISPLAY_QUEUE is reset on every run start feel free to pull it out if this PR is rejected.
Rationale
There is no context for this yet so I think it would benefit everyone even if it is extremely niche 😭
New Contexts
context.debuffed_main_scoring,context.debuffed_individual,context.debuffed_repetition. These works exactly like their non-debuffed counterparts but they act on debuffed playing cards instead.New Vars return
Setting
no_debuffed_descriptiontotruewhen returningvarstable will make the original ability text show up as if it is not debuffed (it will still have the Debuffed badge, however).New Function
SMODS.should_use_debuffed_descriptionis used to determine if a card's ability description should be replaced with "Debuffed" texts. Used in situation listed above.Example Video
SMODS_Dev_20260816-232908.mp4
Feel free to suggest for edits.
Additional Info: