Commit graph

230 commits

Author SHA1 Message Date
WBHarry
4aab5d315a
[V14] 1604 - ActiveEffect Durations (#1634)
* Added daggerheart durations and auto expiration of them

* Added duration to all tier1 adversaries

* Finished all adversaries and environments

* Remaining compendiums updated

* Improved styling of duration in tooltips

* .
2026-02-17 18:57:03 +01:00
WBHarry
9b63371f4a Merged with main 2026-02-13 13:17:00 +01:00
WBHarry
472f876ea3 Merge branch 'development' 2026-02-12 22:27:59 +01:00
Carlos Fernandez
7022630316
[PR][Feature] Add support for changing the tier of an adversary (#1503)
* Add support for changing the tier of an adversary

* Move scaling data to actorConfig

* Use a new algorithm using the median average deviation

* Fine tune damage conversion for actions

* Use standard deviation instead and change dialog type

* Use daggerheart style for dialog

* Formatting

* Improve handling of minions and hordes

* Changed to using lookup for Group Attack damage

* Added lookup for Horde feature

* Remove spaces in damage formulas

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-02-12 22:27:37 +01:00
WBHarry
e0b3d33f80 Added the ability to exclude world compendiums in the Compendium Browser Settings 2026-02-12 19:27:03 +01:00
WBHarry
6cbe770880
[Fix] ActiveEffectConfig Missing Resistances (#1653)
* Fixed so that ActiveEffectConfig uses missing hints and has resistance in the autocomplete list

* Raised version
2026-02-11 23:59:27 +01:00
WBHarry
063ff3d999 Merged with main 2026-02-09 15:44:54 +01:00
WBHarry
a65514b1c1 Improved Downtime Prepare translation 2026-02-09 14:25:56 +01:00
WBHarry
b23b6c75fb
[Feature] Browser Compendium Handling (#1648)
* Initial version

* .

* Fixed so that CompendiumSetting saving refreshes the CompendiumBrowser for all users

* .

* Improved design

* Fixed max height

* Fixed local reload

* Added GM restriction

* Raised version

* Fixed tooltip

* Raised verison to 1.7.0
2026-02-09 12:42:00 +01:00
WBHarry
78012be6e4 Added delete confirmation to homebrew items 2026-02-08 19:14:04 +01:00
alterNERDtive
4ad8b960b5
fix: adds actions to prepare downtime actions (#1646) 2026-02-08 18:30:32 +01:00
WBHarry
f7e4c5346e
[Fix] ActiveEffect Autocomplete (#1641)
* Added rules and bonuses to ActiveEffect-autocomplete

* .
2026-02-08 18:03:35 +01:00
WBHarry
c1f7866594
[Fix] 1633 - ActiveEffect Autocomplete (#1636)
* Improved the autocomplete typing experience

* Made it work. But I hate it.

* Revert "Made it work. But I hate it."

This reverts commit d2fc9fd648.

* Actually nice solution instead O_O
2026-02-06 11:32:33 +01:00
WBHarry
593105b163 Fixed ActiveEffect create dialog options 2026-02-04 20:08:52 +01:00
Carlos Fernandez
1bc9e07098
[Feature] Show token distance on hover (#1607)
* Show token distance on hover

* Do not show distance hover when ranges variant rule is disabled

* Use range labels function for distance hover

* Fix very far and support feet

* .

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-01-30 15:58:21 +01:00
WBHarry
bb43cb57dc
[Fix] 1582 - Automation Additions (#1592)
* Added an automation setting for chat command resources

* Added automation settings for wether to have deathmove automation

* .

* Flattened automation structure
2026-01-28 08:47:02 +01:00
WBHarry
a78ef1f70c
[Feature] RollTable Improvements (#1552)
* Initial - Branch Test

* reorganized path for better usage

* something to mess with

* registration things

* .

* root-template error

* pushing in for the day

* hook?

* help?

* .

* implementation initial

* updated comment

* overcomplicated it

* .

* Added Formula select to view mode

* .

* Prettied up roll-results template

* Removed SRD table descriptions

* Improved draw result description css

* Fallback for default dark dice

* .

---------

Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
2026-01-24 20:26:37 +01:00
WBHarry
2757a97244
Added a clowncar HUD button for companions (#1574) 2026-01-24 20:23:03 +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
WBHarry
68b35970f2 Merge branch 'main' into development 2026-01-22 20:59:32 +01:00
WBHarry
38fb00bd10
Fixed DowntimeMoves and ItemFeatures reset functions (#1568) 2026-01-21 13:47:03 +01:00
WBHarry
2aba7cf921
Changed to use a dialog to choose which parts are kept when reseting (#1557) 2026-01-21 11:56:47 +10:00
WBHarry
3725fc29ef
[Feature] Seaborne Improvement (#1553)
* Added a max to KnowTheTide. Added a onFear trigger to increase the resource

* .

* Added a notification message when KnowTheTide gains a token
2026-01-21 11:52:07 +10:00
WBHarry
cc998bffa7
[Feature] DeathMove Condition Improvement (#1562)
* Added DeathMove condition and automated changing to the correct condition depending on the result of death moves

* .

* Update module/data/settings/Automation.mjs

Co-authored-by: Chris Ryan <73275196+chrisryan10@users.noreply.github.com>

* Update lang/en.json

Co-authored-by: Chris Ryan <73275196+chrisryan10@users.noreply.github.com>

* Fixed DefeatedCondition localizations

---------

Co-authored-by: Chris Ryan <73275196+chrisryan10@users.noreply.github.com>
2026-01-20 20:03:52 +10: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
98cf6fa6de
[Feature] Character Creation Confirmations (#1533)
* Added confirmation on ignoring character setup. Added reset option to character sheet.

* Removed the system setting for playerCanEdit. It's always available now.
2026-01-16 22:13:26 +10:00
WBHarry
fad09a1b3a
[Feature] 1541 - Trigger Improvements (#1542)
* Improved registration and unregistration of triggers

* Added logging

* Fixed Feature level unregistration

* Fixed action deletion unregistration

* SceneEnvironment stub

* Update module/data/registeredTriggers.mjs

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

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-16 07:43:25 +01:00
WBHarry
8d9b954629 Fixed missing homebrew settings tab translation 2026-01-16 00:10:48 +01:00
WBHarry
9393bab6cf
Added so that beastforms can set a scale to handle specific images (#1532) 2026-01-15 09:45:10 +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
d282a81594
[Feature] Summon Action Implementation (#1514)
* Schema definition for DHSummonAction

* Will reimplement

* HBS idea formed. Need to recheck drag drop implementation

* Tried to refine drag drop

* drag drop implemented (css tbd)

* phase 1 complete

* tbd work on summon action type

* Improved Schema and now it works

* .

* Dialog created. Tokens not dragged(tbd).

* Bare minimum implementation

* Finalized functionality

* Cleanup

* .

* Added optional summon render to chat message

* Updated SRD

* bugfix: fix title lines not rendering in chat messages

* Added summon actions to the easily doable environments in the SRD

* Update module/data/fields/action/summonField.mjs

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

---------

Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
Co-authored-by: Murilo Brito <dev.murilobrito@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-13 10:36:29 +01:00
WBHarry
d823501d91
[Feature] Advanced Effect Settings (#1523)
* Added VaultActive and LoadoutIgnore

* Added DomainTouched support

* Naming change

* .

* Improved labels
2026-01-13 10:32:16 +01:00
WBHarry
883aaeec02
[Feature] Armor/Weapon Features In Description (#1521)
* ItemFeatures are now prepended to the description

* .

* Better separation of concerns

* .

* .
2026-01-12 14:16:19 +01:00
WBHarry
8de12551ad
[Feature] Scene Environments (#1499)
* Initial

* Remade to array structure

* Fixed context menu for multiples

* .

* Cleanup

* .

* Fixed so that users can access sceneEnvironments if they have permissions

* Update module/documents/scene.mjs

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

* .

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-12 00:26:27 +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
0b343c9f52
Fixed a lot of cases where we expected a combatant to have an attached actor (#1520) 2026-01-10 00:21:44 +01:00
Carlos Fernandez
e6973fabd0
Add view party button to character sheet (#1508) 2026-01-09 17:41:35 +01:00
Nick Salyzyn
3b7b6258a1
[PR] Adding the ability to target downtime actions. (#1475)
* Adding the ability to target downtime actions.

* No longer using an arbitrary 100 healing. Changing the action's parent
2025-12-29 21:55:13 +01:00
Nick Salyzyn
3405b53900
[PR] Adding recall functionality to the loadout tab (#1482)
* Adding a Recall button that doesn't yet show a popup

* Adding an action with a cost dialog for stress - if there is a stress cost
2025-12-28 18:31:48 +01:00
WBHarry
92b31b71a7
[PR][Fix] Cleaned Up Countdown Ownership View (#1459)
* Removed the disabled default ownership select in the ownership view. Added a fallback text incase there are no players added yet

* Corrected noPlayers condition
2025-12-24 01:09:51 +01:00
Murilo Brito
f8b003b304
[PR][Feature] Items Tooltips Styles (#1445)
* feat: add basic tooltip style and style domain card template

* feat: change weapon hbs tooltip and increase box-shadow blur

* feat: style armor hbs tooltip

* feat: style consumable hbs tooltip

* feat: style loot hbs tooltip

* feat: style feature hbs tooltip

* bugfix: prevent style conflicts between tooltips

* feat: style action hbs tooltip

* feat: style attack hbs tooltip

* feat: style effect hbs tooltip

* feat: increase tooltip width

* style beatform tooltip, fix unnarmed attack location, add outline border when users use midle click

* feat: add beige outline and box shadow to tooltips to enhance contrast

* bugfix: requested changes

* bugfix: fix typo

* bugfix: fix tooltip breaking interface position
2025-12-23 19:02:28 -05:00
WBHarry
f0531d3587
[Fix] Sheet Labels (#1456)
* Added human readable sheet labels to all sheets

* Prefixed sheet labels with 'Default DH'

* 🪚
2025-12-22 11:03:49 -05:00
WBHarry
8178fa5738
[PR][Feature] Actor Sizes (#1433)
* Added support for adversary actor sizes

* .

* .

* Finished token implementation

* Fixed token-config

* Updated SRD adversaries

* .

* Added size to Beastform tokenData

* Fixed sizing for evolved beastforms

* Beastform compendium update

* .
2025-12-22 16:58:53 +01:00
Nikhil Nagarajan
7d1e70f66f
[PR] [Feature] Feature form labels + SRD Update (Adversaries & Environments) (#1429)
* New labels. Time to print them somewhere.

* Action buttons have icons. Pretty Iconic

* Features tweaked to support only on limited actors

* Duplicate ActionTypes+references are removed.

* Adversary and Environment SRD entries updated.

* Updated name field workflow in character actor.

* Adversary name fields are improved as well.

* Revert "Updated name field workflow in character actor."

This reverts commit 66924c530f.

* Revert "Adversary name fields are improved as well."

This reverts commit f60e8cffda.

* Fixed prototype token in Abandoned Grove

* Label change

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-12-20 19:36:06 +01:00
Carlos Fernandez
9b4249b100
[Feature] Support for configurable currency icons (#1422)
* Add support for configurable currency icons

* Remove unused plain style

* Changed so that icons don't have to have an icon

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-12-13 23:03:34 +01:00
Nikhil Nagarajan
d5b8431f88
Massive Damage incoming. Over 9000. (#1419) 2025-12-13 16:38:07 +01:00
Carlos Fernandez
64caff6fb2
Make the spotlight queue feature a toggle (default off) (#1418) 2025-12-13 15:05:44 +01:00
WBHarry
d6b1c7a36c
Fixed some missing translations (#1386) 2025-12-08 01:22:28 +01:00
WBHarry
451bef4c92
[Feature] Encounter Battlepoints (#1346)
* Added BP calculation and tooltip breakdown of BP sources

* Added Modifiers

* Fixed automatic battleToggles

* Corrected 'NoToughies' conditional

* Fixed GM-only visibility

* Fixed combatant isNPC
2025-12-06 21:11:34 +01:00