Skip to content

StatChange ​

record in OpalScript

Immutable result of Stats.SetBase, AddModifier, and related commands.

Properties ​

MemberDescription
StatChange.AppliedTrue when this command committed a stat write.
StatChange.StatWhich stat changed: atk, def, or spd.
StatChange.PreviousValueEffective value (base plus bonus) before this command.
StatChange.ValueEffective value after this command (base plus bonus).
StatChange.BaseBase value after this command.
StatChange.BonusModifier total after this command.
StatChange.ReasonEmpty when Applied. Otherwise value-overflow.
StatChange.OperationIdIdentity of this command.
StatChange.SourceIdThe caller.
StatChange.TargetIdThe object that owns this Stats.

See also ​