mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2024-11-28 21:13:51 +01:00
Nox Sluijtman
ea8cf0ff5f
- Removed save specific proficiency - Added "at high level" description string for spells
59 lines
1.6 KiB
Go
59 lines
1.6 KiB
Go
package main
|
|
|
|
type Character struct {
|
|
Misc Misc `json:"misc"`
|
|
Stats []Stat `json:"stats"`
|
|
Skills []Skill `json:"skills"`
|
|
Spells []Spell `json:"spells"`
|
|
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 {
|
|
Name string `json:"name"`
|
|
Proficient bool `json:"proficient"`
|
|
Expertise bool `json:"expertise"`
|
|
BaseStat string `json:"baseStat"`
|
|
}
|
|
|
|
type Stat struct {
|
|
Name string `json:"name"`
|
|
Score int `json:"score"`
|
|
Proficient bool `json:"proficient"`
|
|
}
|
|
|
|
type Spell struct {
|
|
Name string `json:"name"`
|
|
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"`
|
|
Description string `json:"description"`
|
|
School string `json:"school"`
|
|
AtHighLevel string `json:"atHighLevel"`
|
|
}
|
|
|
|
type Feat struct {
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
}
|