Travelling effects fly token to token
Projectiles flew cell-center to cell-center, launching from the caster's feet and landing under the target's chin — tokens sit high in their squares and fan sideways when crowded. Every travelling effect (fireball, waterbolt, bolt, streak, and the reflection's return flight) now resolves token anchors that mirror the board's exact positioning, fan-out included: caster's center to target's center, wizard or creature. Spots with no token to aim at fall back to sensible cell points, and wash/knockback streaks end on the carried wizard wherever they fanned to. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
126f003156
commit
93bdbb403a
@@ -14,9 +14,9 @@
|
||||
// One representative of every kind, staged on a 3x3 (sectors on a 5x5).
|
||||
const mid = { x: 1, y: 1 };
|
||||
const SAMPLES: BoardFx[] = ([
|
||||
{ kind: "fireball", from: { x: 0, y: 1 }, to: { x: 2, y: 1 } },
|
||||
{ kind: "waterbolt", from: { x: 0, y: 1 }, to: { x: 2, y: 1 } },
|
||||
{ kind: "bolt", from: { x: 0, y: 0 }, to: { x: 2, y: 2 } },
|
||||
{ kind: "fireball", a: { x: 24, y: 72 }, b: { x: 120, y: 72 } },
|
||||
{ kind: "waterbolt", a: { x: 24, y: 72 }, b: { x: 120, y: 72 } },
|
||||
{ kind: "bolt", a: { x: 24, y: 24 }, b: { x: 120, y: 120 } },
|
||||
{ kind: "burst", at: mid },
|
||||
{ kind: "splash", at: mid },
|
||||
{ kind: "shimmer", at: mid },
|
||||
@@ -29,7 +29,7 @@
|
||||
{ kind: "absorb", at: mid },
|
||||
{ kind: "portal", cell: mid, side: "E" },
|
||||
{ kind: "portal-cell", at: mid },
|
||||
{ kind: "streak", from: { x: 0, y: 2 }, to: { x: 2, y: 0 } },
|
||||
{ kind: "streak", a: { x: 24, y: 120 }, b: { x: 120, y: 24 } },
|
||||
{ kind: "soul", at: { x: 1, y: 2 } },
|
||||
{ kind: "fireworks", at: mid },
|
||||
{ kind: "chaos-swirl", at: mid },
|
||||
|
||||
Reference in New Issue
Block a user