Skip to content
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

Make ConstMediaAction check for media cost later #855

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vgskye
Copy link
Contributor

@vgskye vgskye commented Feb 13, 2025

Throwing MishapNotEnoughMedia early actually broke parity with SpellActions and pre-1.20 behaviour, since validation mishaps comes before MishapNotEnoughMedia. This moves simulated media extraction to after execution to restore parity. Note that this still doesn't let you raycast for free because a mishap thrown will void the new stack.

Throwing MishapNotEnoughMedia early actually broke parity with SpellActions and pre-1.20 behaviour, since validation mishaps comes before MishapNotEnoughMedia. This moves simulated media extraction to after execution to restore parity. Note that this still doesn't let you raycast for free because a mishap thrown will void the new stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

1 participant