Preserve enemy facing through push and pull slides (#418, #427)

This commit is contained in:
sganggs committed 2026-10-09 17:16:49 +08:00
1 parent 584cedc1b4
commit 4980ee786f
13 files changed
+153 -30

No files matched your search

+2
View File
@@ -195,6 +195,8 @@ test('薄绿 (3_08) 聚能涡旋 pushes the target towards her centre whatever h
fill(u);
assert.ok(h.runUntil(() => u.skill.active, 5));
h.run(3);
assert.ok(h.eventsOf('fx').some((f) => f[1] === 'displace' && f[4]?.keepFacing === true),
`${dir}: Mint S2's inward push inherits the common facing metadata`);
return h.enemy('enemy_d');
};
for (const dir of ['UP', 'RIGHT']) {