Add multi-cell reach triggers

This commit is contained in:
2026-06-18 14:29:04 +09:00
parent 4f5e949d84
commit 0c0a49ad57
10 changed files with 173 additions and 54 deletions

View File

@@ -10,7 +10,7 @@
"type": "unit_reaches_tile",
"team": "player",
"officer_ids": ["cao_cao"],
"pos": [1, 4]
"cells": [[1, 4], [0, 4]]
},
"defeat": [
{ "type": "any_officer_defeated", "team": "player", "officer_ids": ["cao_cao"] },

View File

@@ -284,7 +284,7 @@
{
"id": "changban_bridge_forced",
"once": true,
"when": { "type": "unit_reaches_tile", "team": "player", "officer_ids": ["cao_cao"], "pos": [10, 4] },
"when": { "type": "unit_reaches_tile", "team": "player", "officer_ids": ["cao_cao"], "cells": [[10, 4], [11, 4]] },
"actions": [
{
"type": "set_objective",