Commit graph

274 commits

Author SHA1 Message Date
WBHarry
6ca24b3db7
Some corrections and adds to Consumables and Loot compendia (#492) 2025-07-31 17:25:28 -06:00
WBHarry
bb9036ee7a
BeastformAction now respects and handles costs (#484) 2025-07-30 22:25:09 -03:00
WBHarry
46baef65a6
[Feature] Active Effects toggle effects based in token distance (#452)
* Added the ability for effects to automatically activate/deactivate depending on range between tokens

* Fixed to use Foundry's measuring instead.

* .
2025-07-30 10:57:06 -03:00
WBHarry
18fac18df3
[BUG] Feature Actions/Effects Lost On Creation (#457)
* Fixed so that features get their actions and effects

* .

* Refactor features creations

---------

Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
2025-07-30 10:55:06 -03:00
WBHarry
2c4d3bd4a3
[Feature] Armor/Weapon Compendiums (#459)
* Fixed localization

* .

* Added all Secondary Weapons

* Added all armors

* Added Tier1 weapons

* Tier2 Physical

* Tier 2 magical

* Tier 3 Physical

* Tier 3 Magical

* Tier 4 Physical

* Tier 4 Magical

* Added wheelchairs
2025-07-30 15:33:00 +02:00
Dapoulp
8e516df7cb
Feature/443 adversary action roll type (#456)
* Some tests

* Filter types choices

* Resource/Uses max as FormulaField

* Removed isReversed on item resources

* Stuffs

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-29 22:34:09 +02:00
WBHarry
330e15cc46
Fixed so that extra selected proficiciency is added correctly (#448) 2025-07-28 16:17:34 -03:00
Dapoulp
2be4ee8857
Feature/416 reaction roll query (#445)
* Create files

* before fixing damage roll on main

* g

* Player query for Roll All Save

* Exec Save message as GM for players

* Fix DsN bug
2025-07-28 17:44:11 +02:00
Dapoulp
fad64c9a35
Feature/allow action healing multiple resources (#437)
* Healing updates

* Remove comments
2025-07-28 00:11:43 +02:00
WBHarry
187a0dc090
[Feature] Beastform Compendium (#434)
* Various fixes

* Added fixes to make beastforms work

* .

* Added all SRD beastforms
2025-07-27 21:26:28 +02:00
5215212e02
some minor consumables fixes, more to come later (#429)
* some minor consumables fixes, more to come later

* another typo T_T

* more loot rename fixes

* more loot fixes

* Changed miscellaneous to loot

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-27 15:50:48 +02:00
Dapoulp
8cb4b7663e
Action Save difficulty (#427)
* Action Save difficulty

* Unequipped item icon opacity

* Fix sheet header
2025-07-27 14:40:25 +02:00
WBHarry
5cd9075732
Edit option is now always shown on compendium actions (#423) 2025-07-26 23:30:44 +02:00
WBHarry
a54f4e3831
[Bug] Downtime Actions Fixes (#421)
* .

* Added a temp fix for a bug in action healing section

* Corrected rules.attack.roll.trait

* .
2025-07-26 22:34:20 +02:00
Dapoulp
e6bfe08d83
Fix async/await roll postEvaluate (#417)
* Fix async/await roll postEvaluate

* Fixed DualityReroll DiceSoNice

* Add chatDisplay: false to actors base attack

* Add chatDisplay: false to downtime actions

* Add Action Type Select item name in header

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-26 15:49:02 +02:00
WBHarry
bf31ced3df
Added remaining options and fixed secure loading of dice models (#413) 2025-07-25 23:12:22 -03:00
Dapoulp
dddee78356
Max Cards loadout switch & Homebrew setting (#412)
* Max Cards loadout switch & Homebrew setting

* Fixes

* Fixes
2025-07-26 00:50:39 +02:00
WBHarry
2a4777f1a0
[Fix] Itemlink Redux Revengeance (#399)
* 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
2025-07-26 00:37:30 +02:00
Dapoulp
fcba5041e9
Action chat message + formatTarget fix (#410) 2025-07-25 21:34:03 +02:00
WBHarry
62b9a8fbee
[Feature] Downtime Improvements (#411)
* Initial

* Fixed dialog again

* Fix healing targeted resource in setting

* Removed unused templates

---------

Co-authored-by: Dapoolp <elcatnet@gmail.com>
2025-07-25 21:31:05 +02:00
Dapoulp
3f95740b7a
Reduce Action Selection click number & Style Action Type Dialog (#408)
* Reduce Action Selection click number & Style Action Type Dialog

* fixes

* Action Select buttons color
2025-07-25 19:13:21 +02:00
Dapoulp
26e3c38aa9
Fix Healing Action target (#409) 2025-07-25 18:04:56 +02:00
WBHarry
a71848cecb
[Fix] Random Fixes (#405)
* Fixed so minimum damage taken is 1, 0 was in playtest rules. Fixed so useDowntime isn't triggered on clicking enter

* .

* .
2025-07-25 10:56:09 -03:00
Dapoulp
0632a8c6bb
Refactor/actions v2 (#402)
* Action Refactor Part #1

* Fixed Weapon/Armor features. Fixed Feature actions

* f

* Action Refactor Part #2

* Fixes

* Remove ActionsField from Companion

* Fixes

* Localization fix

* BaseDataItem hasActions false

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-25 01:10:49 +02:00
WBHarry
6301e575e3
[Feature] Allow Dice Reroll in ChatMessage (#395)
* 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>
2025-07-23 01:01:21 +02:00
Murilo Brito
2721dfe417
Feature/enhance style applications (#390)
* enhance settings style applications

* enhance beastform application and fix action selection style

* Start-aligned downtime move fieldsets

* requested changes

* fixing continue button style

* fixing double scroll bars in char sheet

* set currency above item list

* fix experience not appearing in sidebar

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-22 03:04:17 +02:00
WBHarry
42a705a870
[Feature] Beastform Types (#372)
* 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
2025-07-20 21:56:22 +02:00
WBHarry
3dd2378ffb
[Fix] Localization Misses (#381)
* Initial localization adds

* Added remaining missing translation use
2025-07-20 04:15:26 +02:00
joaquinpereyra98
b8930b18a4
Bug/103 enrich htmlfield content before its used in applications (#369)
* FIX: Add enritch to HTMLField
FIX: Remove no-HTMLField from Manifest
FIX: Convert Scar's HTMLField to StringField
FIX: Remove unused HTMLField

* REMOVE unused hanldebars helpers

* FEAT: add inventory-fieldset-items-V2 and inventory-item-V2  partials for Actors

* FIX showLabels to hideTags

* FEAT: add template to items sheet

* FEAT: add effects tabs on ItemSheet

* FEAT: add context menus for all inventory-items

* FEAT: add resources to inventory-item template

* FEAT: add enritch on inventory-item description
FEAT: add extensible behavior on inventory-item-content
FEAT: add fade effect on item-img to roll-itmg

* FEAT: add eritch to NPC description
FIX: missing htmlFieldss on manfiest
FIX: add misisng localizations

* FIX_ minor fixes

* Little resource fix. Noone will notice ._.

* FIX: remove default list styles
FIX: .extended css reduce max-height, shorten animation duration to 0.5s, and set overflow to auto.
FIX: set enriched=notes.enriche on notes.hbs
FIX: set experience.value on sidebar.hbs
FIX: move tooltip from item-img to img-portrait on inventory-item-V2.hbs
REMOVE: unused files

---------

Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-19 22:21:46 +02:00
Dapoulp
7cbbb3168e
Feature/336 damage targeted resources (#376)
* Unify healing & damage

* create DHResourceData

* Damages parts roll

* h

* ChatMessage & takeDamage updates

* Adapt healing

* No, there was not a console.log !
2025-07-19 15:48:50 +02:00
WBHarry
6e87e4dad0
[Fix] Downtime Rework (#367)
* 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
2025-07-17 19:48:59 -03:00
WBHarry
0cc1597dfe
[Fix] Class Feature Change (#364)
* Changed to just use a features field

* Subclass now uses a simple Features field
2025-07-17 19:43:35 +02:00
WBHarry
1d5e267285
Improved the datastructure some to avoid errors and simplify useage (#361) 2025-07-17 14:07:11 -03:00
WBHarry
f15483c722
Feature/349 items actions macro use (#356)
* Added itemUse macro on drag to hotbar

* Fixed item.type logic

* Added support for actionMacro drag from items

* Added MacroDrag for Attacks

* Fixed so UseItem macros get the img set
2025-07-17 14:03:54 -03:00
WBHarry
d7e024be02
[Feature] Advantage/Disadvantage Tooltips (#362)
* Added advantage/disadvantageSource to Character model. It's shown from a tooltip icon on rolls

* Added support for beastform advantageOn
2025-07-17 14:01:15 -03:00
Dapoulp
ad9e0aa558
Feature/344 bardic rally (#363)
* 2

* Dardic Rally Dice
2025-07-17 00:45:53 +02:00
WBHarry
b40d053201
[Feature/Fixes] Adversary Touchups (#359)
* Added support for automatic horde damage

* Active effects are shown on the token

* Fixed logic

* Fixed d20 dice lightmode color
2025-07-16 15:17:34 -03:00
WBHarry
5635bcaf7b
[Bug] Companion Trait Useage (#357)
* Removed trait useage for companion attack

* Fixes companion attack.roll.bonus

* More fixes

* Corrected companion resource change on duality

* .

* Added Dead/Unconcious
2025-07-16 01:53:37 +02:00
WBHarry
045754d107
[Feature] 340-341 RollMode & ChatSpeaker (#347)
* Added RollMode to standalone DamageDialog and to RollDialog. ChatMessage now add ChatSpeaker

* Just a little fix for Damage Action

---------

Co-authored-by: Dapoolp <elcatnet@gmail.com>
2025-07-15 17:01:17 +02:00
WBHarry
aa2714e021
[Fix] Automation Fixes (#342)
* Initial

* Split HopeFear automation by GM and Players

* Fixed ActionToken automation
2025-07-15 10:59:01 -03:00
WBHarry
0dd5b53313
[Feature] ActiveEffect Autocomplete (#338)
* Fixed translation of TrackedAttributeChoices

* Styling improvements

* Added hints

* fix autocomplete style, fix tagify style, fix magical and physical tag style and fix lang in details adversary settings

* Removed commented out code

* Some companion fixes

---------

Co-authored-by: moliloo <dev.murilobrito@gmail.com>
2025-07-15 10:55:45 -03:00
Dapoulp
37c1d7ad88
Feature/163 actor subdatas (#346)
* Actor Roll bonuses

* Removed console log and comment

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-15 15:01:34 +02:00
WBHarry
6b6f4e61d6
Added back evasion property setting (#339) 2025-07-15 03:45:16 +02:00
WBHarry
a768b1dfdb
Character Setup Rework (#315)
* Updated to make use of setup tabs. Ancestry now has primary/secondary features

* Changed so ancestry uses a single Features field

* Revert "Changed so ancestry uses a single Features field"

This reverts commit 0bda6b5dbe.

* Reapply "Changed so ancestry uses a single Features field"

This reverts commit 1febafd441.

* Made it work again the bad way \._./

* Changed so that Feature(Item) has a primary field

* Feature(Item) now has subtype instead of primary as a field

* Fixed experience/evasion

* Moved light styling to appTheme mixing

* Added svg and style rules
2025-07-13 20:58:16 -03:00
WBHarry
4be3e6179c
[Feature] Item Resource Support (#328)
* 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
2025-07-13 20:12:32 -03:00
Dapoulp
0fd62c610d
actors datas max/total rework (#332)
* actors datas max/total rework

* Removed unused translation

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-13 18:39:23 +02:00
Psitacus
687500f191
Iss4 - create a way to attach attach items to armor and weapons (#310)
* 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>
2025-07-13 03:07:22 +02:00
Dapoulp
812a5e8dd7
Feature/167 damage types and resistances (#330)
* Add Resistances

* Relocate Damage Reduction

* Damage Types

* dmg type fallback

* Actor getRollData

* Remove comments
2025-07-12 20:13:09 +02:00
WBHarry
b6195127fe
199 - Tooltips (#311)
* Set up templates for all 'advanced' tooltips

* Fixed ItemFeature Header label

* Fixed less import
2025-07-11 17:26:56 -03:00
WBHarry
5b9db88d50
Added a separation of system effects and generic effects on token status effects. Can be turned off in settings. (#317) 2025-07-11 16:53:22 -03:00