Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get5etoolsItemMap ¶
Types ¶
type Item ¶
type Item struct {
Name string `json:"name"`
Source string `json:"source"`
Page int `json:"page"`
Rarity string `json:"rarity"`
Wondrous bool `json:"wondrous"`
Entries []interface{} `json:"entries"`
Weight float32 `json:"weight"`
BaseItem string `json:"baseItem"`
Type string `json:"type"`
Property []interface{} `json:"property"`
DamageType string `json:"dmgType"`
Tier string `json:"tier"`
LootTables []interface{} `json:"lootTables"`
Value float32 `json:"value"`
}
func Get5etoolsItems ¶
type Monster ¶
type Monster struct {
Name string `json:"name"`
Size string `json:"size"`
Source string `json:"source"`
HP MonsterHP `json:"hp"`
Dex int `json:"dex"`
}
func Get5etoolsMonsters ¶
type MonsterList ¶
type MonsterList struct {
Monsters []Monster `json:"monster"`
}
type MonsterType ¶
type Spell ¶
type Spell struct {
Name string `json:"name"`
Level int `json:"level"`
School string `json:"school"`
//Time SpellTime `json:"time"`
Range SpellRange `json:"range"`
Classes SpellClasses `json:"classes"`
Source string `json:"source"`
Entries []interface{} `json:"entries"`
Page int `json:"page"`
DamageTypes []string `json:"damageInflict"`
}
func Get5etoolsSpells ¶
type SpellClasses ¶
type SpellClasses struct {
ClassList []Class `json:"fromClassList"`
}
type SpellDistance ¶
type SpellRange ¶
type SpellRange struct {
Type string `json:"type"`
Distance SpellDistance `json:"disance"`
}
Click to show internal directories.
Click to hide internal directories.