Causes
What caused it, a bonus written once on the kind of skill.
v2's cookbook, what caused it (G248-G250). A bonus for a kind of skill is written once, on the kind: spell power reads the Spell tag that a fireball's hit and its burn both carry, the fireball's carried down its chain, so the burn's ticks are boosted and a slash isn't; a ring's ember follows each spell but is the ring's, so spell power passes it by. Fire on a wet target vaporizes it.
1
# v2's cookbook, what caused it (G248-G250). A bonus for a kind of skill is written once, on the kind: spell power reads2
# the Spell tag that a fireball's hit and its burn both carry, the fireball's carried down its chain, so the burn's3
# ticks are boosted and a slash isn't; a ring's ember follows each spell but is the ring's, so spell power passes it by.4
# Fire on a wet target vaporizes it.6
rate 607
stat MaxHealth8
pool Health max MaxHealth9
damage Health10
stages Add Reaction11
tags Spell carried12
tags Weapon Fire Water Ring14
archetype Mage15
base MaxHealth 10016
full Health17
has SpellPower18
grants Fireball Slash Splash20
archetype Dummy21
base MaxHealth 50022
full Health24
# ---- G248 spell power: 30% on every spell's hit, its burn's ticks too, since the burn its fireball put on carries25
# the fireball's Spell to them; a slash is no spell ----27
effect SpellPower28
before Damage by holder having Spell at Add29
scale 1.331
ability Fireball32
tags Spell33
target one34
deal 20 Fire to target35
apply Burn to target37
effect Burn38
tags Fire39
lasts 3.5s40
every 1s41
deal 10 Fire to holder43
ability Slash44
tags Weapon45
target one46
deal 20 Weapon to target48
# ---- G249 the ember ring: each spell its wearer casts sends 5 fire to the spell's target, the ring's and not a49
# spell's: sourceless, the wearer's spell carries its Spell no further than the wearer's own ----51
effect EmberRing52
after Activate by holder having Spell53
deal 5 Fire Ring to event.target sourceless55
# ---- G250 vaporize: fire on a wet target is half again, and dries it ----57
ability Splash58
tags Spell59
target one60
apply Wet to target62
effect Wet63
tags Water64
stack refresh65
lasts 5s66
before Damage of holder having Fire at Reaction67
scale 1.568
remove self1
catalog causes.ledger2
row G248 SpellPower Burn Fireball Slash Mage Dummy3
row G249 EmberRing Slash Mage4
row G250 Wet Fireball Splash Mage6
play G248 "Spell power is 30% on every spell: a fireball's 20 is 26, and its burn's 10 a second 13, three times in its 3.5 seconds; a slash of 20 stays 20"7
make m Mage8
make t Dummy9
act m Fireball at t10
expect t.Health = 474 from content: G248 leaves open when the burn first ticks; the content's ticks a second in, so at 0 s only the fireball's 20 x 1.3, 26, comes off the dummy's 500, the content's: 500 - 2611
save12
advance 3.5s13
expect t.Health = 435 from content: G248 leaves open when the burn first ticks; the content's ticks a second in, so at 1, 2 and 3 s within 3.5 s, 13 each: 474 - 3914
expect t lacks Burn15
act m Slash at t16
expect t.Health = 415 from content: the burn's three ticks of 13 (the content's first tick a second in, left open by G248) left 435, and G248's slash of 20 gets no bonus: 435 - 2018
play G249 "The ember ring sends 5 after each spell to its target, which spell power passes by: a fireball and its ember are 31; a slash sets off none"19
make m Mage20
apply EmberRing to m21
make t Dummy22
act m Fireball at t23
expect t.Health = 469 from content: G248 leaves open when the burn first ticks; the content's ticks a second in, so at 0 s only G249's ember of 5 rides the fireball's 20 x 1.3 off the dummy's 500, the content's: 500 - 26 - 524
save25
act m Slash at t26
expect t.Health = 449 from content: G249 sets off no ember on a weapon attack, and the content's burn (its first tick a second in, left open by G248) hasn't ticked at 0 s; the slash's 20 (G248) off 46928
play G250 "A splash wets the target for 5 seconds; the next fireball, 26, is half again, 39, and dries it; the one after is 26"29
make m Mage30
make t Dummy31
act m Splash at t32
expect t has Wet33
act m Fireball at t34
expect t.Health = 461 from content: G250 leaves open when the fireball's burn first ticks; the content's ticks a second in, so only the vaporized 26 x 1.5 lands at 0 s, off the dummy's 500: 500 - 3935
expect t lacks Wet36
save37
act m Fireball at t38
expect t.Health = 435 from content: G250 dried the dummy, so the next fireball is 26, and the content's burns haven't ticked at 0 s: 461 - 26What 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 2 rules, in this order before, at Add SpellPower: Damage by holder having Spell at Add (content/cookbook/causes.ledger:28) scales it; held by Mage before, at Reaction Wet: Damage of holder having Fire at Reaction (content/cookbook/causes.ledger:66) scales it, changes the world beyond it; applied by Splash no archetype lacks a layer its like hold
Run it yourself
ledger check content/cookbook/causes.ledger content/cookbook/causes.play
ledger play content/cookbook/causes.play
ledger pipeline content/cookbook/causes.ledger Health