落地无头规则引擎与局内内容,便于命令行复现对战。
规则、卡包与测试放在同一套核心里,避免表现层自行结算。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "pack.example.aftermath",
|
||||
"name": "Aftermath",
|
||||
"base": false,
|
||||
"coreActions": ["Destroy", "Countdown"],
|
||||
"cards": ["card.example.fuse"],
|
||||
"allOf": [
|
||||
{ "kind": "DeckTagAtLeast", "tag": "countdown", "amount": 1 },
|
||||
{ "kind": "FriendlyDestroyedAtLeast", "amount": 1 }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "pack.example.base",
|
||||
"name": "Common Stock",
|
||||
"base": true,
|
||||
"coreActions": [],
|
||||
"cards": ["card.example.spark", "card.example.wisp"],
|
||||
"allOf": []
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "pack.example.vitality",
|
||||
"name": "Vitality",
|
||||
"base": false,
|
||||
"coreActions": ["Heal"],
|
||||
"cards": ["card.example.salve"],
|
||||
"allOf": [
|
||||
{ "kind": "HealReceivedAtLeast", "amount": 2 }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user