Companion Potions
Companion Potions
Custom Potions
- Attack Trigger Keyword: _ATTACK_CHANCE
- Player's Attack Target Trigger Keyword: _ATTACK_TARGET_CHANCE
- Hit Trigger Keyword: _DEFENSE_CHANCE
- Player's Attacker Trigger Keyword: _DEFENSE_ATTACKER_CHANCE
- Direct Effect Grant
ATTACK_CHANCE - Triggers when the player attacks For example, a chance to grant the player a strength effect on attack:
yamlabilityList: - STRENGTH_ATTACK_CHANCEATTACK_TARGET_CHANCE - Triggers on the player's attack target For example, a chance to grant the attack target a strength effect on attack:
yamlabilityList: - STRENGTH_ATTACK_TARGET_CHANCE_DEFENSE_CHANCE - Triggers when the player is attacked For example, a chance to grant the player a regeneration effect when attacked:
yamlabilityList: - REGENERATION_DEFENSE_CHANCE_DEFENSE_ATTACKER_CHANCE - Triggers on the player's attacker For example, a chance to grant the attacker a regeneration effect when the player is attacked:
yamlabilityList: - REGENERATION_DEFENSE_ATTACKER_CHANCEDirect potion effect grant For example, grant the player a glowing effect after using the companion (requires the server to support this effect):
yamlabilityList: - GLOWING
The abilityList entries above are all placed under the corresponding companion node. The chance, duration, name and cooldown of attack/defense potions can be configured per potion name in customability.yml, see Companion Abilities for details.