Add 3D dice roll animation for thrown rocks
Emit the individual rock-die faces (0/0/1/1/2/2) from the battle resolver so the client can render a real CSS 3D cube per die that tumbles and settles on the rolled face, replacing the flat random damage number. Falls back to the flying-rock cue for older battle logs without per-die data.
This commit is contained in:
@@ -59,6 +59,7 @@ export interface BattleEvent {
|
||||
died?: boolean[]
|
||||
// rock / strip / steal
|
||||
roll?: number
|
||||
dice?: number[] // rock: individual die faces (each 0, 1, or 2)
|
||||
damageAfter?: number
|
||||
targetDied?: boolean
|
||||
// eat (new bonus total) / reveal (starting bonus)
|
||||
|
||||
Reference in New Issue
Block a user