feat(samples): update card effect schema in desert data

Update the `card.csv` schema to use `inject effects` instead of
`effects`
to match the expected property name for card effects.
This commit is contained in:
hypercross 2026-04-21 22:21:28 +08:00
parent f834e15412
commit 2823089f06
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# type: 'item' = inventory item card, 'status' = status effect card
# costType: 'energy' = costs energy per turn, 'uses' = limited uses, 'none' = free
# targetType: 'single' = target one enemy, 'none' = no target
# effects := ~cardEffect(card)
# inject effects = ~cardEffect(card)
id,name,desc,type,costType,costCount,targetType
string,string,string,'item'|'status','energy'|'uses'|'none',int,'single'|'none'

1 # cardDesert: unified card definitions for item cards and status cards
2 # type: 'item' = inventory item card, 'status' = status effect card
3 # costType: 'energy' = costs energy per turn, 'uses' = limited uses, 'none' = free
4 # targetType: 'single' = target one enemy, 'none' = no target
5 # effects := ~cardEffect(card) # inject effects = ~cardEffect(card)
6 id,name,desc,type,costType,costCount,targetType
7 string,string,string,'item'|'status','energy'|'uses'|'none',int,'single'|'none'
8 sword,剑,【攻击2】【攻击2】,item,energy,1,single