[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

@ -80,8 +80,8 @@
"type": "attack"
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -107,7 +107,7 @@
},
"base": false
}
]
}
},
"range": "melee",
"type": "attack",
@ -309,7 +309,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {
@ -382,8 +382,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -409,7 +409,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {
@ -482,8 +482,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -509,7 +509,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {
@ -582,8 +582,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -609,7 +609,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {
@ -737,8 +737,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"stress": {
"value": {
"custom": {
"enabled": true,
@ -763,7 +763,7 @@
},
"type": []
}
],
},
"includeBase": false
},
"target": {
@ -836,7 +836,7 @@
"recovery": null
},
"damage": {
"parts": [],
"parts": {},
"includeBase": false
},
"target": {
@ -964,8 +964,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -991,7 +991,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {
@ -1071,8 +1071,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"fear": {
"value": {
"custom": {
"enabled": true,
@ -1097,7 +1097,7 @@
},
"type": []
}
],
},
"includeBase": false
},
"target": {
@ -1165,8 +1165,8 @@
"recovery": null
},
"damage": {
"parts": [
{
"parts": {
"hitPoints": {
"value": {
"custom": {
"enabled": false
@ -1192,7 +1192,7 @@
}
}
}
],
},
"includeBase": false
},
"target": {