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

[Feature] Request: Check Maneuver, Max Actions and Targets before Roll #2031

Open
chrismaille opened this issue Nov 15, 2024 · 0 comments · May be fixed by #2017
Open

[Feature] Request: Check Maneuver, Max Actions and Targets before Roll #2031

chrismaille opened this issue Nov 15, 2024 · 0 comments · May be fixed by #2017
Assignees
Labels
enhancement New feature or request

Comments

@chrismaille
Copy link
Contributor

chrismaille commented Nov 15, 2024

This feature is part of the list of improvements proposed in #2013.

What will the system do?

  • For Attack and Defense rolls, the system will check if the selected token's maneuver is valid for that roll.
  • For Attack and Spell rolls, the system will check if the user has selected targets using Foundry's targeting system.
  • For Attacks, Blocks, and Spells, check if the user already has reach the maximum number of actions for that round.
  • These checks only occur when combat is active and the token is a combatant.

Usage

Define in the settings what the system will do if it finds an invalid situation:

image

The available options are:

  • Allow: Just allow the action, no questions asked.
  • Warn: Warn the user in the Confirmation Roll Dialog. If the dialog is disabled, no warning will be shown.
  • Forbid: Prevent the roll and alert the user.

The default value for both checks is Warn.

Then, on Character Sheet, define the maximum number of actions this character have per combat turn (or foundry round):

image

  • Max Actions per round is the max number of actions the player can do in that round, excluding skill and dodge rolls.
  • Max Blocks per round is the max number of blocks the player can do in that round.

Some maneuvers can add a additional action for the turn (ie. AoA Double).

Examples

Warning

Warning Message

Forbid

Forbid Message

@chrismaille chrismaille linked a pull request Nov 15, 2024 that will close this issue
@chrismaille chrismaille changed the title Feature Request: Check Select Maneuver and Targets before Roll Feature Request: Check Maneuver, Max Actions and Targets before Roll Nov 20, 2024
@mjeffw mjeffw changed the title Feature Request: Check Maneuver, Max Actions and Targets before Roll [Feature] Request: Check Maneuver, Max Actions and Targets before Roll Nov 29, 2024
@mjeffw mjeffw self-assigned this Dec 20, 2024
@mjeffw mjeffw added the enhancement New feature or request label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants