Add shapes to readme
This commit is contained in:
parent
29e1c3c09e
commit
1848d3cfb6
2 changed files with 119 additions and 10 deletions
|
@ -85,6 +85,7 @@ export const PlaybillResourceSchema = z.object({
|
|||
export const AbilityEffectSchema = z.object({
|
||||
bonusMaxHp: z.number().optional(),
|
||||
bonusMaxAp: z.number().optional(),
|
||||
bonusMaxEp: z.number().optional(),
|
||||
muscleProwess: TalentProwessSchema.optional(),
|
||||
knowledgeProwess: TalentProwessSchema.optional(),
|
||||
focusProwess: TalentProwessSchema.optional(),
|
||||
|
@ -153,8 +154,7 @@ export const SpeciesSchema = PlaybillResourceSchema.extend({
|
|||
$define: z.literal("species"),
|
||||
name: NameSchema.default("Unnamed Species"),
|
||||
abilities: z.array(IDSchema).default([]),
|
||||
statMaxModifiers: StatSpreadSchema.default({}),
|
||||
talentMinimums: TalentSpreadSchema.default({}),
|
||||
bonuses: AbilityEffectSchema.default({}),
|
||||
});
|
||||
|
||||
export const RuleSchema = PlaybillResourceSchema.extend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue