potionself en_US - NyaaCat/RPGItems-reloaded GitHub Wiki
Power: Potion Self
Full Name: rpgitems:potionself
Providing Plugin: RPGItems
Default Trigger: RIGHT_CLICK
.
All available Trigger: ATTACHMENT
, BOW_SHOOT
, HIT
, HIT_TAKEN
, HURT
, LEFT_CLICK
, OFFHAND_CLICK
, RIGHT_CLICK
, SNEAK
, SPRINT
.
Description
Apply effect to player when used
Properties
-
amplifier
- Type: int
- Required
Amplifier of potion effect
-
clear
- Type: boolean
- Default: false
MISSING_LANG<message.power.no_description>
-
conditions
- Type: Set<String>
Conditions of this power.
-
cooldown
- Type: int
- Required
Cooldown of the power, in ticks.
-
cost
- Type: int
- Default: 0
Durability cost of the power.
-
duration
- Type: int
- Required
Time of potion effect, in ticks
-
requireHurtByEntity
- Type: boolean
- Default: true
Whether only run this power when hurt by entity.
-
triggers
- Type: Set<Trigger>
- Default: RIGHT_CLICK
Triggers of this power.
-
type
- Type: PotionEffectType
- Default: HEAL
Type of potion effect