Commit graph

140 commits

Author SHA1 Message Date
WBHarry
02b685a8fd Fixed DiceSoNice rolling on damage 2026-07-18 18:54:29 +02:00
WBHarry
3562ba649f Fixed so that formula construction specific to DAMAGE is now only applied to damage.main rather than by applyTo=hitPoints 2026-07-18 17:14:55 +02:00
WBHarry
88754c5a80 Fixed GroupAttack and DirectDamage 2026-07-18 15:32:57 +02:00
WBHarry
21daa7f3c0 Corrected actor.takeDamage and actor.takeHealing 2026-07-18 13:54:16 +02:00
Carlos Fernandez
ce37bd9c60 Fix taking damage and start fixing healing 2026-07-18 03:28:36 -04:00
WBHarry
42ec4f8c30 Fixed ChatMessage damage creation 2026-07-18 03:09:37 +02:00
WBHarry
e6dcb0f9a5 Fixed so that DamageTypes are retained and joined together throughout TagTeamDialog 2026-07-17 22:23:53 +02:00
WBHarry
ab1772264a Fixed so that party.tagTeam now uses a declared damageRollData(ChatDamageData) field. rollData.options.damage is retired. 2026-07-17 17:41:32 +02:00
WBHarry
d7f0747e5c Changed so all default rolls become BaseRolls to access convenience functions and getters 2026-07-17 16:28:37 +02:00
WBHarry
fbcb9e4572 Moved DamageTypes to roll.options 2026-07-17 14:10:06 +02:00
WBHarry
7a036821d9 TagTeamDialog somewhat working 2026-07-16 00:45:30 +02:00
WBHarry
221b84726d Added aseDie.rerollResult method to specifically reroll a specific result die in a grouping 2026-07-15 14:58:02 +02:00
WBHarry
fea3671069 Fixed DamageActions 2026-07-15 02:00:43 +02:00
WBHarry
8e4ca52ab7 Added migration 2026-07-12 01:15:22 +02:00
WBHarry
5693c4c1a9 Removed unneeded method 2026-07-12 00:59:17 +02:00
WBHarry
92787329c3 Initial rework 2026-07-11 20:19:25 +02:00
Carlos Fernandez
0fbfe388b0
Remove postEvaluate static method (#2073)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-07-11 01:52:50 +02:00
WBHarry
1492491998
[Fix] Reroll Countdown Automation (#2031)
* Fixed so that automated countdowns reverse progress from Fear when rerolling dice if the duality result changes

* .

* Removed overprep

* Apply suggestion from @CarlosFdez

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-06-22 00:14:40 +02:00
WBHarry
08b95e48d6
[Fix] TagTag/GroupRoll Resource Handling (#2022) 2026-06-20 22:50:09 -04:00
WBHarry
29be8c1395
Removed the unused ResourceMap total property (#2024)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-06-21 00:13:45 +02:00
Carlos Fernandez
96f090bef5
Enable no unused vars and add more types (#2005)
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
2026-06-14 22:10:49 +02:00
Carlos Fernandez
2c09310694
Fix adding experiences to a roll (#2002) 2026-06-14 12:23:45 +02:00
WBHarry
9a220b4e16
[Fix] Companion Rolls (#1982)
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
2026-06-09 02:34:25 -04:00
Carlos Fernandez
a4428fd5be
Replace prettier with stylistic, improve types, and add no-undef rule (#1975)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-06-05 15:53:15 -04:00
Carlos Fernandez
5be79f4ab8
Fix several issues with inline damage (#1973)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-06-05 11:33:20 +02:00
Carlos Fernandez
2fc5b01f09
Fix rerolling when hope/fear automation is enabled (#1972) 2026-06-05 11:31:01 +02:00
WBHarry
2bc1c04c93 Fixed an issue where hope/fear dice size could no longer be changed in the roll dialog
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-05-30 12:56:42 +02:00
WBHarry
f1a530f57f
[Feature] Full Rerolls (#1928)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
* Initial

* Removed damage dialogs

* Fixed DamageReroll

* Fixed d20 modifiers

* Fixed

* Fixed DiceSoNice multiple damageType reroll

* Added triggerChatRollFx

* Fixed dice.denomination being lost on damage reroll
2026-05-29 12:19:08 +02:00
WBHarry
e529dd0f88
Fixed so that advantage dice do not get duplicated (#1929)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-05-26 00:49:46 +02:00
WBHarry
4064701c16
Fixed so that the overridden ?? label is actually applied for private messages (#1872) 2026-05-09 16:25:43 +02:00
Carlos Fernandez
b22ce9697d
Fix detection of negative modifiers (#1847) 2026-05-01 20:54:18 +02:00
WBHarry
3eda3c4c05
[Feature] Action Areas (#1815)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
* Functioning setup

* .

* Fixes

* Completed

* Apply suggestions from code review

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>

* using function.call instead of function.bind

* Run lint fix on action areas PR (#1820)

* .

* .

* Restructured getTemplateShape to be a lot more readable

* .

* .

* Changed from 'area' to 'areas'

* .

* Moved the areas button to the left

* Fix regression with actions list

* Updated all SRD adversaries

---------

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-04-21 22:27:52 +02:00
Carlos Fernandez
3cbc18f42b
Add eslint and run linter in workflow (#1819)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
2026-04-21 10:15:39 +10:00
WBHarry
91aff8b10d
[Feature] Advantage Default Dice (#1802) 2026-04-16 03:55:12 -04:00
WBHarry
ae480157d1
[Feature] 1766 - Group Attack (#1770)
* Implemented group attack logic

* Updated all minions in the SRD to use the group attack functionality

* .

* Renamed groupAttack.nr to groupAttack.numAttackers

* Moved the flag vs global setting logic to documents/scene

* .
2026-04-09 22:07:51 +02:00
WBHarry
7057504a9e
Fixes (#1774) 2026-04-04 13:01:24 +02:00
Carlos Fernandez
2b8e4cb2fa
[v14] Add toggle for critical damage (#1762)
* Fix rolling critical damage after rerolling into a crit

* Add toggle for critical damage

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-04-01 19:39:26 +02:00
Carlos Fernandez
29734c5fb5
Fix rolling critical damage after rerolling into a crit (#1761) 2026-04-01 09:47:20 +02:00
WBHarry
25264c26e9 Fixed Adversary roll failing 2026-03-31 18:01:12 +02:00
Carlos Fernandez
259b66236c
[V14] Update duality and fate chat commands (#1759)
* Update duality and fate chat commands for v14

* FateRoll withfear/withHope wasn't working after merging with v14-Dev. Fixed

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
2026-03-31 17:26:45 +02:00
WBHarry
f156b12d79
[V14] Message Rolls Rework (#1757)
* Basic rework to the roll data in messages

* .

* Fixed advantage/disadvantage

* .

* .

* Fixed TagTeamDialog

* Reuse getter in faces setter

* Simplify fate roll type css class

* Add more caution to the dualityRoll fromData function

* Apply suggestion from @CarlosFdez

* Compute modifiers using deterministic terms (#1758)

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-03-31 17:20:22 +02:00
WBHarry
d7ce388cad Fixed resource error on TagTeamDialog reroll 2026-03-27 10:29:01 +01:00
WBHarry
de801924e6 Fixed a bunch of deprecations 2026-03-22 16:59:23 +01:00
WBHarry
d5244eedbf Merged with main 2026-03-17 22:46:08 +01:00
WBHarry
83146d842d Fixed not being able to tab between Hit/Current in roll messages 2026-03-17 21:39:25 +01:00
WBHarry
3031531b14
[V14] TagTeamRoll Rework (#1732)
* Initial rolls working

* Fixed reroll

* more

* More work

* Added results section

* .

* Visual improvements

* .

* Removed traces of old TagTeamRoll

* Added initiator handling

* Added updating for other players

* Fixed sync start

* Completed finish method

* Damage reroll

* Fixed localization

* Fixed crit damage

* Fixes

* Added visual of advantage and disadvantage dice
2026-03-16 09:31:15 +01:00
WBHarry
fb4ddf227c Merged with main 2026-03-13 01:29:29 +01:00
WBHarry
7d50ba409f Fixed so that damage buttons show up for players on their own messages 2026-03-13 01:25:52 +01:00
WBHarry
b87e630a0a Merged main 2026-03-13 00:25:50 +01:00
WBHarry
8172e8baa7
[Feature] DualityDice DiceSoNice Animations (#1722)
* .

* Fixed translation

* Remove fieldset

* DiceSoNice Animation Overrides (#1726)

* .

* .

* Fixed hope/fear animation input

* Visual tweaks to general tab

* Move general tab to top

* Fixed localizaiton

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
2026-03-13 00:15:52 +01:00