Reach
Numbers an ability's instance brings.
v2's cookbook, numbers an ability's instance brings (G298-G301): a reach of rank and gear, a blast whose radius and cooldown are the affixes rolled on the stone that grants it, and a strike that burns by the blade it came from. A stone and a blade are items, and what each was rolled with is its own, read through source: the game rolls a stone's affixes as it drops and a blade's fire as it is forged, and hands them to the new item as declared properties.
1
# v2's cookbook, numbers an ability's instance brings (G298-G301): a reach of rank and gear, a blast whose radius and2
# cooldown are the affixes rolled on the stone that grants it, and a strike that burns by the blade it came from.3
# A stone and a blade are items, and what each was rolled with is its own, read through source: the game rolls a4
# stone's affixes as it drops and a blade's fire as it is forged, and hands them to the new item as declared properties.6
rate 607
link team8
allegiance team9
stat MaxHealth10
stat Reach11
stat Fire12
pool Health max MaxHealth13
pool Wide14
pool Swift15
pool Flame16
damage Health17
pile Pack grants18
prop RollWide default 1 min 1 max 319
prop RollSwift default 1 min 1 max 320
prop RollFlame default 0 min 0 max 322
archetype Team24
archetype Marksman25
base MaxHealth 10026
full Health27
grants Loot29
archetype Dummy30
base MaxHealth 10031
full Health33
archetype Marker35
# ---- G298 longshot: 100 a rank, and the holder's reach on top ----37
effect LongshotRank38
stack replace39
var rank = 140
grants Longshot42
ability Longshot43
target one enemy within 100 * grant.rank + holder.Reach44
deal 10 to target46
effect Longbow47
Reach + 15049
# ---- G299 G300 quake: 3 wide and 8 seconds round, or what the stone's affixes make them ----51
archetype QuakeStone52
with Wide = 153
with Swift = 154
grants Quake56
# the stone drops into the pack with the affixes the game rolled57
ability Loot58
takes RollSwift, RollWide59
create QuakeStone with Wide = event.RollWide, Swift = event.RollSwift in holder.Pack61
ability Quake62
target one63
radius 3 * source.Wide64
cooldown 8s / source.Swift65
deal 20 to all enemies within radius of target67
# ---- G301 the flame blade: its strike burns by the blade's own roll, and a blade equipped replaces the last ----69
archetype Duelist70
base MaxHealth 10071
base Fire 372
full Health73
grants Forge75
archetype Blade76
with Flame = 078
# the blade is forged with the fire the game rolled, its own pool79
ability Forge80
takes RollFlame81
create Blade with Flame = event.RollFlame in holder.Pack83
effect FlameBlade84
stack replace85
grants BladeStrike87
ability BladeStrike88
target one89
deal 8 * (1 + source.Flame) to target1
catalog reach.ledger2
row G298 LongshotRank Longbow Longshot Team Marksman Dummy3
row G299 Loot Quake Team Marksman Dummy Marker QuakeStone4
row G300 Loot Quake Marksman QuakeStone5
row G301 Forge FlameBlade BladeStrike Dummy Duelist Blade7
play G298 "At rank 1 the longshot reaches 100: a dummy 250 off is out of reach; a longbow's 150 brings it in; at rank 3 it reaches 300 without the bow"8
make a Team9
make b Team10
make m Marksman with team = a at 011
make d Dummy with team = b at 25012
apply LongshotRank to m13
act m Longshot at d14
expect refused OutOfReach need 100 have 250 from G298: "100 metres"; "250 metres"15
apply Longbow to m16
act m Longshot at d17
expect done18
expect d.Health = 90 from content: G298 gives no longshot damage; the content's 10 off its 10019
save20
remove Longbow from m21
act m Longshot at d22
expect refused OutOfReach need 100 have 250 from G298: "100 metres"; "250 metres"23
apply LongshotRank to m with rank = 324
act m Longshot at d25
expect done27
play G299 "A plain quake hits a dummy 2 from the spot, not one 5 off; a wide stone's reaches 6, and takes both"28
make a Team29
make b Team30
make m Marksman with team = a at 031
make w Marksman with team = a at 032
make spot Marker at 1033
make near Dummy with team = b at 1234
make off Dummy with team = b at 1535
act m Loot36
act w Loot with RollWide = 237
act m Quake at spot38
expect near.Health = 80 from G299: near.Health - "20 damage"39
expect off.Health = 100 from G299: off.Health40
save41
act w Quake at spot42
expect near.Health = 60 from G299: near.Health - "20 damage" - "20 damage"43
expect off.Health = 80 from G299: off.Health - "20 damage"45
play G300 "A plain quake comes round in 8 seconds, a swift stone's in 4"46
make a Team47
make b Team48
make m Marksman with team = a at 049
make s Marksman with team = a at 050
make spot Marker at 1051
act m Loot52
act s Loot with RollSwift = 253
act m Quake at spot54
expect done55
act s Quake at spot56
expect done57
advance 4s58
expect s can Quake at spot59
expect m cannot Quake at spot OnCooldown60
save61
advance 4s62
expect m can Quake at spot64
play G301 "A blade rolled 1.5 strikes for 20, whatever fire its wielder has; equipping one rolled 0.5 replaces it, 12, kept through a save; put away, no strike; a plain blade's is 8"65
make d Duelist66
make t Dummy67
act d Forge with RollFlame = 1.568
find b1 Blade69
act d Forge with RollFlame = 0.570
find b2 Blade71
make b3 Blade72
apply FlameBlade to d from b173
act d BladeStrike at t74
expect t.Health = 80 from G301: t.Health - "20 from"75
apply FlameBlade to d from b276
expect d has FlameBlade 1 from b2 from G301: count "apply FlameBlade to d from b2"77
save78
act d BladeStrike at t79
expect t.Health = 68 from G301: t.Health - "20 from" - "12 from"80
remove FlameBlade from d81
expect d cannot BladeStrike at t NotGranted82
apply FlameBlade to d from b383
act d BladeStrike at t84
expect t.Health = 60 from G301: t.Health - "20 from" - "12 from" - "8 from a plain blade"Run it yourself
ledger check content/cookbook/reach.ledger content/cookbook/reach.play
ledger play content/cookbook/reach.play