Skip to content

Auto Bloodied Flags

Compare
Choose a tag to compare
@draconas1 draconas1 released this 22 Jul 19:28
· 2 commits to main since this release

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