1) You'll need either a new Damage Response buff for each stack count, or you mash them all together into one and use Combine-OR validators to make a whitelist of unit types for each one. You'd also have to place the Damage Response on every unit that's supposed to gain stacks.
2) A "Mana Shield" type setup should be doable for using energy as shields, other than that the 3 existing "Vitals" are hardcoded. "Wild Mutation" from HotS campaign uses Protoss shields btw, just recolored.
3) Dummy buffs to mark "cloaked" units and "detectors", and an Enumerate Area validator on the cloak (or pulsing aura on the detector) should be enough for 1v1, along with something to exclude targeting a "cloaked" unit. For additional spectators it'll probably be much more complex, as the "revealed" state would have to be tracked per player somehow. Even then it's probably trivial to do the visuals right, the problem is making sure units don't auto-target without detection. And ally shared sight will be a nightmare.
1) You'll need either a new Damage Response buff for each stack count, or you mash them all together into one and use Combine-OR validators to make a whitelist of unit types for each one. You'd also have to place the Damage Response on every unit that's supposed to gain stacks.
2) A "Mana Shield" type setup should be doable for using energy as shields, other than that the 3 existing "Vitals" are hardcoded. "Wild Mutation" from HotS campaign uses Protoss shields btw, just recolored.
3) Dummy buffs to mark "cloaked" units and "detectors", and an Enumerate Area validator on the cloak (or pulsing aura on the detector) should be enough for 1v1, along with something to exclude targeting a "cloaked" unit. For additional spectators it'll probably be much more complex, as the "revealed" state would have to be tracked per player somehow. Even then it's probably trivial to do the visuals right, the problem is making sure units don't auto-target without detection. And ally shared sight will be a nightmare.