Commit graph

460 commits

Author SHA1 Message Date
Carlos Fernandez
2fde61a1d5
[Feature] Make all item types quantifiable in the party (#1808)
* Show notification when invalid item types are added to actors

* Make all item types quantifiable in the party actor

* Remove from comment

* Use isInventoryItem to set quantity

* Fix formatting
2026-04-16 11:12:36 +02:00
WBHarry
16c07d23bb Changed diceFaces->dieFaces for consistency 2026-04-16 09:57:16 +02:00
WBHarry
91aff8b10d
[Feature] Advantage Default Dice (#1802) 2026-04-16 03:55:12 -04:00
Carlos Fernandez
aa8771bf0d
Show notification when invalid item types are added to actors (#1807) 2026-04-16 08:23:25 +02:00
WBHarry
7d5cdeb09d
[Feature] Active Party (#1803) 2026-04-15 20:26:39 -04:00
WBHarry
8808e4646d Corrected use of Foundry's Reset translation 2026-04-15 18:47:20 +02:00
WBHarry
c337338c8b Merge branch 'v14-dev' of https://github.com/Foundryborne/daggerheart into v14-dev 2026-04-12 13:58:51 +02:00
WBHarry
f900011510 Fixed trait counting in CharacterCreation. Fixed description layout and labels in CharacterCreation. Fixed drag/drop images from Compendium Browser 2026-04-12 13:58:43 +02:00
WBHarry
56a6613a73
Fixed more missing translations (#1792) 2026-04-12 11:38:15 +02:00
WBHarry
3ec013ff50
Reworked summon action and clowncar functionality to work with levels (#1791) 2026-04-12 00:25:43 +02:00
WBHarry
8a0b1b8e22
[Fix] Translation Fixes (#1789)
* Fixed translations

* .
2026-04-11 22:55:26 +02:00
WBHarry
28d9254883 Changed TagTeam initiasation cost label to be 'Hope Cost' 2026-04-11 16:23:41 +02:00
WBHarry
a897037dc4
[Feature] Group Roll Rework (#1785)
* Initial

* .

* Improvements

* .

* Renamed 'Main Charater' to 'Leader'

* Localization fixes

* .

* Fixed roll sound coming when canceling a roll. Fixed the leader PART not being disabled when the player isn't the leader
2026-04-11 11:14:36 +02:00
WBHarry
97636fa134 Fixed Countdown Actions not actually setting their DefaultOwnership. Fixed GMs not always getting Ownership of a countdown 2026-04-11 02:53:51 +02:00
WBHarry
9bea8d6a97 Merged with main 2026-04-11 00:05:18 +02:00
Carlos Fernandez
7ca420ae0e
[Feature] Redesign and merge party members and resources tabs (#1784) 2026-04-10 15:33:44 -04:00
WBHarry
ae480157d1
[Feature] 1766 - Group Attack (#1770)
* Implemented group attack logic

* Updated all minions in the SRD to use the group attack functionality

* .

* Renamed groupAttack.nr to groupAttack.numAttackers

* Moved the flag vs global setting logic to documents/scene

* .
2026-04-09 22:07:51 +02:00
WBHarry
fdfd8c5a8d Fixed selecting which roll to use in TagTeamRolls becoming impossible when using an Ability option 2026-04-05 11:28:41 +02:00
WBHarry
0747994686 Improved TagTeamRoll initialization when done by a player 2026-04-02 16:00:04 +02:00
WBHarry
0f1ac406df Fixed adding a new damage instance to an action default to prof, which doesn't work for adversaries 2026-04-02 12:22:31 +02:00
Carlos Fernandez
2b8e4cb2fa
[v14] Add toggle for critical damage (#1762)
* Fix rolling critical damage after rerolling into a crit

* Add toggle for critical damage

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-04-01 19:39:26 +02:00
Carlos Fernandez
259b66236c
[V14] Update duality and fate chat commands (#1759)
* Update duality and fate chat commands for v14

* FateRoll withfear/withHope wasn't working after merging with v14-Dev. Fixed

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-03-31 17:26:45 +02:00
WBHarry
f156b12d79
[V14] Message Rolls Rework (#1757)
* Basic rework to the roll data in messages

* .

* Fixed advantage/disadvantage

* .

* .

* Fixed TagTeamDialog

* Reuse getter in faces setter

* Simplify fate roll type css class

* Add more caution to the dualityRoll fromData function

* Apply suggestion from @CarlosFdez

* Compute modifiers using deterministic terms (#1758)

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-03-31 17:20:22 +02:00
WBHarry
dbd5ef8bb0
Added fall and collision damage buttons in the GM Menu (#1756) 2026-03-29 23:54:45 +02:00
WBHarry
e8f052faf3 Fixed drag/drop on application-sheet 2026-03-29 11:07:16 +02:00
WBHarry
24d22dde59
[V14] [Feature] Spotlight Without Combat (#1755) 2026-03-27 22:01:50 -04:00
WBHarry
2a294684d4
Remade branch (#1754) 2026-03-28 00:38:50 +01:00
WBHarry
d7ce388cad Fixed resource error on TagTeamDialog reroll 2026-03-27 10:29:01 +01:00
WBHarry
e3e1395de6 Minor ActionConfig improvements 2026-03-25 16:36:36 +01:00
WBHarry
aa1d117c43
[V14] Effect Stacking (#1667)
* Added the ability for effects to have stacks

* Fixed effect stacking

* Improved token overlay spacing

* Compendium updaetes

* Simplify effect click event (#1748)

* Fixed a bunch of deprecations

* Corrected AgileScout Beastform json data

* Updated TokenHUD to the new v14

* Removed DestroyOnEmpty from consumables

* Fixed so that tooltips don't get stuck (#1745)

* [Feature] TagTeam Partial Rendering (#1735)

* I done did it, I think

* Think I fixed the partial rendering bug for gm->player

* [V14] 1743 - Damage Update Error (#1746)

* Fixed DamageParts causing errors on update

* Fixed ActionBaseConfig error when no damage present on the action

* Fix removal of damage field

* Removed unneccessary default value function for parts

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>

* Simplify effect click event

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
Co-authored-by: WBHarry <89362246+WBHarry@users.noreply.github.com>

* Fixed stacking-value pointer event

* Set the stacking value in EffectsDisplay to be tabular-nums for monospacing

* Made baseEffect.stacking nullable instead of having an enabled property

* .

* Fixed so that actor._onUpdateDescantDocuments re-renders the EffectDisplay if effects were updated

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-03-25 13:54:14 +01:00
WBHarry
64ce615116
[V14] 1743 - Damage Update Error (#1746)
* Fixed DamageParts causing errors on update

* Fixed ActionBaseConfig error when no damage present on the action

* Fix removal of damage field

* Removed unneccessary default value function for parts

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-24 17:33:17 +01:00
WBHarry
f119daff07
[Feature] TagTeam Partial Rendering (#1735)
* I done did it, I think

* Think I fixed the partial rendering bug for gm->player
2026-03-23 17:07:22 +01:00
WBHarry
de801924e6 Fixed a bunch of deprecations 2026-03-22 16:59:23 +01:00
WBHarry
ef53a7c561
[V14] 1354 - Armor Effect (#1652)
* Initial

* progress

* Working armor application

* .

* Added a updateArmorValue function that updates armoreffects according to an auto order

* .

* Added createDialog

* .

* Updated Armor SRD

* .

* Fixed character sheet armor update

* Updated itemconfig

* Actions now use createDialog for effects

* .

* .

* Fixed ArmorEffect max being a string

* Fixed SRD armor effects

* Finally finished the migration ._.

* SRD finalization

* Added ArmoreEffect.armorInteraction option

* Added ArmorManagement menu

* Fixed DamageReductionDialog

* Fixed ArmorManagement pip syle

* feat: add style to armors tooltip, add a style to make armor slot label more clear that was a button and add a tooltip location

* .

* Removed tooltip on manageArmor

* Fixes

* Fixed Downtime armor repair

* Removed ArmorScore from character data model and instead adding it in basePrep

* [Feature] ArmorEffect reworked into ChangeType on BaseEffect (#1739)

* Initial

* .

* Single armor rework start

* More fixes

* Fixed DamageReductionDialog

* Removed last traces of ArmorEffect

* .

* Corrected the SRD to use base effects again

* Removed bare bones armor item

* [V14] Refactor ArmorChange schema and fix some bugs (#1742)

* Refactor ArmorChange schema and fix some bugs

* Add current back to schema

* Fixed so changing armor values and taking damage works again

* Fixed so that scrolltexts for armor changes work again

* Removed old marks on armor.system

* Restored damageReductionDialog armorScore.value

* Use toggle for css class addition/removal

* Fix armor change type choices

* Added ArmorChange DamageThresholds

---------

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

* [V14] Armor System ArmorScore (#1744)

* Readded so that armor items have their system defined armor instead of using an ActiveEffect

* Consolidate armor source retrieval

* Fix regression with updating armor when sources are disabled

* Simplify armor pip update

* Use helper in damage reduction dialog

* .

* Corrected SRD Armor Items

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>

* Updated migrations

* Migrations are now not horrible =D

---------

Co-authored-by: Murilo Brito <dev.murilobrito@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-22 01:57:46 +01:00
WBHarry
a3f515cf6d Fixed TokenConfig error:ing on save 2026-03-21 11:39:18 +01:00
Carlos Fernandez
b3e9c3fd9f
Use ActiveEffect Config for settings as well (#1741) 2026-03-21 00:46:30 +01:00
WBHarry
ad8caabf71 TagTeam Fixes 2026-03-16 20:29:12 +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
a7eda31aec Merged with main 2026-03-16 01:33:50 +01:00
WBHarry
f9b7fdca52
Fixed error with missing partial block (#1733) 2026-03-15 22:46:56 +01:00
WBHarry
7c0ab25e10 Fixed contextmenu 2026-03-14 00:10:48 +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
ee3bbaec53 Fixed drag/drop 2026-03-12 22:12:45 +01:00
WBHarry
552c62adc1
[Feature] Custom Resources (#1714)
* Initial

* .

* Fixed positioning

* .

* Only showing the menu if there are extra resources

* Improved resourceManager clickable

* .

* Changed variable name

* Refactor resources selection and data prep (#1721)

* Move resources select to scrolly text and accept actor object

* Convert isReversed to prepared data and add label

* Removed unused imports

---------

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

* Naming

* [Feature] Custom Homebrew Resources (#1718)

* Added resources to the Homebrew Menu

* Fixed translations

* .

* Inverted from isImage to isIcon. Should be more logical for users

* Removed testing resources

* Refactor resource settings to not be a method (#1723)

* Fix editing homebrew resources with a custom ResourcesField

* Fix removing homebrew resources

* Remove vestigial code

* Use custom config for module data instead of including in all (#1724)

* Use custom config for module data instead of including in all

* More simple

* base highest priority

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-11 11:10:28 +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
f920fa7ba2
[Fix] 1699 - Trait Generalization For Descriptions (#1717)
* Fixed so that domaincard tooltips properly use the all domains including homebrew

* .

* Adjust spacing of compendium browser tags (#1720)

* Remove some vestigial inCompendiums

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-10 00:10:21 +01:00
WBHarry
83f6c940df
Fixed so that the new feature button in the character sheet can take you to the compendium browser (#1719) 2026-03-09 23:09:16 +01:00
WBHarry
a42d708f15
[Feature] Phase Transform (#1710)
* Added transform action to handle phased adversaries

* Added support for keeping currently marked hitPoints/stress when transforming

* Minor fixes

* Compendium update

* Added consideration for an active combatant
2026-03-08 14:34:22 +01:00
WBHarry
5a4bbc91f5
[Feature] Damage Iterrable Rework (#1685)
* Initial

* More

* Fixed current actionConfig damage

* Reworked ActionConfig damage ui

* .

* Updated all Adversary compendium damage entries

* more

* The rest

* Fixed misses

* .

* .

* Also migrate sub fields of MappingField

* Removed MappingField

* Fix regression with re-tiering adversaries when dealing non-hp damage

* Allow iterable object to be detected as an object by foundry

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-08 00:58:24 +01:00