feedback3 WI: 乌尔比安 S3 【移动】 and 【返回】 are free redeploys, and the return clears his SP

This commit is contained in:
sganggs committed 2026-10-04 20:33:29 +08:00
1 parent d5b945f14b
commit 819a5ad4ea
9 files changed
+444 -18

No files matched your search

+6 -2
View File
@@ -903,7 +903,11 @@ function champagne(bb) {
};
}
/** 从不混淆的方向 (乌尔比安 S3): marker of the owner's original tile; the owner returns there when the skill ends. */
/**
* 从不混淆的方向 (乌尔比安 S3): marker of the owner's original tile; the owner returns there when the skill ends — a
* 【移动】 (Battle.moveRedeploy, SP emptied: PRTS 乌尔比安 S3 备注 "【返回】时将清空技力"). The 乌尔比安 kit brings him back
* itself (its onEnd retreats the marker first); this is the fallback for a kit that only places the marker.
*/
function ulpiaMarker() {
return {
skill: null,
@@ -916,7 +920,7 @@ function ulpiaMarker() {
const r = unit.tileR, c = unit.tileC;
battle.retreat(unit, { reason: 'expired', permanent: true });
const o = ownerOf(unit);
if (o && o.alive && o.deployed && (o.tileR !== r || o.tileC !== c) && battle.relocate(o, r, c)) battle.fx('ulpiaReturn', { x: c, y: r, id: o.id });
if (o && o.alive && o.deployed && (o.tileR !== r || o.tileC !== c) && battle.moveRedeploy(o, r, c, { clearSp: true })) battle.fx('ulpiaReturn', { x: c, y: r, id: o.id });
};
// runs before bindToOwnerSkill's plain retreat (higher priority): retreat + bring the owner home
battle.on('skillEnd', (ctx) => {