落地无头规则引擎与局内内容,便于命令行复现对战。

规则、卡包与测试放在同一套核心里,避免表现层自行结算。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-09 02:06:23 +08:00
co-authored by Cursor
parent ce2b61fc6a
commit ae13f1d06a
51 changed files with 3429 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"id": "card.example.lantern",
"name": "Lantern",
"type": "Field",
"cost": 1,
"countdown": 3,
"tags": ["field", "supply", "countdown"],
"effects": [],
"triggers": [
{
"when": "TurnStart",
"effects": [{ "op": "GenerateEnergy", "amount": 1 }]
}
]
}