FOR EXAMPLE, YOU CAN ADD INCREASE_DAMAGE; REGENERATION; WATER_BREATHING+ CUSTOM ABILITIES IF YOU WANT!(look below for custom abilities)
Continue reading if you're interested in custom abilities!
As of now, we have a few custom abilities added into the plugin. You can always suggest more abilities here, and I would recommend you to do so.
All abilities' level will improve upon upgrading it in the upgrades shop except 'FIREBALL' and 'FLY', those only have one level.
There are two categories for custom abilities, _ATTACK_CHANCE & _DEFENSE_CHANCE.
Here are the potion effects that are compatible with "_ATTACK_CHANCE" & "_DEFENSE_CHANCE"; REGENERATION, INCREASE_DAMAGE, GLOWING, INVISIBILITY, SPEED, FIRE_RESISTANCE, JUMP, DAMAGE_RESISTANCE, FAST_DIGGING, ABSORPTION, LUCK, WITHER, SLOW, SLOW_DIGGING, CONFUSION, WEAKNESS, LEVITATION, POISON.
_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
Below, are some custom abilities that are not dependent on potion effects,
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.
TRASH - gives the ability to open a trash GUI. - increases GUI slots on upgrade.
MINING_VISION - where when the player reaches x level (default is set at 55 because most caves are around Y level 55), night vision is added to the player.