Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/engine/info/modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ type Modifier struct {
// Any additional weaknesses that are applied to the target by this modifier.
Weakness WeaknessMap `exhaustruct:"optional" json:"weakness"`

// The type of status this modifier is (BUFF, DEBUFF, or OTHER). If unspecified, will default to OTHER
StatusType model.StatusType `exhaustruct:"optional" json:"status_type"`

// CanDispel indicates whether the modifier can be removed through dispel effects.
// If true, the modifier can be targeted and removed by dispel abilities; if false (default),
// it is immune to dispel.
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/modifier/modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ func (mi *Instance) ToModel() info.Modifier {
CountAddWhenStack: mi.countAddWhenStack,
Stats: props,
DebuffRES: res,
StatusType: mi.statusType,
CanDispel: mi.canDispel,
}
}
Loading