Slow
A slow and a haste that reach casts already running as well as the feet
phases clockstat ... default- N%+ N%A slow and a haste that reach a cast as well as the feet, lifted from the ARPG slice's content\arena.ledger (Chilled, Hasted and its phases line), with the caster's hex from content\enemies.ledger to show a windup slowed. Every phase of every ability runs on its caster's CastSpeed, so a chill stretches a windup already running and a haste shortens it. Movement is the game's: it reads MoveSpeed each frame.
1
# A slow and a haste that reach a cast as well as the feet, lifted from the ARPG slice's content\arena.ledger (Chilled,2
# Hasted and its phases line), with the caster's hex from content\enemies.ledger to show a windup slowed. Every phase3
# of every ability runs on its caster's CastSpeed, so a chill stretches a windup already running and a haste shortens4
# it. Movement is the game's: it reads MoveSpeed each frame.6
rate 607
stat MaxHealth8
stat MoveSpeed9
stat CastSpeed default 110
pool Health max MaxHealth11
damage Health12
link team13
allegiance team14
tags Unit Spell Frost16
phases clock CastSpeed18
effect Chilled19
tags Frost20
stack refresh21
lasts 2s22
CastSpeed - 40%23
MoveSpeed - 40%25
effect Hasted26
stack refresh27
lasts 6s28
CastSpeed + 50%29
MoveSpeed + 30%31
ability Hex32
tags Spell33
target one enemy having Unit within 1134
cooldown 4s35
windup 1.5s36
deal 15 to target38
archetype Side40
archetype Caster41
tags Unit42
base MaxHealth 3543
base MoveSpeed 344
full Health45
grants Hex1
catalog slow.ledger3
# The slow's numbers, from Chilled (40% off CastSpeed and MoveSpeed for 2 s) and Hasted (50% on CastSpeed, 30% on4
# MoveSpeed), and Hex's 1.5 s windup at CastSpeed 1. The world runs 60 ticks a second.6
play "chilled: the feet at 60%, and a windup of 1.5 s takes 2.5"7
make r Side8
make b Side9
make a Caster with team = r at 0 010
make t Caster with team = b at 5 011
apply Chilled to a12
expect a.MoveSpeed = 1.8 from content: the Caster's 3 less Chilled's 40%13
act a Hex at t14
expect done15
advance 1.5s16
expect t.Health = 35 from content: 1.5 s of the world is 0.9 s of a caster at CastSpeed 0.6; nothing landed yet17
save18
advance 1s19
expect t.Health = 20 from content: 1.5 s / 0.6 = 2.5 s, the windup through: 35 less 1521
play "hasted: the feet at 130%, and the windup takes 1 s"22
make r Side23
make b Side24
make a Caster with team = r at 0 025
make t Caster with team = b at 5 026
apply Hasted to a27
expect a.MoveSpeed = 3.9 from content: the Caster's 3 and Hasted's 30%28
act a Hex at t29
expect done30
advance 1s31
expect t.Health = 20 from content: 1.5 s / 1.5 = 1 s: 35 less 1533
play "chilled mid-windup: the half done stands, the rest runs slow"34
make r Side35
make b Side36
make a Caster with team = r at 0 037
make t Caster with team = b at 5 038
act a Hex at t39
expect done40
advance 0.75s41
apply Chilled to a42
expect a active Hex elapsed 0.75s from content: half of the 1.5 s windup at CastSpeed 143
advance 1.2s44
expect t.Health = 35 from content: 0.75 s left at CastSpeed 0.6 takes 1.25 s; 1.2 s isn't enough45
advance 0.05s46
expect t.Health = 20 from content: 0.75 + 1.25 = 2 s: 35 less 15Run it yourself
ledger check content/cookbook/mechanics/slow.ledger content/cookbook/mechanics/slow.play
ledger play content/cookbook/mechanics/slow.play