Commit graph

208 commits

Author SHA1 Message Date
WBHarry
8a0b1b8e22
[Fix] Translation Fixes (#1789)
* Fixed translations

* .
2026-04-11 22:55:26 +02: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
f92f9f7132 Fixed so that tokens with vision range set to Infinity doesn't make summon actions error out 2026-04-02 17:10:13 +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
e2b13d6717 Removed a temporary override function in document/token. Doesn't seem needed anymore, and it was outdated, making bar2 on tokens never visualy update 2026-03-29 12:50:34 +02:00
WBHarry
c730cc3d4d
[Feature] 1740 - Beastform Info (#1750)
* Improved the EffectDisplay tooltip of the beastform effect to show the info about the active beastform

* .

* Move template to more sorted location

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-28 00:18:35 +01:00
WBHarry
7f8e3fee6e Fixed ActiveEffect preCreate blocking multiple effects with origin=null 2026-03-27 22:24:13 +01:00
WBHarry
d79c236cfe Fixed effects not being creatable when not on an actor 2026-03-27 22:11:01 +01:00
WBHarry
4319fbabb9 Merged with main 2026-03-26 16:17:23 +01:00
Carlos Fernandez
eb9e47c39d
Refresh effects display after actor preparation (#1752) 2026-03-26 15:50:52 +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
7a7940aa04 Merged with main 2026-03-23 01:14:20 +01:00
WBHarry
d258478218
Fixed so that tooltips don't get stuck (#1745) 2026-03-23 01:11:21 +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
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
f11d5f98dd Fixed TooltipManager setAnchor erroring when no options were sent in 2026-03-16 01:19:54 +01:00
WBHarry
b87e630a0a Merged main 2026-03-13 00:25:50 +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
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
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
17ec77a349 Fixed not being able to open the tokenConfig of actor-less tokens 2026-02-11 00:31:45 +01:00
WBHarry
063ff3d999 Merged with main 2026-02-09 15:44:54 +01:00
WBHarry
7c86417752 Added _applyLegacy parse logic for ActiveEffect 2026-02-09 12:41:13 +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
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
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
c17020c2c8 Fixed ActiveEffect.getChangeValue not expecting a number as change.value 2026-02-02 20:00:15 +01:00
WBHarry
491d921a9b
Made sure item.toChat enriches descriptions (#1625) 2026-02-02 00:40:09 +01:00
WBHarry
578b090f08
[V14] 1605 - Template Migration (#1621)
* Fixed so that our templates make use of SceneRegions instead

* Fixed visibility
2026-02-01 17:21:56 +01:00
WBHarry
57e51ee841 Added in comments about Beastform failing 2026-02-01 00:25:40 +01:00
WBHarry
307af5b990 Merged with development 2026-01-31 19:35:46 +01:00
WBHarry
cd52aa8f9c Updated from special database update syntax to DataFieldOperators 2026-01-31 18:31:10 +01:00
WBHarry
2c36da8433 Raised v14 version and fixed startup warnings 2026-01-31 01:46:24 +01:00
WBHarry
94efbeada3
Fixed a silly error with Hexgrid (#1608) 2026-01-30 16:05:11 +01:00
WBHarry
1a928e950c Initial v14 fixes 2026-01-29 18:46:39 +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
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