Blizzard
A channel lasting 6 s of the world's time while a haste quickens its beats, finishing, and an interrupt reading its time left
every D clock STATchannel D clock worldremaining(ACTOR)A caster's Blizzard, from the raid's channels (its content\party.ledger's Blizzard, Hasted, Quicken and ShieldBash, channels.play and interrupts.play): a channel lasting 6 s of the world's time while its beats run on the cast's clock, so a haste brings more beats into the same 6 s; it ends Finished, its bar is 6 s long, and an interrupt reads its time left on the world's clock. Its beats name their clock apart from its length's.
1
# A caster's Blizzard, from the raid's channels (its content\party.ledger's Blizzard, Hasted, Quicken and ShieldBash,2
# channels.play and interrupts.play): a channel lasting 6 s of the world's time while its beats run on the cast's3
# clock, so a haste brings more beats into the same 6 s; it ends Finished, its bar is 6 s long, and an interrupt reads4
# its time left on the world's clock. Its beats name their clock apart from its length's.6
rate 607
stat MaxHealth8
stat MaxMana9
stat CastSpeed default 110
pool Health max MaxHealth11
pool Mana max MaxMana12
damage Health13
link team14
allegiance team15
tags Spell16
event Moved17
phases clock CastSpeed18
archetype Side20
effect Hasted21
stack refresh22
lasts 8s23
CastSpeed + 50%25
effect Locked26
stack refresh28
# 6 s of the world's time; a haste quickens its beats, not its end29
ability Blizzard30
tags Spell31
target one enemy within 2532
cost Mana 4033
cooldown 15s34
channel 6s clock world35
broken by Moved of holder36
every 1s clock CastSpeed37
deal 12 to all enemies within 4 of target39
ability Quicken40
target self41
cooldown 40s42
apply Hasted to holder44
# a cast cut with a second or less left locks its caster 8 s, else 445
ability ShieldBash46
target one enemy within 347
requires active(target) > 0 else "not casting"48
cooldown 12s49
let left = remaining(target)50
stop target51
apply Locked to target for 1s * if(left > 0 and left <= 1s, 8, 4)53
archetype Mage54
base MaxHealth 40055
base MaxMana 80056
full Health Mana57
grants Blizzard Quicken59
archetype Warden60
base MaxHealth 90061
full Health62
grants ShieldBash64
archetype Dummy65
base MaxHealth 10000066
full Health1
catalog blizzard.ledger3
# The raid's numbers: Blizzard channels 6 s of the world's time, 12 to each foe within 4 of its target every 1 s of its4
# caster's CastSpeed; Quicken hastens that clock 50%, so the beats come every 40 ticks.6
play "Blizzard at no haste: six beats in 6 s, the sixth on its last tick, and it finishes; its bar 6 s long"7
make r Side8
make b Side9
make m Mage with team = r at 0 010
make d Dummy with team = b at 10 011
act m Blizzard at d12
expect done13
expect m active Blizzard elapsed 0s remaining 6s next beat 1s from content: channel 6s clock world, every 1s clock CastSpeed14
advance 6s15
expect d.Health = 99928 from content: 100000 less six beats of 12, at 1 to 6 s16
expect m finished Blizzard18
play "Blizzard quickened 50%: nine beats in the same 6 s, and it finishes"19
make r Side20
make b Side21
make m Mage with team = r at 0 022
make d Dummy with team = b at 10 023
act m Quicken24
act m Blizzard at d25
expect m active Blizzard remaining 6s next beat 40t from content: the world's 6 s; 1 s of CastSpeed at 1.526
advance 6s27
expect d.Health = 99892 from content: 100000 less nine beats of 12, every 40 ticks to 36028
expect m finished Blizzard30
play "a ShieldBash 1 s from Blizzard's end reads that second left and locks its caster 8 s"31
make r Side32
make b Side33
make m Mage with team = r at 0 034
make w Warden with team = b at 2 035
act m Quicken36
act m Blizzard at w37
advance 5s38
act w ShieldBash at m39
expect done40
expect m stopped Blizzard Interrupted41
expect m remaining Locked = 8s from content: 1 s of the world's 6 left, a second or less: 842
expect w.Health = 816 from content: 900 less seven beats of 12, every 40 ticks to 280Run it yourself
ledger check content/cookbook/mechanics/blizzard.ledger content/cookbook/mechanics/blizzard.play
ledger play content/cookbook/mechanics/blizzard.play