规则、卡包与测试放在同一套核心里,避免表现层自行结算。 Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
187 B
JSON
11 lines
187 B
JSON
{
|
|
"id": "card.example.spark",
|
|
"name": "Spark",
|
|
"type": "Spell",
|
|
"cost": 1,
|
|
"tags": ["damage"],
|
|
"effects": [
|
|
{ "op": "Damage", "amount": 1, "target": "ChosenEnemy" }
|
|
]
|
|
}
|