Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModifierType_AbsoluteHealth = "absoluteHealth" ModifierType_CureStatus = "cureStatus" ModifierType_Capture = "capture" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbsoluteHealthModifier ¶
type AbsoluteHealthModifier struct {
Amount int
}
func (*AbsoluteHealthModifier) MarshalJSON ¶
func (ahm *AbsoluteHealthModifier) MarshalJSON() ([]byte, error)
func (AbsoluteHealthModifier) Type ¶
func (ahm AbsoluteHealthModifier) Type() ModifierType
type Base ¶
type Base struct { Name string `json:"name"` Stack int `json:"stack"` Target string `json:"target"` Type Type `json:"type"` Reusable bool `json:"reusable"` Modifier []Modifier `json:"modifier"` }
func (*Base) UnmarshalJSON ¶
type CaptureModifier ¶
type CaptureModifier struct{}
func (CaptureModifier) Type ¶
func (cm CaptureModifier) Type() ModifierType
type CureStatusModifier ¶
func (*CureStatusModifier) MarshalJSON ¶
func (ahm *CureStatusModifier) MarshalJSON() ([]byte, error)
func (CureStatusModifier) Type ¶
func (ahm CureStatusModifier) Type() ModifierType
type Modifier ¶
type Modifier interface {
Type() ModifierType
}
type ModifierType ¶
type ModifierType string
Click to show internal directories.
Click to hide internal directories.