chore: add identifier to fields
This commit is contained in:
parent
33095d5226
commit
7e98e5e546
|
|
@ -5,7 +5,7 @@
|
|||
# camp (2): consumable restock and heal
|
||||
# curio (8): random pickup of treasure or resources
|
||||
type,name,description,enemies,dialogue
|
||||
'minion'|'elite'|'event'|'shop'|'camp'|'curio',string,string,[@enemyDesert;number][],string
|
||||
'minion'|'elite'|'event'|'shop'|'camp'|'curio',string,string,[enemy: @enemyDesert;bonusHp: number][],string
|
||||
minion,仙人掌怪,概念:防+强化。【尖刺X】:对攻击者造成X点伤害。,[仙人掌怪;0];[仙人掌怪;0],
|
||||
minion,蛇,概念:攻+强化。给玩家塞入蛇毒牌(消耗。一回合弃掉超过1张蛇毒时,受到6伤害)。,[蛇;0];[蛇;0],
|
||||
minion,木乃伊,概念:攻+防。【诅咒】:受攻击时物品【攻击】-1,直到弃掉一张该物品的牌。,[木乃伊;0];[仙人掌怪;0],
|
||||
|
|
|
|||
|
|
|
@ -4,7 +4,7 @@ type EncounterDesertTable = readonly {
|
|||
readonly type: "minion" | "elite" | "event" | "shop" | "camp" | "curio";
|
||||
readonly name: string;
|
||||
readonly description: string;
|
||||
readonly enemies: readonly [EnemyDesert, number];
|
||||
readonly enemies: readonly [readonly enemy: EnemyDesert, readonly bonusHp: number];
|
||||
readonly dialogue: string;
|
||||
}[];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
id,initHp,initBuffs,initialIntent
|
||||
string, int, [string;int][], string
|
||||
string, int, [effect: @effectDesert; stacks: int][], string
|
||||
仙人掌怪,20,[spike;1],boost
|
||||
蛇,14,,poison
|
||||
木乃伊,18,,attack
|
||||
|
|
|
|||
|
|
|
@ -1,7 +1,9 @@
|
|||
import type { EffectDesert } from './effectDesert.csv';
|
||||
|
||||
type EnemyDesertTable = readonly {
|
||||
readonly id: string;
|
||||
readonly initHp: number;
|
||||
readonly initBuffs: readonly [string, number];
|
||||
readonly initBuffs: readonly [readonly effect: EffectDesert, readonly stacks: number];
|
||||
readonly initialIntent: string;
|
||||
}[];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue