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

Add a target for combat actions and suggest responses #247

Open
3 tasks done
Kalmend opened this issue Jul 16, 2022 · 2 comments
Open
3 tasks done

Add a target for combat actions and suggest responses #247

Kalmend opened this issue Jul 16, 2022 · 2 comments
Labels
feature New feature or request help wanted Extra attention is needed

Comments

@Kalmend
Copy link

Kalmend commented Jul 16, 2022

Description

I would like to have an option that if a target is selected for an attack an automatic response form is displayed in the chat. For instance both I as the GM and my players keep forgetting to roll armor in combat. This chat popup would streamline combat. In addition to damage negating actions, an apply damage button would also be nice. The form should be visible to the target or GM.

Suggested solution

Take advantage of foundry's built in targeting system:

  • If damage is rolled and a target is selected. Create a chat entry for the target's owner and GM that has "Discard", "Dodge", "Parry", "Roll armor" and "Apply Damage" buttons.
    • "Roll armor" button should only appear if the character has armor equipped. It should display the equipped armor's form.
    • "Dodge" - displays the dodge action form
    • "Parry" - displays the parry action form of the topmost weapon. If no weapon or shield is equipped, dont display this button.
    • "Discard Attack" button is used for when the damage should be ignored for some reason. It would delete the chat entry for the target and not apply damage.
    • "Apply Damage' - Applies damage from attack roll if clicked right away, If the target takes a parry, armor, dodge action before clicking this, the reduced damage is applied. Display a text to everyone showing the initial damage, actions taken and the reduction and the final applied damage.
  • If all damage is negated with above actions, display a text for everyone saying so and do as "discard the attack" button.

Alternative

No response

Additional context

No response

Validations

  • Not a feature request for the official content modules. Issues regarding the content modules go here instead.
  • Not a "How To"-question (You can ask questions here: Discussions).
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@Kalmend Kalmend added the feature New feature or request label Jul 16, 2022
@narukaioh
Copy link
Collaborator

In a way I started doing something related to combat, to automating damage delivery, a long time ago. But I put it aside for a while, due to my technical limitations.

@aMediocreDad aMediocreDad added the help wanted Extra attention is needed label Jul 18, 2022
@aMediocreDad
Copy link
Member

This is something I am not likely to work on in any foreseeable future due to the complexity of such automation (and the time it would consume). Maybe I will take a look at the implementation details once V10 stabilizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants