Class: Damage

RPG.Damage()

new Damage()

The data class for damage.
Properties:
Name Type Description
type Number The type of damage. 0: None 1: HP damage 2: MP damage 3: HP recovery 4: MP recovery 5: HP drain 6: MP drain
elementId Number The element ID.
formula String The formula.
variance Number The degree of variability.
critical Boolean Critical hit (true/false).