Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
StatusEffectStack
Class StatusEffectStack
Index
Methods
create
define
Effect
has
Effect
Spec
apply
remove
Effect
has
is
Immune
get
get
Stacks
list
For
Target
list
By
Effect
for
Each
count
clear
Target
tick
dispose
Methods
Static
create
create
(
opts
?:
StatusEffectStackOptions
)
:
StatusEffectStack
Parameters
opts
:
StatusEffectStackOptions
= {}
Returns
StatusEffectStack
define
Effect
defineEffect
(
spec
:
EffectSpec
)
:
boolean
Parameters
spec
:
EffectSpec
Returns
boolean
has
Effect
Spec
hasEffectSpec
(
effectId
:
string
)
:
boolean
Parameters
effectId
:
string
Returns
boolean
apply
apply
(
targetId
:
string
,
effectId
:
string
,
opts
?:
ApplyOptions
)
:
ApplyResult
Parameters
targetId
:
string
effectId
:
string
opts
:
ApplyOptions
= {}
Returns
ApplyResult
remove
Effect
removeEffect
(
targetId
:
string
,
effectId
:
string
)
:
boolean
Parameters
targetId
:
string
effectId
:
string
Returns
boolean
has
has
(
targetId
:
string
,
effectId
:
string
)
:
boolean
Parameters
targetId
:
string
effectId
:
string
Returns
boolean
is
Immune
isImmune
(
targetId
:
string
,
effectId
:
string
)
:
boolean
Parameters
targetId
:
string
effectId
:
string
Returns
boolean
get
get
(
targetId
:
string
,
effectId
:
string
)
:
ActiveEffect
|
null
Parameters
targetId
:
string
effectId
:
string
Returns
ActiveEffect
|
null
get
Stacks
getStacks
(
targetId
:
string
,
effectId
:
string
)
:
number
Parameters
targetId
:
string
effectId
:
string
Returns
number
list
For
Target
listForTarget
(
targetId
:
string
)
:
ActiveEffect
[]
Parameters
targetId
:
string
Returns
ActiveEffect
[]
list
By
Effect
listByEffect
(
effectId
:
string
)
:
ActiveEffect
[]
Parameters
effectId
:
string
Returns
ActiveEffect
[]
for
Each
forEach
(
cb
:
(
e
:
ActiveEffect
)
=>
void
)
:
void
Parameters
cb
:
(
e
:
ActiveEffect
)
=>
void
Returns
void
count
count
()
:
number
Returns
number
clear
Target
clearTarget
(
targetId
:
string
)
:
number
Parameters
targetId
:
string
Returns
number
tick
tick
(
dtMs
:
number
)
:
void
Parameters
dtMs
:
number
Returns
void
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
define
Effect
has
Effect
Spec
apply
remove
Effect
has
is
Immune
get
get
Stacks
list
For
Target
list
By
Effect
for
Each
count
clear
Target
tick
dispose
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...