Owner said "you can see the effect locally" — so I reviewed a 5 s real auto-battle frame-by-frame. Found a gap static screenshots and tests missed: heroes stood still the whole time; the 4-frame attacks made for H02/H03/H04 were only ever played by a test hook, never by the real game. Fix: - BattleHud.play_team_attack() plays a one-shot attack on every visible hero, driven by authoritative manual events click_enemy / offboard_burst (both are genuine company-wide player actions, so the animation is honest). Passive auto DPS has no per-hit event and deliberately does NOT trigger it. - Reduced motion skips the attack (it would freeze on frame 0); moreover set_reduced_motion(true) now snaps any in-flight one-shot state back to idle so toggling the setting mid-attack cannot freeze a hero. attack_anim_test (4 stages): manual click -> 3 heroes in attack state; frames advance and all recover to idle; reduced motion never starts the attack. Registered in the full gate; P2_CHECKS_PASS. prototype/ untracked.
31 lines
440 B
JSON
31 lines
440 B
JSON
{
|
|
"kind": "windroost_attack_anim_test",
|
|
"overall": "PASS",
|
|
"problems": [],
|
|
"schema": 1,
|
|
"steps": [
|
|
{
|
|
"H01": 1,
|
|
"H02": 0,
|
|
"H03": 0,
|
|
"step": "idle_baseline"
|
|
},
|
|
{
|
|
"attack_state_count": 3,
|
|
"frame0_seen": true,
|
|
"step": "after_click"
|
|
},
|
|
{
|
|
"step": "after_recover",
|
|
"still_attack": 0
|
|
},
|
|
{
|
|
"states": {
|
|
"H01": "idle",
|
|
"H02": "idle",
|
|
"H03": "idle"
|
|
},
|
|
"step": "reduced_motion"
|
|
}
|
|
]
|
|
} |