Class: SystemEffect

SystemEffect

An effect of a common skill item

new SystemEffect (json)

Name Type Description
json Object optional Json object describing the effect
Properties:
Name Type Description
kind EffectKind The kind of effect
damageKind DamageKind The damage kind
damageStatisticID SystemValue The damage statistic ID value
damageCurrencyID SystemValue The damage currency ID value
damageVariableID SystemValue The damage variable ID value
damageFormula SystemValue The damage formula value
isDamagesMinimum boolean Indicate if damages minimum exists
damagesMinimumFormula SystemValue The damage minimum formula value
isDamagesMaximum boolean Indicate if damages maximum exists
damagesMaximumFormula SystemValue The damage maximum formula value
isDamageElement boolean Indicate if damages element exists
damageElementID SystemValue The damage element ID value
isDamageVariance boolean Indicate if damages variance exists
damageVarianceFormula SystemValue The damage variance formula value
isDamageCritical boolean Indicate if damages critical exists
damageCriticalFormula SystemValue The damage critical formula value
isDamagePrecision boolean Indicate if damages precision exists
damagePrecisionFormula SystemValue The damage precision formula value
isDamageStockVariableID boolean Indicate if damages stock variable ID exists
damageStockVariableID SystemValue The damage stock variable ID value
isAddStatus boolean Indicate if add status exists
statusID SystemValue The status ID value
statusPrecisionFormula SystemValue The status precision formula value
isAddSkill boolean Indicate if add skill exists
addSkillID SystemValue The add skill ID value
performSkillID SystemValue The perform skill ID value
commonReaction EventCommand The common reaction to execute
specialActionKind EffectSpecialActionKind The special action kind
scriptFormula SystemValue The script formula value
isTemporarilyChangeTarget boolean Indicate if temporarily change target exists
temporarilyChangeTargetFormula SystemValue The temporarily change target formula value

Methods

read (json)

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

execute ()boolean

Execute the effect
Returns:
Type Description
boolean

isAnimated ()boolean

Check if the effect is animated
Returns:
Type Description
boolean

toString ()boolean

Get the string representation of the effect
Returns:
Type Description
boolean