mrkwnzl / cyphersystem-foundryvtt

The Cypher System for Foundry VTT
Other
21 stars 14 forks source link

Preset effort to ease task isn't into factored into ability cost. #332

Closed farling42 closed 1 year ago

farling42 commented 1 year ago

Describe the bug
If a combat ability has an "effort to ease task" filled in, then when the all-in-one dialog is presented for that ability, the preselectedf 1 level of effort isn't included in the task's cost.

Steps to reproduce the behavior

  1. Create a combat attack and change "effort to ease task" to "1 level" in the attack's settings tab.
  2. Click the dice to roll that attack (with ALT if required to bring up the all-in-one dialog).
  3. The dialog show no cost for the attack.
  4. Manually toggle the "effort to ease task" to None and back to "1 level" and observe the correct cost in the all-in-one dialog.

Expected behavior
The all-in-one dialog should immediately display the correct cost on first opening.

Screenshots
If applicable, add screenshots to help explain your problem.

Setup

farling42 commented 1 year ago

Changing "effort for extra damage" in the all-in-one dialog will also update the cost (as will changing any of the other values in the dialog box once it has been opened).

It just seems that the original cost calculation is wrong when the dialog is first opened.

mrkwnzl commented 1 year ago

Confirmed and fixed in the next update. Good news, it’s just the display in the roll dialog, the correct cost is calculated when you roll. But I’ll have a fix out later today.

Thanks for reporting!

mrkwnzl commented 1 year ago

Fixed in 2.10.0. Sorry for the delay.