diff --git a/pkg/engine/info/modifier.go b/pkg/engine/info/modifier.go index e2149393..2ed27c77 100644 --- a/pkg/engine/info/modifier.go +++ b/pkg/engine/info/modifier.go @@ -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. diff --git a/pkg/engine/modifier/modifier.go b/pkg/engine/modifier/modifier.go index 1d47ef3b..6d6aed5f 100644 --- a/pkg/engine/modifier/modifier.go +++ b/pkg/engine/modifier/modifier.go @@ -237,6 +237,7 @@ func (mi *Instance) ToModel() info.Modifier { CountAddWhenStack: mi.countAddWhenStack, Stats: props, DebuffRES: res, + StatusType: mi.statusType, CanDispel: mi.canDispel, } }