Skip to content

Fix magic combat spell requirements glitch#955

Open
Tyluur wants to merge 2 commits intoGregHib:mainfrom
Tyluur:main
Open

Fix magic combat spell requirements glitch#955
Tyluur wants to merge 2 commits intoGregHib:mainfrom
Tyluur:main

Conversation

@Tyluur
Copy link
Copy Markdown
Contributor

@Tyluur Tyluur commented Apr 20, 2026

When casting a spell you don't have runes for, combat gets stuck in an autocast state.

Tyluur added 2 commits April 20, 2026 10:38
…ements fail

Stop combat swing execution when Magic.castSpell fails due to missing requirements.
Also clear transient spell flags ("spell", "one_time", and "autocast") in failure
paths to prevent follow-up clicks from inheriting stale cast state.
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