[Feature] Damage Iterrable Rework (#1685)

* Initial

* More

* Fixed current actionConfig damage

* Reworked ActionConfig damage ui

* .

* Updated all Adversary compendium damage entries

* more

* The rest

* Fixed misses

* .

* .

* Also migrate sub fields of MappingField

* Removed MappingField

* Fix regression with re-tiering adversaries when dealing non-hp damage

* Allow iterable object to be detected as an object by foundry

---------

Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
This commit is contained in:
WBHarry 2026-03-08 00:58:24 +01:00 committed by GitHub
parent d3ebd30e59
commit 5a4bbc91f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
536 changed files with 2476 additions and 2368 deletions

View file

@ -29,8 +29,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -56,7 +56,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {

View file

@ -22,8 +22,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"resultBased": false,
"value": {
"custom": {
@ -47,7 +47,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {

View file

@ -22,7 +22,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {

View file

@ -31,8 +31,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false,
@ -58,7 +58,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {

View file

@ -29,8 +29,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"resultBased": false,
"value": {
"custom": {
@ -54,7 +54,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {

View file

@ -22,8 +22,8 @@
"recovery": "session"
},
"damage": {
"parts": [
{
"parts": {
"hope": {
"value": {
"custom": {
"enabled": true,
@ -48,7 +48,7 @@
},
"type": []
}
],
},
"includeBase": false
},
"target": {

View file

@ -22,7 +22,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {

View file

@ -31,8 +31,8 @@
"consumeOnSuccess": false
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false,
@ -58,7 +58,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {

View file

@ -22,7 +22,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {