Search
Preparing search index...
The search index is not available
YORG.io 3 Docs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ActionAttackMelee
Class ActionAttackMelee
Allows enemies to attack with a melee attack.
Hierarchy
EnemyAction
ActionAttackMelee
Index
Constructors
constructor
Methods
deserialize
get
Debug
String
get
Target
perform
serialize
set
Target
get
Cached
Schema
get
Id
get
Schema
verify
Constructors
constructor
new
Action
Attack
Melee
(
__namedParameters
:
object
)
:
ActionAttackMelee
Parameters
__namedParameters:
object
amount
:
any
attack
Interval
Seconds
:
any
damage
Form
:
any
Returns
ActionAttackMelee
Methods
deserialize
deserialize
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
get
Debug
String
get
Debug
String
(
)
:
string
Returns
string
get
Target
get
Target
(
)
:
any
Returns
any
perform
perform
(
entity
:
any
, root
:
any
)
:
void
Parameters
entity:
any
root:
any
Returns
void
serialize
serialize
(
)
:
object
Returns
object
set
Target
set
Target
(
target
:
any
)
:
void
Parameters
target:
any
Returns
void
Static
get
Cached
Schema
get
Cached
Schema
(
)
:
any
Returns
any
Static
get
Id
get
Id
(
)
:
string
Returns
string
Static
get
Schema
get
Schema
(
)
:
object
Returns
object
attack
Interval
Seconds
:
TypePositiveNumber
damage
Type
:
TypeClass
last
Attack
:
TypeNumber
Static
verify
verify
(
data
:
any
)
:
string
Parameters
data:
any
Returns
string
Globals
Action
Attack
Melee
constructor
deserialize
get
Debug
String
get
Target
perform
serialize
set
Target
get
Cached
Schema
get
Id
get
Schema
verify
Allows enemies to attack with a melee attack.