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

Weapon Critical Hit Threshold ignored when (Enable Quick Roll for Items) is ON #120

Closed
Weskernation opened this issue Dec 4, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Weskernation
Copy link

Weskernation commented Dec 4, 2022

Description
Crit roll threshold is being ignored when "Enable Quick Roll for Items" is ON.
When a character crits at 19 (e.g. Fighter Champion - Improved Critical) when the quick roll option is turned on it will only crit at 20 instead of 19.
When the option is turned OFF, after a roll you have to click "Attack" in the chat and then Advantage/Normal/Disadvantage on the popup (I find that annoying during gameplay). You will see It will crit at 19 as it should

Steps to Reproduce
In the settings turn ON the "Enable Quick Roll for Items"

  1. Go to a character sheet Attributes tab
  2. Scroll down to Special Traits
  3. Under Feats change the number at "Weapon Critical Hit Threshold" to 5 (for easy example) Scroll down and "Update Special Traits"
  4. Click on Inventory and click the icon of a weapon to make an Attack.
  5. See error that your roll will not crit when it is 5 or over unless it is the standard 20
  6. Now In the settings turn OFF the "Enable Quick Roll for Items"
  7. Click on Inventory and click the icon of a weapon to make an Attack. In the chat click Attack then select advantage/normal/disadvantage
  8. See you will crit on 5 and up
  9. Same goes for Spell Critical Threshold

The issue is the same when instead of step 3 the threshold is changed on the item(weapon) or adding an effect (flags.dnd5e.weaponCriticalThreshold) on the character sheet

Versions

  • Module: [1.3.13]
  • dnd5e: [2.0.3]
  • Foundry: [10.291]
@Weskernation Weskernation added the bug Something isn't working label Dec 4, 2022
@MangoFVTT
Copy link
Owner

@Weskernation I am unable to reproduce this bug on my end. Changing the global weapon critical hit threshold behaves as expected when making weapon attacks (see image 1) and the same goes for changing the individual weapon critical hit threshold (see image 2).

image
image

Can you ensure that you are not running any other modules that would interfere with rolls (e.g. midi QOL) or any modules that mess with the traits? Also attempt to reproduce the issue on multiple weapons/spells

@Weskernation
Copy link
Author

@MangoFVTT I am cluesless, thank you for your reply/time

I have MidiQOL but it is disabled.
With Find culprit, it show it is from RSR.
Even when every other module is turned off (only 3 active) I cannot get it to work.

image

@Weskernation
Copy link
Author

Weskernation commented Jan 10, 2023

@MangoFVTT I saw there is an update today, (i didnt see this update 8 minutes before this post) and now everything works fine. even with all the modules activated in my original post

@MangoFVTT
Copy link
Owner

@Weskernation Interesting, I did change some minor things related to critical thresholds, but nothing that should have affected this. Either way, if it's fixed I will close this ticket for now. If it re-occurs, please let me know via a new issue ticket 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants