feat: add fate points

Closes #4
This commit is contained in:
Lukas Obermann
2025-12-27 15:52:30 +01:00
parent 8f119d1250
commit bf83a10c1b
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -169,6 +169,8 @@ export interface Character {
movement: DerivedCharacteristic
fatePoints: DerivedCharacteristic
/**
* This property is not present if the required focus rules are not activated.
*/
+5 -1
View File
@@ -482,6 +482,9 @@
"movement": {
"$ref": "#/$defs/DerivedCharacteristic"
},
"fatePoints": {
"$ref": "#/$defs/DerivedCharacteristic"
},
"woundThreshold": {
"description": "This property is not present if the required focus rules are not activated.",
"$ref": "#/$defs/DerivedCharacteristic"
@@ -493,7 +496,8 @@
"toughness",
"dodge",
"initiative",
"movement"
"movement",
"fatePoints"
]
},
"skills": {
+3
View File
@@ -153,6 +153,9 @@ export const Character = Entity(import.meta.filename, {
movement: Required({
type: IncludeIdentifier(DerivedCharacteristic),
}),
fatePoints: Required({
type: IncludeIdentifier(DerivedCharacteristic),
}),
woundThreshold: Optional({
comment: "This property is not present if the required focus rules are not activated.",
type: IncludeIdentifier(DerivedCharacteristic),