[Feature] Phase Transform (#1710)

* Added transform action to handle phased adversaries

* Added support for keeping currently marked hitPoints/stress when transforming

* Minor fixes

* Compendium update

* Added consideration for an active combatant
This commit is contained in:
WBHarry 2026-03-08 14:34:22 +01:00 committed by GitHub
parent f1f5102af1
commit a42d708f15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 406 additions and 43 deletions

View file

@ -717,7 +717,35 @@
"system": {
"description": "<p>When the @Lookup[@name] marks their last HP, replace them with the @UUID[Compendium.daggerheart.adversaries.Actor.RXkZTwBRi4dJ3JE5]{Fallen Warlord: Undefeated Champion} and immediately spotlight them.</p>",
"resource": null,
"actions": {},
"actions": {
"gP426WmWbtrZEWCD": {
"type": "transform",
"_id": "gP426WmWbtrZEWCD",
"systemPath": "actions",
"baseAction": false,
"description": "",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"triggers": [],
"cost": [],
"uses": {
"value": null,
"max": null,
"recovery": null,
"consumeOnSuccess": false
},
"transform": {
"actorUUID": "Compendium.daggerheart.adversaries.Actor.RXkZTwBRi4dJ3JE5",
"resourceRefresh": {
"hitPoints": true,
"stress": true
}
}
}
},
"originItemType": null,
"originId": null,
"featureForm": "reaction"

View file

@ -846,7 +846,37 @@
"system": {
"description": "<p>When the @Lookup[@name] marks their last HP, replace them with the @UUID[Compendium.daggerheart.adversaries.Actor.pMuXGCSOQaxpi5tb]{Ashen Tyrant} and immediately spotlight them.</p>",
"resource": null,
"actions": {},
"actions": {
"cFqFjemAfAjB0OB0": {
"type": "transform",
"_id": "cFqFjemAfAjB0OB0",
"systemPath": "actions",
"baseAction": false,
"description": "",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"triggers": [],
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"transform": {
"actorUUID": "Compendium.daggerheart.adversaries.Actor.pMuXGCSOQaxpi5tb",
"resourceRefresh": {
"hitPoints": true,
"stress": true
}
},
"name": "Transform",
"range": ""
}
},
"originItemType": null,
"originId": null,
"featureForm": "reaction"

View file

@ -742,7 +742,37 @@
"system": {
"description": "<p>When the @Lookup[@name] marks their last HP, replace them with the @UUID[Compendium.daggerheart.adversaries.Actor.eArAPuB38CNR0ZIM]{Molten Scourge} and immediately spotlight them.</p>",
"resource": null,
"actions": {},
"actions": {
"OxGkCGgIl4vGFufD": {
"type": "transform",
"_id": "OxGkCGgIl4vGFufD",
"systemPath": "actions",
"baseAction": false,
"description": "",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"triggers": [],
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"transform": {
"actorUUID": "Compendium.daggerheart.adversaries.Actor.eArAPuB38CNR0ZIM",
"resourceRefresh": {
"hitPoints": true,
"stress": true
}
},
"name": "Transform",
"range": ""
}
},
"originItemType": null,
"originId": null,
"featureForm": "reaction"