Skip to main content

Introduction

Status Effects are applied to a Stat Source to modify one or more Stats.

"GDTK Status Effect"

Fields#

NameDescription
Apply EffectSet how to determine if an effect takes hold
Apply ChanceChance an effect will apply (0 - 1)
Apply FormulaFormula that must be true for effect to apply
ModifiersModifiers to apply with this effect
Max StackMaximum number of times this effect can be active at once on a single target
Cancel Effect IdsEffects that are cancelled, removed, prevented while this effect is active
ExpiresDetermines when the effect (and its modifiers) expire
Expiry TimeSeconds/Tokens until expiration
Attribute IdsAttributes to add while effect is active
Spawn InfoItem to spawn
On Life ChangedEvent raised when remaining life changes
On Modifiers ChangedEvent raised when modifiers change
On RemovedEvent raised when removed

Properties#

NameDescription
affectingGets the object being affected by this object
infoInformation about this object
initializedId of this object instance
instanceIdGets id for the instanced object
lifeRemainingGets the number of seconds remaining in the life of this object
livingModifiersGet a list of all currently active Stat Modifiers related tot his object

Methods#

NameDescription
CloneCreate a clone of this object
InitializeInitialize this object
MatchesCompare object to another copy
ResetLifespansReset the lifespan of all living Stat Modifiers
ShutdownShutdown this object