Commit graph

64 commits

Author SHA1 Message Date
Dapoolp
462756d08c Merge branch 'feature/112-items-use-action-datamodel' of https://github.com/Foundryborne/daggerheart into feature/112-items-use-action-datamodel 2025-06-13 12:58:10 +02:00
WBHarry
ceb74296a1 Fixed adversary dice 2025-06-13 12:20:39 +02:00
Dapoolp
6d99042279 fix conflicts 2025-06-13 11:57:11 +02:00
Dapoolp
9f70ebd561 resources 2025-06-13 11:56:12 +02:00
WBHarry
dfb2c6bd3c Fixes to adversary rolls 2025-06-13 11:45:37 +02:00
WBHarry
564dcf8932 Roll fixes 2025-06-13 10:51:43 +02:00
Dapoolp
dba49a9bfb Merge branch 'feature/112-items-use-action-datamodel' of https://github.com/Foundryborne/daggerheart into feature/112-items-use-action-datamodel 2025-06-13 02:01:28 +02:00
Dapoolp
76c894c388 Extand action to other item types 2025-06-13 02:01:18 +02:00
WBHarry
75ee44af52 Fixed so the different chat themes work again 2025-06-13 00:28:21 +02:00
Dapoolp
3d034cd24e Remove console log 2025-06-12 23:02:12 +02:00
Dapoolp
d7a2c05694 Update ToDo 2025-06-12 22:40:51 +02:00
Dapoolp
fad34ae975 First PR 2025-06-12 22:36:55 +02:00
Dapoolp
7178148c80 fix conflicts 2025-06-10 23:58:57 +02:00
Dapoolp
2e83bb4a16 fixes before merge 2025-06-10 23:54:30 +02:00
Dapoolp
edaf5df9e0 actions types - attack roll 2025-06-10 23:41:25 +02:00
WBHarry
610323fde9 getRollData recursion fix 2025-06-09 20:13:20 +02:00
WBHarry
2ba580da58 Gathered exports 2025-06-09 15:01:37 +02:00
WBHarry
1129ff57a9 Added a basic BaseDataActor data model 2025-06-09 14:53:06 +02:00
WBHarry
70382df63c
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
2025-06-09 13:36:48 +02:00
WBHarry
02f16f7363
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
2025-06-09 13:33:33 +02:00
WBHarry
ad0acd62cd
Fixed up data model and a basic placeholder template (#117) 2025-06-09 13:25:43 +02:00
Dapoolp
4c7f3a02c4 Create new actions classes 2025-06-08 00:37:39 +02:00
WBHarry
746e0f239a
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
2025-06-07 20:30:12 +02:00
WBHarry
53be047e12 Merged with main 2025-06-07 02:08:57 +02:00
WBHarry
a92221778e
Levelup Remake (#100)
* 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
2025-06-07 01:50:50 +02:00
WBHarry
aa8fe6a7a1
Combat and CombatTracker (#108)
* Added Combat and CombatTracker

* Some cleneaup

* Fixing and cleaning up

* Added categories for combatants

* Style improvements

* Layout change
2025-06-07 00:06:54 +02:00
Joaquin Pereyra
f3942280b6 FEAT: formatting code
FIX: fix fields used
FEAT: add jsdoc
2025-06-06 18:17:14 -03:00
Joaquin Pereyra
80cedbe4d2 FIX: imports
FIX: items sheet new paths
FIX: ItemDataModelMetadata type jsdoc
2025-06-03 19:26:41 -03:00
Joaquin Pereyra
08a21dcb2f REFACTOR: rename folder data/items -> data/item
REFACTOR: rename folder `data/messages` -> `data/chat-message`.
2025-06-02 18:00:04 -03:00
Joaquin Pereyra
a6acbe750a Merge remote-tracking branch 'origin/main' into refactor/84-data-models-structure 2025-06-01 15:31:29 -03:00
Joaquin Pereyra
841c0804b6 FIX: minor fixes 2025-05-31 18:30:50 -03:00
Joaquin Pereyra
2c58398084 FIX: remove unused import 2025-05-31 17:00:08 -03:00
Joaquin Pereyra
b0300a2ee2 FIX: remove wrong option in String Field 2025-05-31 16:55:50 -03:00
Joaquin Pereyra
00fc07d67c FEAT: new ForeignDocumentUUIDField
FIX: Remove unnecessary fields
FEAT: use ForeignDocumentUUIDField in the Item Class DataModel
2025-05-31 16:55:26 -03:00
Joaquin Pereyra
996e72d4f2 FEAT: add class prepareBaseData for domains 2025-05-31 13:31:59 -03:00
Joaquin Pereyra
527a0cd419 FEAT: new FormulaField class
FEAT: add getRollData on BaseDataItem Class
FEAT: weapon
FIX: remove inventoryWeapon field on Weapon Data Model
2025-05-31 12:46:26 -03:00
IrkTheImp
d34272a301
finding and fixing bugs. (#88) 2025-05-31 10:53:47 +02:00
Joaquin Pereyra
ec7f32cdc7 FEAT: BaseDataItem class
add TODO comments for future improvements
FIX: Remove effect field on template
FIX: remove unused DhpEffects file
2025-05-30 20:31:34 -03:00
Joaquin Pereyra
d6eef9da47 - 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
2025-05-30 16:56:00 -03:00
IrkTheImp
7c792f409f
Issue 80 Chatmessage fix (#81)
* fix chatmessage to render the template in constructor. Update namespaces.

* update all chat messages to render templates
2025-05-30 11:13:08 +02:00
WBHarry
66b800ea51 Removed duplicate 'initial' properties on armor 2025-05-28 13:36:53 +02:00
moliloo
ef4652ab1a enhance armor and weapon sheet 2025-05-27 21:49:28 -03:00
WBHarry
c4a03b2d54
Duality Roll Followup (#65)
* Moved the roll total to bottom right. A bunch of label fixes
* Fixed broken attack-roll damage button
* Added AppearanceMenu allowing modification of DiceSoNice Duality presets
2025-05-27 20:07:47 +02:00
IrkTheImp
c306c95e6b
Issue 64 (#67)
* fix pc sheet backend actions
2025-05-26 20:31:54 +02:00
Emilio Jimenez
63274d67ce
fix(class): remove damage thresholds (#66)
Co-authored-by: JimCanE <6275508-jimcane@users.noreply.gitlab.com>
2025-05-26 19:28:34 +02:00
Murilo Brito
307af1fd77
Merge pull request #59 from Foundryborne/feature/49-enhace-feature-sheet
Enhace feature sheet and apply new standard style to applications
2025-05-26 12:42:35 -03:00
molilo
3c948ca1b7 enhace feature sheet and apply new standard style to applications
fix unexpected missed padding

requested changes
2025-05-26 12:39:59 -03:00
WBHarry
d1a0a9ab24
Embedding Duality Rolls (#52)
* 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
2025-05-26 16:34:32 +02:00
WBHarry
cf51153432
Review Inventory (#55)
* Weapons and Armor are now stored like any other item on the PC. Added equip/unequip logic.

* Changed so that equip attempts always go through and the neccessary weapons are unequipped to fascilitate it

* Fixed drag equip and extracted unequipBeforeEquip logic
2025-05-26 15:43:04 +02:00
Emilio Jimenez
e135a44222
feat(subclassFeatures): fix adding abilities (#54)
* feat(subclassFeatures): fix adding abilities

* fix(subclassFeatures): fix tabs names

---------

Co-authored-by: JimCanE <6275508-jimcane@users.noreply.gitlab.com>
2025-05-25 21:30:40 +02:00