Skip to content

More deck contexts, SMODS.Back.calculate#393

Merged
Aurelius7309 merged 2 commits into
mainfrom
deck-effects
Jan 11, 2025
Merged

More deck contexts, SMODS.Back.calculate#393
Aurelius7309 merged 2 commits into
mainfrom
deck-effects

Conversation

@Aurelius7309
Copy link
Copy Markdown
Member

@Aurelius7309 Aurelius7309 commented Jan 11, 2025

Adds context.individual and context.other_joker/other_consumeable as evaluated contexts for decks. Also introduces SMODS.Back.calculate and deprecates SMODS.Back.trigger_effect to indicate consistency with other calculate functions. This calculate function as well as SMODS.Back.apply get passed the Back they're called on, again for consistency

@Aurelius7309
Copy link
Copy Markdown
Member Author

Apparently context.main_scoring has inconsistent context args between deck and play areas?

@Aurelius7309 Aurelius7309 merged commit f55a69b into main Jan 11, 2025
@Aurelius7309 Aurelius7309 deleted the deck-effects branch January 11, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant