* add basic drag drop window
* add better field
* make effects copy onto actor on attachment
* make items from inventory draggable
* working drop from inventory
* remove duplication issue
* add attachment only flag and logic
* add weapons to attachables
* remove debug logs
* try to make it drier
* remove unecessary try catch
* remove extra configs
* remove superfluous comments
* remove spurious defenses
* make drier
* remove unecessary code
* deduplicate and simplify
* its a desert
* standardize to be more similar to class item code
* fix bug of duplicate effects being created
* fix localization string
* fix bug of item equiping and un equiping
* remove this since were not going to be using attachmentonly
* update attachment tab with comments
* remove attachment only logic in favor of just transfer
* change flags
* change armor and weapon to be attachableItem
* change armor and weapon to be attachableItem
* change weapon to use mixin
* add mixin to armor
* move everything to mixin sheet
* refactor code for review comments
* cleanup and somehow git is ignoring some changes
* see if this picks up the changes now
* Import/Export updates
---------
Co-authored-by: psitacus <walther.johnson@ucalgary.ca>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Added parsing of effect values from Item data model. Almost finished with itemConfig.
* Added the last to itemConfig
* Fixed armor
* ContextMenu localization fixes
* Better tooltips for tagify
* Corrected resource logic
* Added confirm dialogs to delete
* Localization fix
* Changed Cone template to be 'In Front', acting as a 180 degree cone
* Changed to keep the original Cone function
* Organized language
* Organized high level folders
* Some deeper organization
* More org. That's enough ._.
* Capitalized initial system localization categories
* Removed action fields on Adversary/Environment in favor of using Feature Items
* Added drag/drop for features onto adversary/environment settings
* Added Drag of features from Adversary/Environment settings to anywhere in Foundry
* Updated all item types except Class/Subclass
* Added for Class/Subclass
* Items now copy over their features to Character
* Corrected back to actions for right items
* Fixed adversary/environment features display
* PR Fixes
* new companion sheet templates
* Data fixes
* Changed from evasion.value to evasion.total in display
* add attack config and disable experience value input
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* rework new environment template sheet, add environment-settings sheet, improve adversary-settings sheet and delete legacy actor sheet templates
* Potential Adversaries can be dragged out of the sheet onto canvas
* Added ToChat and UseItem
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* add homebrew options to rename currency names
* add title. remove localization from settings file since it didn't work.
* use enabled toggle to use localized initial label values.
* cleanup
* Fix action for items
* Cost & Range #1
* remove log
* actions
* Split methods
* Roll classes
* Begin damage
* g
* Actions
* before main merge
* Fix d20RollDialog costs check
* Fix submit on close
* Add uses in action dialog
* Adversary Attack
* 166 - Damage Reduction (#180)
* Temp
* Fixed Stress Reductions
* Changed from index based to object
* Fixed stress resources management for DamageReduction
* Fix Adversary attack multiplier
* Auto add Attack action to newly created weapon
* Few fixes
* 164 - Add Hope/Fear formula
* 163 - Actor Sub Datas (#182)
* Added rules/bonuses for all classes and subclasses
* More
* Add Save
* Fix delete action button
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
Co-authored-by: WBHarry <89362246+WBHarry@users.noreply.github.com>
* Added the shell of the Countdown application
* Added countdown automation
* Fixed overflow layout and added confirmation on countdown removal
* Added ownership to countdowns
* - 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>
* Set up DhLevelTier datamodel
* Added Levelup data model and started at the render
* Fixed data handling in the LevelUp view
* Added back the save function
* Finalised levelup selections and propagating to PC
* Added level advancement selection data
* Added DomainCard selection
* Css merge commit
* Added PC level/delevel benefits of leveling up
* Fixed sticky previous selections on continous leveling
* Fixed up Summary. Fixed multiclass/subclass blocking on selection
* Removed unused level.hbs
* Fixed attribute base for PC
* Improved naming of attribute properties
* Renamed/structured resources/evasion/proficiency
* Improved trait marking
* Rework to level up once at a time
* Added markers
* Removed tabs when in Summary
* Fixed multilevel buttons
* Improved multiclass/subclass recognition
* Fixed tagify error on selection
* Review fixes