Skip to content

Cooldown

Defines the cooldown (in seconds) between each skill activation. This prevents the skill from being triggered repeatedly in a short period.

Important

You must set the MythicMobs skill's Cooldown to 0 in your skill configuration. Otherwise, the cooldown attribute in this plugin will not work, due to how MythicMobs handles internal cooldowns.


Example

MythicMobs/skills/example_skill.yml
Example_Skill:
  Cooldown: 0
  Skill:
  - # Your mechanic here
MythicMobs/items/example_item.yml
Example_Item:
  Id: STICK
  Abilities:
  - skill: SummonSkeleton
    activator: LEFT_CLICK
    cooldown: 10