Pierce
A shot the game flies that passes through two foes and stops in the third
flies ... up topierces NreportA shot that pierces, from the ARPG slice's content\spear.ledger. The game flies the head along the aim and reports each foe it overlaps, keeping no list: it passes two, 24 to each, and stops in the third; one passed is refused AlreadyMet. Ordered with no actor: the aim is the game's. Met nothing in its 0.8 s, it ends Missed.
1
# A shot that pierces, from the ARPG slice's content\spear.ledger. The game flies the head along the aim and reports2
# each foe it overlaps, keeping no list: it passes two, 24 to each, and stops in the third; one passed is refused3
# AlreadyMet. Ordered with no actor: the aim is the game's. Met nothing in its 0.8 s, it ends Missed.5
rate 606
stat MaxHealth7
pool Health max MaxHealth8
damage Health9
link team10
allegiance team11
tags Physical13
ability Spear14
tags Physical15
target one enemy16
cooldown 0.6s17
flies Spearhead up to 0.8s18
pierces 219
deal 24 Physical to target21
# what flies, on its thrower's side22
archetype Spearhead24
archetype Side26
archetype Thrower27
base MaxHealth 30028
full Health29
grants Spear31
archetype Dummy32
base MaxHealth 100033
full Health1
catalog pierce.ledger3
# The spear's numbers, from Spear: 24 to each foe met, through two and into the third, flying up to 0.8 s. A thrower4
# of side r at (0, 0) throws east; the game flies the head and reports what it met. Dummies of side b stand at 1000.6
play "the game reports two foes passed, 24 each, and a third, 24, which ends the flight and its head"7
make r Side8
make b Side9
make h Thrower with team = r at 0 010
make a Dummy with team = b at 2 011
make c Dummy with team = b at 4 012
make d Dummy with team = b at 6 013
make e Dummy with team = b at 8 014
act h Spear as s projectile head15
expect done16
expect head.team = r17
expect s running elapsed 0t remaining 0.8s from content: flies up to 0.8s18
report s met a19
expect done20
expect s running pierced 1 from content: pierces 2, one used21
report s met c22
expect done23
save24
report s met d25
expect done26
expect a.Health = 976 from content: 1000 less 24, pierced27
expect c.Health = 976 from content: 1000 less 24, pierced28
expect d.Health = 976 from content: 1000 less 24, where it stopped29
expect s ended30
expect head gone31
expect e.Health = 1000 from content: past the third, nothing met33
play "met nothing by its 0.8 s, it ends Missed, and its head with it"34
make r Side35
make h Thrower with team = r at 0 036
act h Spear as s projectile head37
expect done38
advance 0.8s39
expect h stopped Spear Missed40
expect head goneRun it yourself
ledger check content/cookbook/mechanics/pierce.ledger content/cookbook/mechanics/pierce.play
ledger play content/cookbook/mechanics/pierce.play