Skip to content

CoreLib Actions

When EmakiSkills is enabled, it adds skill casting, level, slot, cooldown, and manual-unlock actions to the CoreLib action registry. They can be used by other module action lists, rewards, follow-up effects, or CoreLib action templates.

This page documents only CoreLib actions registered by EmakiSkills. EmakiSkills native skill-script actions are documented in Script System, and CoreLib built-in actions are documented in CoreLib Actions.

Action ID quick reference

Action IDPurposeRequires player context
castskillMakes the current player cast a MythicMobs skill. An equivalent skill.cast id is registered as well.Yes
skill_setlevelSets the current player's skill level.Yes
skill_upgradeAttempts an upgrade through the EmakiSkills upgrade service.Yes
skill_equipEquips a skill into a slot.Yes
skill_unequipClears a skill slot.Yes
skill_bindBinds a trigger to a skill slot.Yes
skill_clearcooldownClears one skill cooldown or all cooldowns.Yes
skill_setcooldownSets one skill cooldown.Yes
skill_learnUnlocks a skill through the manual source.Yes
skill_forgetRemoves one manually unlocked skill.Yes
skill_forget_allRemoves all manually unlocked skills.Yes

castskill

Makes the player in the current action context cast a MythicMobs skill.

ParameterTypeRequiredDefaultDescription
skillSTRINGYesMythicMobs skill ID.
yaml
actions:
  - 'castskill skill=FireballSkill'
  - 'skill.cast skill=FireballSkill'

Skill level actions

skill_setlevel

ParameterTypeRequiredDefaultDescription
skillSTRINGYesSkill ID.
levelINTEGERYesTarget level.

skill_upgrade

ParameterTypeRequiredDefaultDescription
skillSTRINGYesSkill ID.
yaml
actions:
  - 'skill_setlevel skill=fireball level=3'
  - 'skill_upgrade skill=fireball'

skill_upgrade uses the EmakiSkills upgrade service, so upgrade materials, economy, success rate, and upgrade actions still apply.

Skill slot actions

Action IDParametersDescription
skill_equipslot, skillEquips a skill into a slot.
skill_unequipslotClears the skill from a slot.
skill_bindslot, triggerBinds a trigger to a slot.
yaml
actions:
  - 'skill_equip slot=0 skill=fireball'
  - 'skill_bind slot=0 trigger=right_click'
  - 'skill_unequip slot=0'

Cooldown actions

skill_clearcooldown

ParameterTypeRequiredDefaultDescription
skillSTRINGNo""Skill ID. Empty clears all cooldowns.

skill_setcooldown

ParameterTypeRequiredDefaultDescription
skillSTRINGYesSkill ID.
duration_ticksTIMEYesCooldown duration. Values less than or equal to 0 clear this skill's cooldown.
yaml
actions:
  - 'skill_setcooldown skill=fireball duration_ticks=5s'
  - 'skill_clearcooldown skill=fireball'
  - 'skill_clearcooldown'

Manual unlock actions

Manual unlocks are stored in the player's skill profile. The skill GUI displays this source as “manual unlock”. Forgetting skills also validates slot bindings and clears invalid bindings.

Action IDParametersDescription
skill_learnskillAdds a skill to the player's manual source.
skill_forgetskillRemoves one manually unlocked skill.
skill_forget_allnoneRemoves all manually unlocked skills.
yaml
actions:
  - 'skill_learn skill=fireball'
  - 'skill_forget skill=fireball'
  - 'skill_forget_all'

Notes

  • Every action on this page requires a player context; console execution must be routed through a player-aware business flow or the action fails.
  • castskill requires MythicMobs to be installed and enabled, and the configured skill must exist.
  • If you only need CoreLib to call a MythicMobs skill directly, CoreLib also provides the built-in castmythicskill action. castskill is registered by EmakiSkills and follows the EmakiSkills plugin lifecycle.