Pools
Pools that wait and pools that fill.
v2's cookbook, pools that wait and pools that fill (G283-G284): a shield whose regeneration waits three seconds after the last hit, and a hidden stagger meter that hits fill and time drains, staggering its holder when it tops out.
1
# v2's cookbook, pools that wait and pools that fill (G283-G284): a shield whose regeneration waits three seconds after2
# the last hit, and a hidden stagger meter that hits fill and time drains, staggering its holder when it tops out.4
rate 605
stat MaxHealth6
stat MaxShield7
stat ShieldRegen8
stat Armor9
stat MaxStagger10
stat StaggerDrain11
pool Health max MaxHealth12
pool Shield max MaxShield regen ShieldRegen13
pool Stagger max MaxStagger regen StaggerDrain14
damage Health15
stages Shield Mitigation16
# carried: a hit carries Physical by an ability tagged Physical, down its chain, or by a host's deal naming it17
tags Physical carried18
# ---- G283 Halo's shield: 100, 30 a second, and any hit, soaked or not, holds the regeneration for 3 seconds from it ----20
effect ShieldSoak21
before Damage of holder at Shield when holder.Shield > 022
absorb into Shield24
effect Recharging25
after Damage of holder26
apply Pressed28
effect Pressed29
stack refresh30
lasts 3s31
ShieldRegen x 033
archetype Spartan34
base MaxHealth 10035
base MaxShield 10036
base ShieldRegen 3037
full Health Shield38
has ShieldSoak39
has Recharging41
# ---- G284 the stagger meter: half of what each hit lands after armour fills it, it drains 10 a second, and full it42
# staggers for 5 seconds and empties; a bigger meter isn't handed what it grew by ----44
effect Armored45
before Damage of holder having Physical at Mitigation46
scale 1 - holder.Armor / (holder.Armor + 100)48
effect Staggerable49
after Damage of holder50
gain Stagger event.landed / 251
after Filled Stagger of holder52
set Stagger 053
apply Staggered55
effect Staggered56
lasts 5s58
effect Steadfast59
MaxStagger + 5061
archetype Brute62
base MaxHealth 100063
base Armor 10064
base MaxStagger 10065
base StaggerDrain -1066
full Health67
pools Stagger68
has Armored69
has Staggerable1
catalog pools.ledger2
row G283 ShieldSoak Recharging Pressed Spartan3
row G284 Armored Staggerable Staggered Steadfast Brute5
play G283 "A 40 hit takes the shield to 60 and holds it there; 10 more at two seconds, 50, hold it three seconds from then; at five it comes back 30 a second, full before seven"6
make h Spartan7
deal 40 to h8
expect h.Shield = 60 from G283: "100 points" - "40 hit"9
expect h.Health = 100 from G283: h.Health10
advance 2s11
expect h.Shield = 60 from G283: "100 points" - "40 hit"12
deal 10 to h13
expect h.Shield = 50 from G283: "50 until"14
advance 3s15
expect h.Shield = 50 from G283: "50 until"16
save17
advance 1s18
expect h.Shield = 80 from G283: "50 until" + "30 a second"19
advance 1s20
expect h.Shield = 100 from G283: "100 points"22
play G284 "Through 100 armour a 100 hit lands 50 and fills the meter 25; three are 75, a second's drain 65; a steadfast meter of 150 keeps its 65; four more hits fill it and the brute staggers for 5 seconds, the meter empty"23
make b Brute24
deal 100 to b Physical25
deal 100 to b Physical26
deal 100 to b Physical27
expect b.Stagger = 75 from content: G284 fills half of each hit after armour but gives no armour; the content's 100 armour halves each 100, and half of 50 three times28
expect b.Health = 850 from content: the content's 100 armour lets 50 of each 100 through, three off its 100029
advance 1s30
expect b.Stagger = 65 from content: G284's 10 a second off the content's 7531
apply Steadfast to b32
expect b.Stagger = 65 from content: G284's raised maximum gives the meter no free progress, so it keeps the content's 6533
save34
deal 100 to b Physical35
deal 100 to b Physical36
deal 100 to b Physical37
expect b lacks Staggered38
deal 100 to b Physical39
expect b has Staggered40
expect b.Stagger = 0 from G284: b.Stagger41
expect b remaining Staggered = 5s from G284: "5 s and empties"What 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 4 rules, in this order before, at Shield ShieldSoak: Damage of holder at Shield when holder.Shield > 0 (content/cookbook/pools.ledger:21) absorbs from it into Shield; held by Spartan before, at Mitigation Armored: Damage of holder having Physical at Mitigation (content/cookbook/pools.ledger:45) scales it; held by Brute after it lands Recharging: Damage of holder (content/cookbook/pools.ledger:25) hears what landed; held by Spartan Staggerable: Damage of holder (content/cookbook/pools.ledger:49) hears what landed; held by Brute no archetype lacks a layer its like hold
Run it yourself
ledger check content/cookbook/pools.ledger content/cookbook/pools.play
ledger play content/cookbook/pools.play
ledger pipeline content/cookbook/pools.ledger Health