[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

@ -85,8 +85,8 @@
},
"range": "far",
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -112,7 +112,7 @@
},
"base": false
}
]
}
},
"img": "icons/magic/unholy/beam-ringed-impact-purple.webp",
"type": "attack",
@ -256,7 +256,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {
@ -336,8 +336,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -363,7 +363,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {
@ -414,8 +414,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"fear": {
"value": {
"custom": {
"enabled": true,
@ -440,7 +440,7 @@
},
"type": []
}
],
},
"includeBase": false
},
"target": {
@ -619,7 +619,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {
@ -692,8 +692,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -719,7 +719,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {