* FEAT: getTags and getLabels for weapons items
* FEAT: add _gettags and _getLabels to armor, domainCard, weapons and ActiveEffect
* define tags for actions
---------
Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
* Fixed so genericStatuses aren't shown in activeEffectConfig if turned off. Fixed localization of genericStatuses in Inventory-ItemV2.
* Effects with statuses on them will now add them as full additional effects so they show up on the token.
* Revert "Effects with statuses on them will now add them as full additional effects so they show up on the token."
This reverts commit 5afd7ae686.
* Redid it a better way
* Fixed so multiple statuses on an effect are still treated as active
* Small random fixes
* Added use of ItemLinkFields
* Multiclass levelup fixes
* Fixed our onCreate methods unintentionally being run on all clients
* Remade apps handling
* Added for all class items and subclass
* Restored foreignDocumentUuidField
* Improved
* PR fxies
* Fixed tooltip enrichment
* .
* Reverted silly change
* 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
* 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
* Initial
* Resource setup finished
* Fixed so that costs can be used
* Corrected standard resources
* Actions can only use item resources from their parent item
* Fixed up dice
* Fixed resource dice positioning
* Fixed parsing of resource.max
* Fixed styling on settings tab
* Added manual input for Dice Resources
* Lightmode fixes
* Fixed Feature spellcasting modifier
* Bugfix for item input to resourceDiceDialog
* Item fix for TokenInput
* PR Fixes
* 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>
* 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
* 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>
* 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>
* Updated CSS and Description view in inventory
* Inventory items now have descriptions
* CSS resolved to improve visuals (Rich text issue is still unresolved)
* Fixed as per review
* Changed the line to the elements.less file
* inventory-item updated to reflect rich text issue
* 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>
* Add ability to toggle between list and card views
* set the list display as a user flag
* Fixed domainCard cardlist rendering
---------
Co-authored-by: WBHarry <williambjrklund@gmail.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>