Commit graph

332 commits

Author SHA1 Message Date
WBHarry
1ca866f87b Merged with main 2026-02-26 16:12:06 +01:00
WBHarry
1b09b44d6c
[Fix] 1676 - Horde Damage Fix (#1678)
* Fixed so that horde damage reduction is only applied to the standard attack

* Changed to just adding 'isStandardAttack' in adversary data prep

* .
2026-02-26 11:32:05 +01:00
WBHarry
bcb30a6ff7 Fixed environment potentialAdversaries 2026-02-25 21:57:28 +01:00
WBHarry
56cc16b39a
[Feature] Item Description Enrichment (#1666)
* Added enrichment for Ancestries and Communities

* Fixed remainder

* Bit of padding

* Increased left padding
2026-02-22 21:32:35 +01:00
WBHarry
9296b8fcc2
Fixed so that scars are applied to hope.max during derived data prep (#1673) 2026-02-22 14:10:06 +01:00
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
e2eb31c12e Merged with main 2026-02-16 20:40:28 +01:00
WBHarry
b64a9002ea
Fixed advantage/disadvantage sources for adversaries and companions (#1659) 2026-02-14 13:07:47 +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
95d4003045
Fixed so that messages auto expand the description (#1650) 2026-02-11 23:56:35 +01:00
WBHarry
063ff3d999 Merged with main 2026-02-09 15:44:54 +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
f7e4c5346e
[Fix] ActiveEffect Autocomplete (#1641)
* Added rules and bonuses to ActiveEffect-autocomplete

* .
2026-02-08 18:03:35 +01:00
WBHarry
44131d21a6
[Fix] Beastform Effects (#1635)
* Fixed so that beastform items always have a beastformEffect on them that can't be removed

* Fixed so that you can drag an active effect onto a character
2026-02-08 18:01:30 +01:00
WBHarry
5e7201bfe9
[Fix]Environment Attack Error (#1647)
* Fixed so that environment attacks don't error

* Fixed for companion aswell
2026-02-08 17:59:08 +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
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
ac998adaa6 Merged with development 2026-02-04 00:25:58 +01:00
WBHarry
31c70469ef
[Fix] ActionField UUID for Actor Actions (#1622)
* Fixed so that actionFields correctly grab a uuid for actions that are directly on an actor

* Corrected to logical or

* Update module/data/fields/actionField.mjs

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

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-02-02 00:57:17 +01:00
WBHarry
668dbdf8f4
Fixed character hopeResource to be set as 'isReversed' again, so damage and healing is applied correctly (#1620) 2026-02-01 01:19:31 +01:00
WBHarry
307af5b990 Merged with development 2026-01-31 19:35:46 +01:00
WBHarry
22d446f360
Fixed so that homebrew downtime move actions can have effects (#1615) 2026-01-31 19:34:37 +01:00
WBHarry
ae91d6786f Fixed actions not being delete:able 2026-01-31 19:32:51 +01:00
WBHarry
cd52aa8f9c Updated from special database update syntax to DataFieldOperators 2026-01-31 18:31:10 +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
1a928e950c Initial v14 fixes 2026-01-29 18:46:39 +01:00
Nikhil Nagarajan
a18393a9d0
[PR] Loadout Max detection when pulled from compendium (#1589)
* Initial test implementation for solution

* Expanded the existing _preCreate logic

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-01-28 08:51:00 +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
bae9470a4f
[Fix] 1.6.0 Roundup (#1581)
* Fixed sceneEnvironments possibly being undfined

* Fixed companion

* Removed Ferocity trigger
2026-01-25 17:07:25 +01:00
WBHarry
ce96ffa0a3
[Feature] 1383 - Companion Bonus Levelups (#1565)
* Fixed so that companions can get bonus levelupchoices from their partner

* Fixed collection prep order

* Added ActiveEffects to Beastbound features

* Corrected styling

* Added migration for overleveled companions

* Raised version

* Moved migration to 1.6.0. Sillyness
2026-01-25 15:21:06 +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
fdb6412c8c
[Feature] HP DamageMultiplier (#1567)
* Added a hpDamageMultiplier rule active effects can modify to multiply the total damage an actor deals

* Added a hpDamageTkenMultiplier rule active effects can modify to multiply the total damage an actor takes from others

* .
2026-01-24 20:24:26 +01:00
WBHarry
d43a4994ad
I hate companions. Should work now (#1576) 2026-01-24 20:21:45 +01:00
WBHarry
37ae40be8b
[Fix] Enriched Description IsOwner (#1577)
* Fixed so that secrets are properly enriched for items

* .
2026-01-24 20:20:07 +01:00
WBHarry
cb998860d9
Spellcastmodifiers were not being sorted correctly for use (#1578) 2026-01-24 20:19:16 +01:00
WBHarry
bdb8997324
[Feature] 1543 - SceneEnvironment Trigger Registration (#1564)
* Added trigger Registration/Unregistration for scene environments

* Fixed so that saving throw damage mitigation works again (#1555)

* . (#1563)

* Fixed DowntimeMoves and ItemFeatures reset functions (#1568)

* Fixed an error where a player having their token initially selected caused an error in effectsDisplay.mjs (#1569)

* [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>

* Fixed when users drag in compendium environments to the sceneEnvironments (#1573)

* .

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-24 11:15:07 +01:00
WBHarry
68b35970f2 Merge branch 'main' into development 2026-01-22 20:59:32 +01:00
WBHarry
6e5d7fb34c
Fixed so that saving throw damage mitigation works again (#1555) 2026-01-21 11:52:42 +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
3b27803e24 Merge branch 'main' into development 2026-01-16 21:48:29 +01:00
WBHarry
07bdd48199
[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
2026-01-16 21:37:04 +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
325a48532b Nullable fix in baseAction.getEffects 2026-01-16 10:16:01 +01:00
WBHarry
822c522f61
[Fix] 1535 - Toggle Bonuses (#1538)
* Fixed all SRD instances of Powerful and Massive

* Fixed suppressed effects being added to roll formula options

* Fixed weapon effects being presented when it's no the weapon itself

* .

* .

* Fixed secondary weapons effects

* Raised system version

* Update module/data/action/baseAction.mjs

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

* Update module/documents/chatMessage.mjs

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

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-16 09:35:02 +01: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