Class: SystemMonsterAction

SystemMonsterAction

A monster action of the game

new SystemMonsterAction (json)

Name Type Description
json Object optional Json object describing the monster action
Properties:
Name Type Description
actionKind MonsterActionKind The action kind
skillID SystemValue The skill ID value
itemID SystemValue The item ID value
itemNumberMax SystemValue The max item number value that can be used
priority SystemValue The action priority
targetKind MonsterActionTargetKind The monster action target kind
isConditionTurn boolean Indicate if the condition is by turn
operationKindTurn OperationKind The turn operation kind
turnValueCompare SystemValue The turn value compare
isConditionStatistic boolean Indicate if the condition is by statistic
statisticID SystemValue The statistic ID value
operationKindStatistic OperationKind The statistic operation kind
statisticValueCompare SystemValue The statistic value compare
isConditionVariable boolean Indicate if the condition is by variable
variableID number The variable ID
operationKindVariable OperationKind The variable operation kind
variableValueCompare SystemValue The varaible value compare
isConditionStatus boolean Indicate if the condition is by status
statusID SystemValue The status ID value
isConditionScript boolean Indicate if the condition is by script
script SystemValue The script formula

Methods

read (json)

Read the JSON associated to the monster action
Name Type Description
json Object Json object describing the monster action