Add spells, weapon abilities, and durable corpse resurrection
This commit is contained in:
@@ -18,6 +18,7 @@ type ContentCatalog struct {
|
||||
EffectSets []EffectSet `json:"effectSets,omitempty"`
|
||||
Gathering *GatheringContent `json:"gathering,omitempty"`
|
||||
Items []ItemDefinition `json:"items"`
|
||||
Powers *PowerContent `json:"powers,omitempty"`
|
||||
RequirementSets []RequirementSet `json:"requirementSets,omitempty"`
|
||||
Stats ContentStatsRules `json:"stats"`
|
||||
Titles []TitleDefinition `json:"titles"`
|
||||
@@ -215,6 +216,7 @@ type ItemDefinition struct {
|
||||
Name string `json:"name"`
|
||||
Requirements ItemRequirements `json:"requirements"`
|
||||
Slot string `json:"slot"`
|
||||
WeaponType *string `json:"weaponType,omitempty"`
|
||||
Weight float64 `json:"weight"`
|
||||
}
|
||||
|
||||
@@ -232,6 +234,38 @@ type ItemRequirements struct {
|
||||
Titles []string `json:"titles"`
|
||||
}
|
||||
|
||||
type PowerContent struct {
|
||||
Powers []PowerDefinition `json:"powers"`
|
||||
RevivalHealth float64 `json:"revivalHealth"`
|
||||
RevivalRange float64 `json:"revivalRange"`
|
||||
SpellXP int64 `json:"spellXp"`
|
||||
WeaponXP int64 `json:"weaponXp"`
|
||||
Weapons []GatheringSkill `json:"weapons"`
|
||||
}
|
||||
|
||||
type PowerDefinition struct {
|
||||
AttackID string `json:"attackId"`
|
||||
BasePower float64 `json:"basePower"`
|
||||
BaseXP int64 `json:"baseXp"`
|
||||
Book bool `json:"book"`
|
||||
CastSeconds float64 `json:"castSeconds"`
|
||||
Cooldown float64 `json:"cooldown"`
|
||||
Description string `json:"description"`
|
||||
ID string `json:"id"`
|
||||
Kind string `json:"kind"`
|
||||
Mana float64 `json:"mana"`
|
||||
MaxLevel int64 `json:"maxLevel"`
|
||||
Name string `json:"name"`
|
||||
Parents map[string]int64 `json:"parents"`
|
||||
RankScaling float64 `json:"rankScaling"`
|
||||
Requirements ItemRequirements `json:"requirements"`
|
||||
Resurrection bool `json:"resurrection"`
|
||||
Targeting string `json:"targeting"`
|
||||
Weapon string `json:"weapon"`
|
||||
WeaponLevel int64 `json:"weaponLevel"`
|
||||
XPPerLevel int64 `json:"xpPerLevel"`
|
||||
}
|
||||
|
||||
type RequirementSet struct {
|
||||
Description string `json:"description"`
|
||||
ID string `json:"id"`
|
||||
@@ -282,6 +316,7 @@ type ContentChange struct {
|
||||
Loot *LootTableDraft `json:"loot,omitempty"`
|
||||
Mob *MobDefinitionDraft `json:"mob,omitempty"`
|
||||
Op string `json:"op"`
|
||||
Power *PowerDraft `json:"power,omitempty"`
|
||||
Reason string `json:"reason"`
|
||||
RequirementSet *RequirementSetDraft `json:"requirementSet,omitempty"`
|
||||
RequirementSetIDS []string `json:"requirementSetIds,omitempty"`
|
||||
@@ -290,6 +325,7 @@ type ContentChange struct {
|
||||
Stats *ContentStatsRules `json:"stats,omitempty"`
|
||||
TargetID *string `json:"targetId,omitempty"`
|
||||
Title *TitleDraft `json:"title,omitempty"`
|
||||
Weapon *GatheringSkillDraft `json:"weapon,omitempty"`
|
||||
}
|
||||
|
||||
type CombatAttackDraft struct {
|
||||
@@ -376,6 +412,7 @@ type ItemDraft struct {
|
||||
Name string `json:"name"`
|
||||
Requirements ItemRequirements `json:"requirements"`
|
||||
Slot string `json:"slot"`
|
||||
WeaponType *string `json:"weaponType,omitempty"`
|
||||
Weight float64 `json:"weight"`
|
||||
}
|
||||
|
||||
@@ -405,6 +442,29 @@ type MobDefinitionDraft struct {
|
||||
XP int64 `json:"xp"`
|
||||
}
|
||||
|
||||
type PowerDraft struct {
|
||||
AttackID string `json:"attackId"`
|
||||
BasePower float64 `json:"basePower"`
|
||||
BaseXP int64 `json:"baseXp"`
|
||||
Book bool `json:"book"`
|
||||
CastSeconds float64 `json:"castSeconds"`
|
||||
Cooldown float64 `json:"cooldown"`
|
||||
Description string `json:"description"`
|
||||
ID *string `json:"id,omitempty"`
|
||||
Kind string `json:"kind"`
|
||||
Mana float64 `json:"mana"`
|
||||
MaxLevel int64 `json:"maxLevel"`
|
||||
Name string `json:"name"`
|
||||
Parents map[string]int64 `json:"parents"`
|
||||
RankScaling float64 `json:"rankScaling"`
|
||||
Requirements ItemRequirements `json:"requirements"`
|
||||
Resurrection bool `json:"resurrection"`
|
||||
Targeting string `json:"targeting"`
|
||||
Weapon string `json:"weapon"`
|
||||
WeaponLevel int64 `json:"weaponLevel"`
|
||||
XPPerLevel int64 `json:"xpPerLevel"`
|
||||
}
|
||||
|
||||
type RequirementSetDraft struct {
|
||||
Description string `json:"description"`
|
||||
ID *string `json:"id,omitempty"`
|
||||
@@ -562,38 +622,41 @@ type ProjectileVisual struct {
|
||||
}
|
||||
|
||||
type Character struct {
|
||||
ACK int64 `json:"ack"`
|
||||
AllocatedStats map[string]int64 `json:"allocatedStats"`
|
||||
Attack *CombatAttack `json:"attack,omitempty"`
|
||||
CarryWeight float64 `json:"carryWeight"`
|
||||
Consumables []GatheringConsumable `json:"consumables,omitempty"`
|
||||
CraftedStacks []CraftedStack `json:"craftedStacks,omitempty"`
|
||||
Crafting map[string]CraftProgress `json:"crafting,omitempty"`
|
||||
DiscoveredRecipes map[string]KnownRecipe `json:"discoveredRecipes,omitempty"`
|
||||
Entity Entity `json:"entity"`
|
||||
Equipment map[string]string `json:"equipment"`
|
||||
Experience int64 `json:"experience"`
|
||||
ExperienceToNextLevel int64 `json:"experienceToNextLevel"`
|
||||
GatherAttempt int64 `json:"gatherAttempt"`
|
||||
Gathering map[string]SkillProgress `json:"gathering,omitempty"`
|
||||
GatheringEffects []TimedGatheringEffect `json:"gatheringEffects,omitempty"`
|
||||
HasKeystone bool `json:"hasKeystone"`
|
||||
HealthChoices int64 `json:"healthChoices"`
|
||||
Inventory map[string]int64 `json:"inventory"`
|
||||
Items []ItemInstance `json:"items"`
|
||||
Kills int64 `json:"kills"`
|
||||
Level int64 `json:"level"`
|
||||
Mana float64 `json:"mana"`
|
||||
ManaChoices int64 `json:"manaChoices"`
|
||||
PendingVitalChoices int64 `json:"pendingVitalChoices"`
|
||||
PlayedSeconds float64 `json:"playedSeconds"`
|
||||
RemainingSeconds float64 `json:"remainingSeconds"`
|
||||
Skills map[string]int64 `json:"skills"`
|
||||
StackNames map[string]string `json:"stackNames,omitempty"`
|
||||
Stamina float64 `json:"stamina"`
|
||||
StatPoints int64 `json:"statPoints"`
|
||||
Stats map[string]StatValue `json:"stats"`
|
||||
Titles []TitleAward `json:"titles"`
|
||||
ACK int64 `json:"ack"`
|
||||
AllocatedStats map[string]int64 `json:"allocatedStats"`
|
||||
Attack *CombatAttack `json:"attack,omitempty"`
|
||||
CarryWeight float64 `json:"carryWeight"`
|
||||
Casting *string `json:"casting,omitempty"`
|
||||
Consumables []GatheringConsumable `json:"consumables,omitempty"`
|
||||
CraftedStacks []CraftedStack `json:"craftedStacks,omitempty"`
|
||||
Crafting map[string]CraftProgress `json:"crafting,omitempty"`
|
||||
DiscoveredRecipes map[string]KnownRecipe `json:"discoveredRecipes,omitempty"`
|
||||
Entity Entity `json:"entity"`
|
||||
Equipment map[string]string `json:"equipment"`
|
||||
Experience int64 `json:"experience"`
|
||||
ExperienceToNextLevel int64 `json:"experienceToNextLevel"`
|
||||
GatherAttempt int64 `json:"gatherAttempt"`
|
||||
Gathering map[string]SkillProgress `json:"gathering,omitempty"`
|
||||
GatheringEffects []TimedGatheringEffect `json:"gatheringEffects,omitempty"`
|
||||
HasKeystone bool `json:"hasKeystone"`
|
||||
HealthChoices int64 `json:"healthChoices"`
|
||||
Inventory map[string]int64 `json:"inventory"`
|
||||
Items []ItemInstance `json:"items"`
|
||||
Kills int64 `json:"kills"`
|
||||
Level int64 `json:"level"`
|
||||
Mana float64 `json:"mana"`
|
||||
ManaChoices int64 `json:"manaChoices"`
|
||||
PendingVitalChoices int64 `json:"pendingVitalChoices"`
|
||||
PlayedSeconds float64 `json:"playedSeconds"`
|
||||
Powers map[string]LearnedPower `json:"powers,omitempty"`
|
||||
RemainingSeconds float64 `json:"remainingSeconds"`
|
||||
Skills map[string]int64 `json:"skills"`
|
||||
StackNames map[string]string `json:"stackNames,omitempty"`
|
||||
Stamina float64 `json:"stamina"`
|
||||
StatPoints int64 `json:"statPoints"`
|
||||
Stats map[string]StatValue `json:"stats"`
|
||||
Titles []TitleAward `json:"titles"`
|
||||
Weapons map[string]WeaponProgress `json:"weapons,omitempty"`
|
||||
}
|
||||
|
||||
type CraftedStack struct {
|
||||
@@ -661,9 +724,19 @@ type ItemInstance struct {
|
||||
RequirementMessage string `json:"requirementMessage"`
|
||||
Requirements ItemRequirements `json:"requirements"`
|
||||
Slot string `json:"slot"`
|
||||
WeaponType *string `json:"weaponType,omitempty"`
|
||||
Weight float64 `json:"weight"`
|
||||
}
|
||||
|
||||
type LearnedPower struct {
|
||||
Attack CombatAttack `json:"attack"`
|
||||
Definition PowerDefinition `json:"definition"`
|
||||
Level int64 `json:"level"`
|
||||
ReadyAt float64 `json:"readyAt"`
|
||||
XP int64 `json:"xp"`
|
||||
XPToNextLevel int64 `json:"xpToNextLevel"`
|
||||
}
|
||||
|
||||
type TitleAward struct {
|
||||
Description string `json:"description"`
|
||||
EarnedAt string `json:"earnedAt"`
|
||||
@@ -674,6 +747,14 @@ type TitleAward struct {
|
||||
WorldID string `json:"worldId"`
|
||||
}
|
||||
|
||||
type WeaponProgress struct {
|
||||
ID string `json:"id"`
|
||||
Level int64 `json:"level"`
|
||||
Name string `json:"name"`
|
||||
XP int64 `json:"xp"`
|
||||
XPToNextLevel int64 `json:"xpToNextLevel"`
|
||||
}
|
||||
|
||||
type WorldInfo struct {
|
||||
AgeSeconds float64 `json:"ageSeconds"`
|
||||
BossHP float64 `json:"bossHp"`
|
||||
|
||||
Reference in New Issue
Block a user