Using CoreTools โ
CoreTools can be used to create skills that you can run in all MMO plugins.
Custom Skill Registration โ
First, code your skill in CoreTools. For this tutorial, we will be using a very simple script; it is the built-in script which ID script3.
script3:
Conditions: []
Mechanics:
- command{c="say Hello I'm Script 3"} @SelfThen, open up any YML config file inside the MythicLib/skill folder and paste the following:
MY_SKILL_3:
coretools-skill-id: script3After reloading both plugins, you can now use the skill MY_SKILL_3 in MMOItems and MMOCore. You can try to cast it using /ml debug cast MY_SKILL_3, and you should see the message appear in the player chat.
Skill Modifiers โ
There is currently no way to retrieve skill modifiers when using CoreTools skills, unlike when using MythicMobs.
Specifications โ
Support for conditions โ
Just like MythicMobs, skills registered in MythicLib using CoreTools can have conditions. If any of the CoreTools conditions is not met, the skill will not be cast, no mana will be consumed, no cooldown will be applied, etc.