sheet-parser/sheetContent.go
Nox Sluijtman b56d515a47 Spells and trivia
- Trivia logic in sheet and main
- Spell logic in sheet
2023-02-01 10:54:27 +01:00

56 lines
1.5 KiB
Go

package main
type Character struct {
Misc Misc `json:"misc"`
Stats []Stat `json:"stats"`
Skills []Skill `json:"skills"`
Feats []Feat `json:"feats"`
}
type Misc struct {
Level int `json:"level"`
Name string `json:"name"`
Race string `json:"race"`
Class string `json:"class"`
Background string `json:"background"`
PersonalityTrait string `json:"personalityTrait"`
Ideals string `json:"ideals"`
Bonds string `json:"bonds"`
Flaws string `json:"flaws"`
Quirk string `json:"quirk"`
ReliableTalent bool `json:"reliableTalent"`
JackOfAllTrades bool `json:"jackOfAllTrades"`
IsKurthog bool `json:"isKurthog"`
}
type Skill struct {
SkillName string `json:"skillName"`
Proficient bool `json:"proficient"`
Expertise bool `json:"expertise"`
BaseStat string `json:"baseStat"`
}
type Stat struct {
StatName string `json:"statName"`
Score int `json:"score"`
Proficient bool `json:"proficient"`
SaveProficient bool `json:"saveProficient"`
}
type Spell struct {
SpellName string `json:"spellName"`
Level int `json:"level"`
CastingTime string `json:"castingTime"`
Range int `json:"range"`
Components string `json:"components"`
Duration string `json:"duration"`
Attack_Save string `json:"attack_save"`
Damage_Effect string `json:"damage_effect"`
}
type Feat struct {
FeatName string `json:"featName"`
FeatDescription string `json:"featDescription"`
}