Gate
A shield gate: a hit that breaks the shield spends none of itself on the Health behind it
absorb intoat most 0A shield gate, the owner's ask for the online shooter's layers: a hit that breaks the shield spends none of itself on the Health behind it. The shield recipe carries what the shield can't hold on to Health; here, while the Shield holds any, the hit soaks into it and what is left goes nowhere. The rest is capped at none rather than prevented, so the hit still lands, as 0, and a rule after it hearing a hit (a recharge's delay) still hears this one.
1
# A shield gate, the owner's ask for the online shooter's layers: a hit that breaks the shield spends none of itself on2
# the Health behind it. The shield recipe carries what the shield can't hold on to Health; here, while the Shield holds3
# any, the hit soaks into it and what is left goes nowhere. The rest is capped at none rather than prevented, so the4
# hit still lands, as 0, and a rule after it hearing a hit (a recharge's delay) still hears this one.6
rate 607
stat MaxHealth8
stat MaxShield9
pool Health max MaxHealth10
pool Shield max MaxShield11
damage Health12
stages Soak14
effect ShieldGate15
before Damage of holder at Soak when holder.Shield > 016
absorb into Shield17
at most 019
archetype Trooper20
base MaxHealth 10021
base MaxShield 4022
full Health Shield23
has ShieldGate25
archetype Bare26
base MaxHealth 10027
full Health28
pools Shield29
has ShieldGate1
catalog gate.ledger3
# The owner's numbers: 40 of shield and 100 of health; a hit of 70, then one of 30, and 30 on no shield.5
play "a hit of 70 breaks the 40 of shield and spends none of the rest on Health"6
make t Trooper7
deal 70 to t8
expect t.Shield = 0 from content: the 40 of shield soaks 40 of the 709
expect t.Health = 100 from content: the 30 left is capped at none, so Health keeps its 10010
save11
deal 30 to t12
expect t.Health = 70 from content: no shield left, the gate's when doesn't hold, 100 - 3014
play "a hit of 30 leaves 10 of the shield and Health whole"15
make t Trooper16
deal 30 to t17
expect t.Shield = 10 from content: 40 less the hit's 3018
expect t.Health = 100 from content: the hit soaked whole20
play "a hit of 30 on no shield leaves Health at 70"21
make b Bare22
deal 30 to b23
expect b.Shield = 0 from content: the Bare keeps a Shield and starts it empty24
expect b.Health = 70 from content: 100 less the hit's 30What a change to Health meets
Every rule in this recipe a change to Health passes through, in order. Each line is a link to the rule.
Health: a change to it meets 1 rule, in this order before, at Soak ShieldGate: Damage of holder at Soak when holder.Shield > 0 (content/cookbook/mechanics/gate.ledger:15) absorbs from it into Shield, caps it; held by Trooper, Bare no archetype lacks a layer its like hold
Run it yourself
ledger check content/cookbook/mechanics/gate.ledger content/cookbook/mechanics/gate.play
ledger play content/cookbook/mechanics/gate.play
ledger pipeline content/cookbook/mechanics/gate.ledger Health