Commit graph

99 commits

Author SHA1 Message Date
WBHarry
d7ce388cad Fixed resource error on TagTeamDialog reroll 2026-03-27 10:29:01 +01:00
WBHarry
de801924e6 Fixed a bunch of deprecations 2026-03-22 16:59:23 +01:00
WBHarry
d5244eedbf Merged with main 2026-03-17 22:46:08 +01:00
WBHarry
83146d842d Fixed not being able to tab between Hit/Current in roll messages 2026-03-17 21:39:25 +01:00
WBHarry
3031531b14
[V14] TagTeamRoll Rework (#1732)
* Initial rolls working

* Fixed reroll

* more

* More work

* Added results section

* .

* Visual improvements

* .

* Removed traces of old TagTeamRoll

* Added initiator handling

* Added updating for other players

* Fixed sync start

* Completed finish method

* Damage reroll

* Fixed localization

* Fixed crit damage

* Fixes

* Added visual of advantage and disadvantage dice
2026-03-16 09:31:15 +01:00
WBHarry
fb4ddf227c Merged with main 2026-03-13 01:29:29 +01:00
WBHarry
7d50ba409f Fixed so that damage buttons show up for players on their own messages 2026-03-13 01:25:52 +01:00
WBHarry
b87e630a0a Merged main 2026-03-13 00:25:50 +01:00
WBHarry
8172e8baa7
[Feature] DualityDice DiceSoNice Animations (#1722)
* .

* Fixed translation

* Remove fieldset

* DiceSoNice Animation Overrides (#1726)

* .

* .

* Fixed hope/fear animation input

* Visual tweaks to general tab

* Move general tab to top

* Fixed localizaiton

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-13 00:15:52 +01:00
WBHarry
af04fb33d0
[Fix] Hit/Miss Display (#1711)
* Added an AppearanceSetting that decided if players should get to see information about hit/miss in chat messages

* .

* Improved setting name

* Introduced metagaming settings

* Raised verison
2026-03-10 18:48:44 +01:00
WBHarry
876e496d24 Merged with main 2026-03-07 01:39:52 +01:00
WBHarry
83c3da0130
Fixed so that Rally dice works as a single active effect for bard (#1708) 2026-03-07 00:08:03 +01:00
WBHarry
17aa0680d2
[Fix] 1697 - DamageRolls DiceSoNice (#1706)
* .

* .

* .
2026-03-06 13:07:55 +01:00
WBHarry
e2eb31c12e Merged with main 2026-02-16 20:40:28 +01:00
WBHarry
ca434d33f1
Fixed so that advantage/disadvantage dice are properly considered when rerolling (#1662) 2026-02-14 13:09:13 +01:00
WBHarry
063ff3d999 Merged with main 2026-02-09 15:44:54 +01:00
WBHarry
735ed4c214
[Fix] RollMessage Order (#1626)
* Fixed so that the description message always comes first with the action workflow

* Changed to instead render the description in the roll message

* Made the action config title not get changed in d20rolldialog if it's not a trait roll

* Initial chat message description design change

* Revert "Initial chat message description design change"

This reverts commit f4f5fd6c24.

* .
2026-02-04 07:11:18 +01:00
WBHarry
1a928e950c Initial v14 fixes 2026-01-29 18:46:39 +01:00
WBHarry
d43a4994ad
I hate companions. Should work now (#1576) 2026-01-24 20:21:45 +01:00
WBHarry
0d84516813 Merged min 2026-01-24 11:14:11 +01:00
WBHarry
cbd268ea1f
[Feature] DR Command Resources (#1572)
* Dr chatcommand and buttons now grant resources via automation by default. Optionally turned off via parameter noResources=true

* .
2026-01-24 11:10:30 +01:00
WBHarry
edc3017b39 Merge branch 'main' into development 2026-01-23 11:52:35 +01:00
WBHarry
fa3b3fa0a8
[Fix] Damage Rerolls (#1566)
* Fixed so that damage rerolls work again

* Set default data for a roll instead and fix title (#1570)

* Set default data for a roll instead and fix title

* Ensure same options object is used

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-22 23:21:42 +01:00
Chris Ryan
9d75157e17
[Feature] Death moves and Fate rolls (#1463)
* Update the death move descriptions

* Renamed to DhDeathMove

* Partial Fate Roll creation and Fate Roll Enricher (/fr)

* Hide stuff not required for fate roll

* Hide formula display; code removal; start to add Fear die as a choice for Fate roll

* Fix chat message display; start moving towards supporting Hope and Fear for Fate roll

* /fr now supports type=X, where X is Hope or Fear, if not supplied, defaults to Hope

* Fixed DSN rolling; removed console messages; chat message clean up

* Add localisation entry

* Trying to sort out the button for the fate roll

* Style the fate message based on Hope/Fear colors.

* Partial improvement on the fate template buttons - chat display is correct, but the roll dialog is wrong

* Fixed enricher button; localization fixes; debug cleanup

* Error checking for the fate type parsing in all potential problem locations

* Added localization for the fate type parsing error

* Start on Avoid Death death move

* debug stuff

* More death moves setup/testing

* Avoid fate scars update in place, with scars migrating to an integer value.

* Remove some debug code; add Blaze Of Glory shell

* Start on Guaranteed Critical for Blaze of Glory

* Partial implementation of Blaze of Glory

* Dice/critical checks/tests

* Moved detection of guaranteed critical to before the roll dialog is created, so it can be skipped; removed debug code

* Remove debug

* Update Blaze of Glory effect description

* Risk It All - critical roll - clear all stress and HP

* Auto remove all marked stress and HP for Risk It All, if Hope value rolled covers it.

* Display the Death Move description in chat expanded if the appropriate config setting is on

* Made the Blaze of Glory ActiveEffect image use configured version

* Update the current Hope value if the scar value change affects it

* Scars management in the Character details editor

* Separate less file for the Death Moves instead of reusing Downtime

* Added result messages to the Death Move chat output and removed debug statements

* Some localization, style and smaller changes

* Fixed RiskItAll resource handling method

* Risk It All success chat message start

* [Add] Hope/Scar Interplay (#1531)

* Migrated character.maxHope to homebrew settings

* Added a visual for scars

* .

* .

* Pass the hope value in the button data; skeleton risk it all dialog to fill out.

* Start on risk it dialog

* More dialog stuff

* Remove non-existent field

* Dialog templating and logic

* .

* Ensure effect is Applied to Actor (#1547)

Co-authored-by: Chris Ryan <chrisr@blackhole>

* [Fix] 1548 - Standalone Item Add Actions (#1549)

* Fixed so that items not on an actor don't error out on creating actions

* Fixed deletion of items error

* Raised version

* Fix the sliders to do the correct maximums

* Pass the actor id through the button; fix /dr and /fr flavor text

* Remove debug message

---------

Co-authored-by: Chris Ryan <chrisr@blackhole>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
Co-authored-by: WBHarry <89362246+WBHarry@users.noreply.github.com>
2026-01-17 15:11:50 +01:00
WBHarry
5b61340fee Fixed /dr without target failing resource update 2026-01-13 22:36:50 +01:00
WBHarry
acafd2c8b9 Added fallback for defaultHopeDice and defaultFearDice 2026-01-13 21:00:24 +01:00
WBHarry
9473250f0c Fixed critical threshold applying to reactions 2026-01-13 20:47:43 +01:00
WBHarry
c958acabe6
[Fix] Release Fixes (#1530)
* Various fixes

* .

* .

* .
2026-01-13 19:12:50 +01:00
WBHarry
3c9ef75645
[Feature] ActiveEffect Default Hope/Fear dice (#1522)
* Added ActiveEffect rules for default hope and fear dice

* .

* Raised system version
2026-01-13 10:58:03 +01:00
WBHarry
27b7758f7d
[Feature] Roll Effect Toggles (#1510)
* Initial

* .

* .

* Update module/dice/dhRoll.mjs

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-13 01:15:00 +01:00
WBHarry
454507ba7b
[Feature] Trigger System (#1500)
* Initial

* .

* Added StrangePattern trigger

* Set command codeblock to expandable

* Added automation setting

* Added ferocity trigger

* Improved StrangePatterns trigger to handle multiple matches
2026-01-11 11:51:05 +01:00
WBHarry
d0e55aeb8d
Resource Generation Fix 2025-12-28 21:16:24 +01:00
WBHarry
0806c2d1ac
[Fix] Levelup New Experience Increase (#1461)
* Fixed so you can select a newly gained experience to increase

* .

* Exchanged forEach with for..of. The future is now
2025-12-24 01:00:24 +01:00
WBHarry
16f6fa98a6
Fixed so that players rolling reactions will update the message (#1455) 2025-12-22 14:34:43 +01:00
WBHarry
659f73116a
[Fix] 1453 - Async Resource Generation Errors (#1454)
* Fixed so that we do not run separate actor.modifyResource calls during actions and dice rolls

* .

* Simplified resourcemap
2025-12-22 07:56:49 -05:00
WBHarry
f786ee5f06 Fixed actionType constants 2025-12-21 15:39:05 +01:00
Nick Salyzyn
a8c120be8e
Allowing coundown automations to work for players on action rolls (#1416) 2025-12-13 16:09:53 +01:00
Nick Salyzyn
7a50d77952
Pulling out hope method and always updating the resources. (#1417)
Making sure stress decreases on critical.
2025-12-13 15:18:21 +01:00
WBHarry
f78f8e32b6
Added critical threshold for Adversaries, determining at what number they crit (#1331) 2025-11-25 00:26:27 +01:00
WBHarry
207220ff7b
[Feature] Countdown Actions (#1302)
* Added countdown actions

* Added a CountdownAutomation setting to enable/disable countdown automation

* Added Looping

* Added characterSpotlight automation

* Countdown max as formula to enable random countdowns

* Updated compendiums with countdowns

* .

* Fixed lightmode colouration

* Raised system version

* Added automation for ActionRolls on countdowns

* Added automation on fear to countdowns

* Corrected attackAction countdown automation

* Added initial countdown upon creating a CountdownAction

* Improved ActionCountdown initial name to be 'Start Countdown'
2025-11-20 11:46:00 +01:00
WBHarry
8e785a5890
. (#1305) 2025-11-19 20:46:27 +10:00
Chris Ryan
977715d22a
Protect from error when no actor (e.g. enricher) (#1273)
Co-authored-by: Chris Ryan <chrisr@blackhole>
2025-11-12 08:29:33 +01:00
WBHarry
261a3a68b0
[PR] [Feature] Party Sheet (#1230)
* start development

* finish party members tab

* start resources tab

* finish resources tab

* finish inventory tab and add inital template to projects tab

* add resource buttons actions methods

* add group roll dialog

* Main implementation

* Fixed costs

* Minor fixes and tweaks for the party sheet (#1239)

* Minor fixes and tweaks for the party sheet

* Fix scroll restoration for party sheet tabs

* Finished GroupRoll

* Removed/commented-out not yet implemented things

* Commented out Difficulty since it's not used yet

* Re-render party when members update (#1242)

* Fixed so style applies in preview chat message

* Added the clown car

* Fixed so items can be dropped into the Party sheet

* Added delete icon to inventory

* Fixed TokenHUD token property useage. Fixed skipping roll message

* Added visible modifier to GroupRoll leader result

* Leader roll displays the large result display right away after rolling

* Corrected tokenHUD for non-player-tokens

* Fixed clowncar tokenData

* Fixed TagTeam roll message and sound

* Removed final TagTeamRoll roll sound

* [PR] [Party Sheets] Sidebar character sheet changes (#1249)

* Something experimenting

* I am silly (wearning Dunce hat)

* Stressful task

* Armor functional to be hit

* CSS Changes to accomadate pip boy

* last minute change to resource section for better visual feeling

* restoring old css for toggle

* Added setting to toggle pip/number display

* toggle functionality added

* Fixed light-mode in characterSheet

* Fixed multi-row resource pips display for character

* Fixed separators

* Added pip-display to Adversary and Companion. Some fixing on armor display

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>

* Fixed party height and resource armor update

* Fixed deletebutton padding

* Only showing expand-me icon on InventoryItem if there is a description to show

* .

* Fixed menu icon to be beige instead of white in dark mode

---------

Co-authored-by: moliloo <dev.murilobrito@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
2025-11-11 16:02:45 +01:00
WBHarry
f1b6d3851d
[PR] [Feature] 590 - Daggerheart Menu (#1007)
* Added menu with refresh tools

* Replaced menu icon
2025-09-07 08:30:29 +10:00
Dapoulp
1eb3ff11c0
Task/415 action refactor part 2 (#1094) 2025-08-27 09:00:18 +02:00
WBHarry
e9f7c0c16b Merged with main 2025-08-22 01:57:54 +02:00
WBHarry
218f180fa0
[Fix] DiceSoNice DamageRolls (#1026)
* Fixed so the 3d damage dice can be seen by everyone when not whispered

* Fixed typo
2025-08-20 18:13:51 +10:00
WBHarry
774b6dbdcc
Fixed so character dice rolls await the DiceSoNice animation before consuming resources (#1024) 2025-08-20 10:56:00 +10:00
WBHarry
b3062bf5b9
RollTable chat message cleanup (#1012) 2025-08-19 21:16:08 +10:00
WBHarry
0e43bf197d
[Fix] 948 - Damage Reroll Parts (#965)
* Fixed so rerolling damage doesn't make damageParts an object

* Improved to properly handle theoretical additional damage parts
2025-08-16 01:35:04 +02:00