* 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>
* 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>
* allow /dr and [[/dr]] to be rolled without selection
* fix weird ternary
* Fixed so trait modifier comes along correctly
---------
Co-authored-by: psitacus <walther.johnson@ucalgary.ca>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Troubleshooting
Created test button in 'duality-roll.hbs' and functionality in chatLog.mjs
* Updated functionality
dialog recheck.
* Update duality-roll.hbs
testing toggle on specific areas so only tooltip is triggered.
Rest of CSS functionality not affected.
* Redoing Dice Reroll functionality
Attempting something new
* The rise of NaNs
Resolved Dice Parsing Errors, now dealing with parsing errors from system values.
* Forcing string evaluation for testing
* Fixed rerolling of duality dice
* Fixed message.rolls not being updated
* Added support for d20 rolls
* PR fixes
---------
Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
* Temp
* Finished Evolved
* Fixed hybrid
* Changed generalConfig.tiers to be number based
* Weaponhandling while in beastform
* Added unarmed strike in sidebar
* Added DamageEnricher
* Added effect enricher
* Corrected downtime buttons and actions
* Added BeastformTooltip
* Split the BeastformDialog into parts with tabs
* Added temp beastform features
* rollData change
* Improvement
* character.getRollData cleanup
* 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>
* - Move all DataModel item files to a new 'items' subfolder for better organization
- Add _module.mjs file to simplify imports
- Update all import paths
- Rename class for use the new acronym DH
* FIX: remove unnecessary import
* FEAT: BaseDataItem class
add TODO comments for future improvements
FIX: Remove effect field on template
FIX: remove unused DhpEffects file
* FEAT: new FormulaField class
FEAT: add getRollData on BaseDataItem Class
FEAT: weapon
FIX: remove inventoryWeapon field on Weapon Data Model
* FEAT: add class prepareBaseData for domains
* FEAT: new ForeignDocumentUUIDField
FIX: Remove unnecessary fields
FEAT: use ForeignDocumentUUIDField in the Item Class DataModel
* FIX: remove wrong option in String Field
* FIX: remove unused import
* FIX: ADD htmlFields description in manifest
* FIX: minor fixes
* REFACTOR: rename folder `data/items` -> `data/item`
REFACTOR: rename folder `data/messages` -> `data/chat-message`.
* FIX: imports
FIX: items sheet new paths
FIX: ItemDataModelMetadata type jsdoc
* FEAT: formatting code
FIX: fix fields used
FEAT: add jsdoc
* 110 - Class Data Model (#111)
* Added PreCreate/Create/Delete logic for Class/Subclass and set it as foreignUUID fields in PC
* Moved methods into TypedModelData
* Simplified Subclass
* Fixed up data model and a basic placeholder template (#117)
* 118 - adversary data model (#119)
* Fixed datamodel and set up basic template in new style
* Added in a temp attack button, because why not
* Restored HitPoints counting up
* 113 - Character Data Model (#114)
* Improved Character datamodel
* Removed additional unneccessary getters
* Preliminary cleanup in the class sheet
* Cleanup of 'pc' references
* Corrected Duality rolling from Character
* Fix to damage roll
* Added a basic BaseDataActor data model
* Gathered exports
* getRollData recursion fix
* Feature/112 items use action datamodel (#127)
* Create new actions classes
* actions types - attack roll
* fixes before merge
* First PR
* Add daggerheart.css to gitignore
* Update ToDo
* Remove console log
* Fixed chat /dr roll
* Remove jQuery
* Fixed so the different chat themes work again
* Fixed duality roll buttons
* Fix to advantage/disadvantage shortcut
* Extand action to other item types
* Roll fixes
* Fixes to adversary rolls
* resources
* Fixed adversary dice
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Feature/116-implementation-of-pseudo-documents (#125)
* FEAT: add baseDataModel logic
* FEAT: new PseudoDocumentsField
FIX: BasePseudoDocument 's getEmbeddedDocument
* FEAT: PseudoDocument class
* FEAT: add TypedPseudoDocument
REFACTOR: PreudoDocument
FIX: Typos Bug
* FIX: CONFIG types
* FEAT: basic PseudoDocumentSheet
* FIX: remove schema
ADD: input of example
---------
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Levelup Followup (#126)
* Levelup applies bonuses to character
* Added visualisation of domain card levels
* Fixed domaincard level max for selections in a tier
* A trait can now only be level up once within the same tier
---------
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
Co-authored-by: Dapoulp <74197441+Dapoulp@users.noreply.github.com>
* Added DualityRoll direct rolls in chat
* Added button render to renderJournalEntryPageProseMirrorSheet and renderHandlebarsApplication
* Hope and Fear dice totals are now properly added together
* Added Colorful/Normal DualityRoll color settings