* Fix rolling critical damage after rerolling into a crit
* Add toggle for critical damage
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* 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>
* 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>
* 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
* .
* 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
* 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
* 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.
* .
* Added an automation setting for chat command resources
* Added automation settings for wether to have deathmove automation
* .
* Flattened automation structure
* 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>
* 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>
* Schema definition for DHSummonAction
* Will reimplement
* HBS idea formed. Need to recheck drag drop implementation
* Tried to refine drag drop
* drag drop implemented (css tbd)
* phase 1 complete
* tbd work on summon action type
* Improved Schema and now it works
* .
* Dialog created. Tokens not dragged(tbd).
* Bare minimum implementation
* Finalized functionality
* Cleanup
* .
* Added optional summon render to chat message
* Updated SRD
* bugfix: fix title lines not rendering in chat messages
* Added summon actions to the easily doable environments in the SRD
* Update module/data/fields/action/summonField.mjs
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
---------
Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
Co-authored-by: Murilo Brito <dev.murilobrito@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
* Removed the disabled default ownership select in the ownership view. Added a fallback text incase there are no players added yet
* Corrected noPlayers condition
* Marking up the places that need changing for bug #1160
* Creating a shared method called isItemAvailable and using it in downtime
* Explicitely adding the false value rather than relying on undefined returns. Oops
* Removing spaces
* Removing a needless return line
* Adding missing semicolon
* Added implementation of unstoppable
* Forgot to add the updated Unstoppable Feature itself
* Added immunity for hidden and SRD additions for immunity
* Fixed so items from the inventory tab of the Party sheet can be dragged out
* Added transfer logic
* Added translation
* Improved item transfer dialog title
* Simplified title
* Updated image
* Simplified the handlebars templates for itemTransfer
* Improved item-identicial check
* Slight improved rendering
* .
* Fixed so downtime actiosn can be used again
* Update module/data/fields/action/targetField.mjs
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
* .
---------
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
* start development
* finish party members tab
* start resources tab
* finish resources tab
* finish inventory tab and add inital template to projects tab
* add resource buttons actions methods
* add group roll dialog
* Main implementation
* Fixed costs
* Minor fixes and tweaks for the party sheet (#1239)
* Minor fixes and tweaks for the party sheet
* Fix scroll restoration for party sheet tabs
* Finished GroupRoll
* Removed/commented-out not yet implemented things
* Commented out Difficulty since it's not used yet
* Re-render party when members update (#1242)
* Fixed so style applies in preview chat message
* Added the clown car
* Fixed so items can be dropped into the Party sheet
* Added delete icon to inventory
* Fixed TokenHUD token property useage. Fixed skipping roll message
* Added visible modifier to GroupRoll leader result
* Leader roll displays the large result display right away after rolling
* Corrected tokenHUD for non-player-tokens
* Fixed clowncar tokenData
* Fixed TagTeam roll message and sound
* Removed final TagTeamRoll roll sound
* [PR] [Party Sheets] Sidebar character sheet changes (#1249)
* Something experimenting
* I am silly (wearning Dunce hat)
* Stressful task
* Armor functional to be hit
* CSS Changes to accomadate pip boy
* last minute change to resource section for better visual feeling
* restoring old css for toggle
* Added setting to toggle pip/number display
* toggle functionality added
* Fixed light-mode in characterSheet
* Fixed multi-row resource pips display for character
* Fixed separators
* Added pip-display to Adversary and Companion. Some fixing on armor display
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Fixed party height and resource armor update
* Fixed deletebutton padding
* Only showing expand-me icon on InventoryItem if there is a description to show
* .
* Fixed menu icon to be beige instead of white in dark mode
---------
Co-authored-by: moliloo <dev.murilobrito@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>