Skip to content
On this page

Effects

The effects make it possible to change the combat (or other) situation. Effects are just labels


Existing effects

  • Enum: string
TagDescription
Effect.NONENo effect
Effect.CAN_NOT_SKILLThe player will not be able to use a skill. The player.useSkill() method will return an exception with the RESTRICTION_SKILL id
Effect.CAN_NOT_ITEMThe player may not use an item. The player.useItem() method will return an exception with the RESTRICTION_ITEM id
Effect.GUARDThe player goes on defense. When using applyDamage(), damage will be reduced using the damageGuard formula
Effect.SUPER_GUARDDamage with the applyDamage() method will be divided by 4
Effect.HALF_SP_COSTThe cost of the SP will be halved when calling the useSkill() method
  • Usage:

Create Custom Effect

DANGER

This documentation is not complete. Please wait 😃