* Updated the background image for the system
* Fixed so Weapon/Armor features are added again
* Fixed so fear is available as a resource to be deducted by actions (#757)
* Changed to use the config labels and src
* Updated Weapons
* Fixed so the decrease button of simple fear tracker is not visible when not hovered
* Fixed so armor preUpdate doesn't fail if no system changes are made
* Updated .gitignore and author details (#777)
* Add author details and name mapping for chrisryan10 (#773)
Co-authored-by: Chris Ryan <chrisr@blackhole>
* Add build to ignore for my linux dev (#775)
Co-authored-by: Chris Ryan <chrisr@blackhole>
---------
Co-authored-by: Chris Ryan <chrisr@blackhole>
* Corrected sneak attack active effect (#780)
* Fixed a spelling error (#779)
* Fix bardic rally showing in damage dialog when it should not (#783)
* update spelling (#786)
* Translating inventory descriptions (#782)
* updated credits for 1.0.1 release (#797)
* updated credits for 1.0.1 release
* further updated artwork credits
* Chagned handlebarhelper rollparsed to be more defensive (#794)
* Added missing scene refreshType (#790)
* Remove ability use buttons for not owned abilities (#795)
* [Fix] PrayerDice Fixed (#799)
* Fixed prayer dice, and wheelchair images
* Fixed -settings data sources
* Dragging features from one adversary to another (#788)
* [Fix] Levelup Fixes (#787)
* Fixed crash on experience selection. Fixed subclass error on multiclassing
* Fixed so multiclasses do not gain the hope feature for the class
* Fixed so Class/Subclass features are properly deleted on delevel
* Removed automatic deletion of features on delevel when not using levelup auto
* Fixed so custom domains can be selected in levelup when multiclassing
* Changed so encounter countdowns is a button (#804)
* Fixed so that dropping on class/subclass...creates the item on the character (#803)
* [BUG] - Importing All Adversaries/Environments (#814)
Fixes#774
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* Bug/671 reaction roll chat title (#809)
* Update Reaction Roll Chat Message Title
* Removed console log
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Improve Trait tooltip display (#817)
Fixes#806
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* [BUG] - Combat Tracker d12 logo not found (#812)
Fixes#764
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* Compendium Browser (#821)
* Corrected timbending description localization (#816)
* [Fix] Compendium Item (#810)
* Corrected Emberwoven Armor
* Fixed subclass regression
* Fixed so character's with wildcard images don't break beastform (#815)
* Fix roll result based duality damage (#822)
* Impproved Adversary Sheet Data Display (#751)
* Impproved Adversary Sheet Data Display
Fixes#604
* FIX: formula lables for attacks and weapons
---------
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* Fixed so exp increases can be selected normally (#835)
* Update localization of rollSelection.hbs (#841)
The Fear label lacked a localization path
* renamed .md files (#834)
* Removed the unintended icons that came from merge conflicts (#838)
* Sheet image position (#861)
* Remove extra result text from reaction chat message (#860)
* Remove extra result text from reaction chat message
* Remove log
* [Fix] 850 - Downtime Refreshes (#859)
* Fixed the filtering of refreshable features
* Raised version
* [Fix] 691 - CharacterCreation Improvement (#863)
* Removed main creation tab. Added equipment to remaining tab
* Fixed MixedAncestry name setting
* Fixed tab after first creation
* Fix/857 generic roll buttons (#866)
* Action Macro working again
* Remove buttons from generic roll for non-gm
* Update sidebar.less Armor Slots label padding, for translations (#872)
Equalizes the vertical and horizontal padding on the Armor Slots status label, to allow for more (much needed) room for the upcoming French translation (and others in the future).
Doesn't change anything for the display in English.
* Hid item attachments for now (#876)
* Fixed so effects supposed to use item data use the model directly, since items have no rolldata (#883)
* Made sure the beastform user isn't moved onto other duplicate actors. Fixed scrolling text duplication (#882)
* Change the critical damage max calculation (#890)
* Change the critical damage max calculation to avoid setting the rolled portion to maximum all the time.
* Change to the more neater code
* Restored package.json
---------
Co-authored-by: Chris Ryan <chrisr@blackhole>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Fix movement (#885)
* Changed so companion can level up on its own (#879)
* Fix the missing ancestries in the SRD (#888)
Co-authored-by: Chris Ryan <chrisr@blackhole>
* Removed the old, now unused companion levelup button (#893)
* Fixed so custom downtime moves will display their descriptions in the tooltip (#894)
* Made coinflip icons in chat round (#895)
* Fixed undefined case (#898)
* Fix/877 hope update order (#896)
* Action Macro working again
* k
* Fix Hope gain on Duality Roll
* [Feature] Descriptions enhancements (#887)
* add style to hover items and add start setting to features be expanded by default
* REFACTOR:
now prepare description onRender and simply the other methods
* add setting to extend description from items and add molilo contacts in system.json
---------
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* Fixed traits container styling in light-mode (#899)
* [BUG] - Movement Button selector not showing current mode (#912)
Fixes#910
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* Fix/864 chat targeting (#911)
* Fix targeting
* Fix chat target selection
* Uncomment chatDisplay
* Removed unessecary arg
* [Feature] 648 - Mark Defeated Actors (#914)
* Improved death marking styling
* Added automation for defeated status
* Fixed so the tracker recognises and sets the correct defeated statuses depending on type
* Fixed so missing statuses doesn't cause crashes
* Increased companion sheet width by 40 pixels
* Added missing inheritDoc
* Removed fas
* FIX: use img instead of icons con statusEffectConfigns (#917)
Authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
---------
Co-authored-by: Chris Ryan <73275196+chrisryan10@users.noreply.github.com>
Co-authored-by: Chris Ryan <chrisr@blackhole>
Co-authored-by: Dapoulp <74197441+Dapoulp@users.noreply.github.com>
Co-authored-by: IrkTheImp <41175833+IrkTheImp@users.noreply.github.com>
Co-authored-by: CPTN_Cosmo <cptncosmo@gmail.com>
Co-authored-by: Josh Q. <jshqntnr13@gmail.com>
Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
Co-authored-by: SunnySunSun <snysun@pm.me>
Co-authored-by: Murilo Brito <91566541+moliloo@users.noreply.github.com>
* Added a button to spend/restore uses of an action
* Fixed some compendium Uses on actions
* Went over all item compendia and fixed some Uses on actions
* Fixed folder order in Subclass compendium
* style items and action chat messages
* enhance death move chat message and fix border bottom from title actions
* fix padding bottom
* Added basic chat-message.hbs
* .
* style remaing chat messages
* style action messages
* remove console log
* add colapsable descriptions in chat messages
* inital style for message rolls
* fix deal damage button style
* add new partchments
* Roll Chat message new design template
* j
* l
* p
* y
* fix _getTags type error and add a alias label for non base messages
* Fix damage & healing roll
* Fix conflict
* Deleting old templates
* Good for now
* fix labels in duality rolls messages and style experience and effects messages
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
Co-authored-by: Dapoolp <elcatnet@gmail.com>
* Downtime: allow moves to be taken individually.
Fixes https://github.com/Foundryborne/daggerheart/issues/374
Some downtime moves require a roll to see how successful they are. In these
cases, the player might want to see how their first move works out before
they select their next one.
This commit updates the downtime dialog to allow for this behaviour:
- The "Take Downtime" button is enabled whenever any moves are selected.
- Clicking the button only closes the dialog when all moves have been made.
To keep track of this, the `nrChoices` object has been expanded to include a
`taken` counter, which is increased whenever a move is taken.
After making one move the selection is reset, but the number of moves
displayed in the dialog header and the number of permitted selections both
take the number of taken moves into account.
* Fix heading in short rest chat message.
Prior to this commit the heading for a short rest chat message was "long
rest".
* Remove unused template context.
* Extract method for repeated calculation.
In the downtime dialog, we need to calculate the number of selected moves in
several places. This commit extracts a method to handle that, which reduces
repetition and hopefully makes the code more readable.
* Refactor: handle button data attrs the same.
A small refactor to handle `button.dataset.move` (which was assigned to a
local const) and `button.dataset.category` (which was accessed directly)
in the same way by assigning them both to local consts.
* Fix right-click on downtime activities on macOS.
On macOS with a single-button mouse (e.g. a laptop trackpad) it's common to
trigger a right-click with ctrl+click.
In Chrome, this triggers both a `contextmenu` event and a regular `click`
event. In the context of downtime actions, this meant that we were
deselecting an action in the `contextmenu` handler but then immediately
re-selecting it again in the `click` handler.
This commit works around the problem by stopping the event from propagating
further. This fixes the bug, but also stops Foundry's default `contextmenu`
handler from firing and preventing the browser context menu from appearing,
so we also have prevent the event's default behaviour from firing.
* Fixed so that the dropdown for activeEffectAutocomplete never ends up behind dialog
* Downtime can now display both ShortRest and LongRest options depending on character rules
* Initial downtime layout rework
* Fixed styling for downtime tooltip
* Added icon to homebrew menu for DowntimeActions
* Fixed columns if both types of moves are not available
* Changed the lightmode to darkmode
* Added downtime buttons
* .
* Moved extra rest options from rules to bonuses
* Improved dialog width
* Organized language
* Organized high level folders
* Some deeper organization
* More org. That's enough ._.
* Capitalized initial system localization categories
* Restructured all the files
* Moved build/daggerheart.js to ./daggerheart.js. Changed rollup to use the css file instead of the less
* Restored build/ folder
* Mvoed config out form under application
* Moved roll.mjs to module/dice and renamed to dhRolls.mjs
* Update module/canvas/placeables/_module.mjs
Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
* Le massive export update
* Removed unncessary import
---------
Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
2025-07-05 00:26:33 +02:00
Renamed from module/applications/downtime.mjs (Browse further)