Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
abilities:start [2019/10/21 16:22] indyuce |
abilities:start [2020/07/01 03:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Abilities====== | ||
Abilities are unique skills which can be bound onto items to make them feel more unique. Most of the abilities can be cast using right/left click (while sneaking?) and help the player by giving him an extra damage source or a buff. The action the player must perform in order to cast an ability depends on the ability **casting mode** which you specify when adding an ability to an item. There are six different casting modes: | Abilities are unique skills which can be bound onto items to make them feel more unique. Most of the abilities can be cast using right/left click (while sneaking?) and help the player by giving him an extra damage source or a buff. The action the player must perform in order to cast an ability depends on the ability **casting mode** which you specify when adding an ability to an item. There are six different casting modes: | ||
- `left-click` & `shift-left-click` | - `left-click` & `shift-left-click` | ||
Line 21: | Line 22: | ||
</code> | </code> | ||
MMOItems requires premium MythicMobs (at least 4.7.0) in order to function. | MMOItems requires premium MythicMobs (at least 4.7.0) in order to function. | ||
- | In order to setup a MM ability in MMOItems, you need to specify three different things: the **MM internal skill name** which will be used by MMOItems to detect and cast the corresponding MM skill, the **ability name** which is used by MMOItems to display the ability in the item lore, and the **modifiers** the ability has as well as the default modifier values.\ | + | In order to setup a MM ability in MMOItems, you need to specify three different things: the **MM internal skill name** which will be used by MMOItems to detect and cast the corresponding MM skill, the **ability name** which is used by MMOItems to display the ability in the item lore, and the **modifiers** the ability has as well as the default modifier values. |
- | For instance, if you want the ability to also have a `damage` modifier, for a damaging projectile for example, you only need to add to the config file: `damage: 6` if you want the default damage value to be 6. | + | |
+ | For instance, if you want the ability to also have a ''damage'' modifier, for a damaging projectile for example, you only need to add to the config file: ''damage: 6'' if you want the default damage value to be 6. | ||
===== Retrieving ability modifier values in MythicMobs skills===== | ===== Retrieving ability modifier values in MythicMobs skills===== |