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 ID | Purpose | Requires player context |
|---|---|---|
castskill | Makes the current player cast a MythicMobs skill. An equivalent skill.cast id is registered as well. | Yes |
skill_setlevel | Sets the current player's skill level. | Yes |
skill_upgrade | Attempts an upgrade through the EmakiSkills upgrade service. | Yes |
skill_equip | Equips a skill into a slot. | Yes |
skill_unequip | Clears a skill slot. | Yes |
skill_bind | Binds a trigger to a skill slot. | Yes |
skill_clearcooldown | Clears one skill cooldown or all cooldowns. | Yes |
skill_setcooldown | Sets one skill cooldown. | Yes |
skill_learn | Unlocks a skill through the manual source. | Yes |
skill_forget | Removes one manually unlocked skill. | Yes |
skill_forget_all | Removes all manually unlocked skills. | Yes |
castskill
Makes the player in the current action context cast a MythicMobs skill.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skill | STRING | Yes | — | MythicMobs skill ID. |
actions:
- 'castskill skill=FireballSkill'
- 'skill.cast skill=FireballSkill'Skill level actions
skill_setlevel
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skill | STRING | Yes | — | Skill ID. |
level | INTEGER | Yes | — | Target level. |
skill_upgrade
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skill | STRING | Yes | — | Skill ID. |
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 ID | Parameters | Description |
|---|---|---|
skill_equip | slot, skill | Equips a skill into a slot. |
skill_unequip | slot | Clears the skill from a slot. |
skill_bind | slot, trigger | Binds a trigger to a slot. |
actions:
- 'skill_equip slot=0 skill=fireball'
- 'skill_bind slot=0 trigger=right_click'
- 'skill_unequip slot=0'Cooldown actions
skill_clearcooldown
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skill | STRING | No | "" | Skill ID. Empty clears all cooldowns. |
skill_setcooldown
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skill | STRING | Yes | — | Skill ID. |
duration_ticks | TIME | Yes | — | Cooldown duration. Values less than or equal to 0 clear this skill's cooldown. |
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 ID | Parameters | Description |
|---|---|---|
skill_learn | skill | Adds a skill to the player's manual source. |
skill_forget | skill | Removes one manually unlocked skill. |
skill_forget_all | none | Removes all manually unlocked skills. |
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.
castskillrequires 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
castmythicskillaction.castskillis registered by EmakiSkills and follows the EmakiSkills plugin lifecycle.