|
|
tbc |
|
|
\ No newline at end of file |
|
|
# Companion Abilties
|
|
|
|
|
|
So, by now, you must be wondering. What abilities can my Companion give!? - Fret not, I will now explain.
|
|
|
|
|
|
There are two types of abilities,
|
|
|
1. `potion effect abilities`
|
|
|
2. `custom abilities`.
|
|
|
|
|
|
You need to know that you can literally have endless amount of abilities per Companions. How? You separate the abilities using `; ` in companions.yml. e.g, `INCREASE_DAMAGE; REGENERATION; LEAP`
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<br>
|
|
|
|
|
|
<div align="center">
|
|
|
|
|
|
I have taken the time to add some custom enchant styled abilities into the plugin.
|
|
|
|
|
|
<br>
|
|
|
|
|
|
---
|
|
|
|
|
|
<br>
|
|
|
|
|
|
# Potion Effect Abilities
|
|
|
|
|
|
These are the abilities you can find via the Spigot API here, https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html. All of the potion effects should work, if you're on an older Spigot/Minecraft server version, please make sure you find the right Potion Effect Type.
|
|
|
|
|
|
<br>
|
|
|
|
|
|
# Custom Abilities
|
|
|
|
|
|
The first set of Custom Abilities triggers when you're hit by a mob/player.
|
|
|
|
|
|
`_ATTACK_CHANCE` - when a player attacks a Companion holder that has this ability, the attacker stands a chance to obtain that ability for x duration *(configurable in config.yml)*. Usage example; `WITHER_ATTACK_CHANCE`
|
|
|
|
|
|
`_DEFENSE_CHANCE` - when the Companion holder with this ability gets hit, he/she stands a chance to gain this ability. Usage example; `REGENERATION_DEFENSE_CHANCE`
|
|
|
|
|
|
So, for example, you have `WITHER_ATTACK_CHANCE; REGENERATION_DEFENSE_CHANCE`, when a player hits you, you have a chance on inflicting wither effect onto the attacker and also get regeneration for yourself.
|
|
|
|
|
|
<br>
|
|
|
|
|
|
---
|
|
|
|
|
|
<br>
|
|
|
|
|
|
The second set of Custom Abilities trigger via cooldown or the chance system.
|
|
|
|
|
|
`DODGE` - a chance to dodge the enemy's attack, configurable in the config.yml. - increases dodge chance on upgrade.
|
|
|
|
|
|
`FIREBALL` - a chance to shoot out fireball when left-clicking in the air.
|
|
|
|
|
|
`FLY` - gives the ability to fly.
|
|
|
|
|
|
`LEAP` - left click and leap with beautiful particles! As you level, your leap gets stronger!
|
|
|
|
|
|
|
|
|
If you have more suggestions, please let me know.
|
|
|
</div> |
|
|
\ No newline at end of file |