Commit graph

363 commits

Author SHA1 Message Date
WBHarry
4319fbabb9 Merged with main 2026-03-26 16:17:23 +01:00
WBHarry
a4fff56461 Fixed base resources getting their values capped to max at prepareDerivedData. Fixed effect autocomplete not having labels for baseResources. 2026-03-25 17:07:20 +01:00
WBHarry
931217577a Fixed BaseEffect emiting a scroll text of 0 armor change on every update 2026-03-25 14:30:42 +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
7a7940aa04 Merged with main 2026-03-23 01:14:20 +01:00
WBHarry
848a7ab466 Removed DestroyOnEmpty from consumables 2026-03-23 00:33:02 +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
d5244eedbf Merged with main 2026-03-17 22:46:08 +01:00
WBHarry
263c05c307 Fixed scars getting stuck at 0 2026-03-17 22:31:14 +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
e77b927a75 Merged with main 2026-03-15 11:45:21 +01:00
Carlos Fernandez
9d6c26e8c4
Fix retrieving resource attribute bars in token (#1730) 2026-03-14 06:22:33 -04:00
Carlos Fernandez
1160f51347 Fix hasDamage checks on non-attack actions 2026-03-13 18:47:55 -04:00
Carlos Fernandez
92bcaf4962 Fix clean type in v14 2026-03-13 18:09:19 -04: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
5c8d16e100 Raised version 2026-03-12 21:35:26 +01:00
WBHarry
50b4b4cf26 Fixed scars change preUpdate 2026-03-12 19:52:01 +01:00
WBHarry
4282933dcf Fixed so that TransformActions don't make a new actor when transforming into another world actor 2026-03-11 18:08:49 +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
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
WBHarry
876e496d24 Merged with main 2026-03-07 01:39:52 +01:00
WBHarry
a4f8c67707
Added vulnerable condition automation (#1704) 2026-03-07 01:32:36 +01:00
WBHarry
986544a653
[Fix] 1689 - Missing Feature Errors (#1690)
* Fixed so that weaponfeatures and armorFeatures are tolerant of features having been removed

* .
2026-03-04 22:16:11 +10:00
WBHarry
c48842dd2d Fixed error on deleting a sceneEnvironment item 2026-02-26 20:04:59 +01:00
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