Auto Bloodied Flags
A pair of flags for actors:
dracsTools.autoBloodied.ignore -> auto bloodied/dead ignores this actor completely
dracsTools.autoBloodied.npcDiesLikePC -> NPC will go unconscious like a PC on 0 hits
For use:
let targets = canvas.tokens.controlled;
for(let i = 0; i < targets.length; i++) {
const actor = targets[i].document.actor
const updateData = { "flags.dracsTools.autoBloodied.ignore" : true}
await actor.update(updateData);
}
Full Changelog: 4.1.0...4.2.0