Skip to content

cast function for bcz#828

Merged
spaghetti-squash merged 8 commits intomainfrom
bcz-cast
Feb 11, 2026
Merged

cast function for bcz#828
spaghetti-squash merged 8 commits intomainfrom
bcz-cast

Conversation

@Shiverwarp
Copy link
Copy Markdown
Contributor

No description provided.

casts = availableCasts(skill, statFloor);
}

if (!cast(skill, availableCasts(skill, statFloor))) return false;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really remember why it was written the old way, but how concerned are we about mafia getting misaligned on a casts pref? we could do it as a one-at-a-time cast loop that repeatedly checks availableCasts, maybe? I guess this is strictly an improvement

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a way to use availableCasts properly here, we would have to dynamically choose a stat floor below what the user could currently cast I guess?

Comment thread src/resources/2025/BloodCubicZirconia.ts Outdated
@spaghetti-squash spaghetti-squash merged commit 220c935 into main Feb 11, 2026
3 checks passed
@spaghetti-squash spaghetti-squash deleted the bcz-cast branch February 11, 2026 22:01
github-actions bot pushed a commit that referenced this pull request Feb 11, 2026
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.

2 participants