Skip to content
Liqueur Librazy edited this page Mar 17, 2019 · 4 revisions

Power: Potion Self

Full Name: rpgitems:potionself

Providing Plugin: RPGItems

Default Trigger: RIGHT_CLICK.
All available Trigger: ATTACHMENT, HIT, HIT_TAKEN, LEFT_CLICK, OFFHAND_CLICK, RIGHT_CLICK, SNEAK, SPRINT.

Description

Apply effect to player when used

Properties

  • duration

    • Type: int
    • Required

    Time of potion effect, in ticks

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • cooldown

    • Type: long
    • Required

    Cooldown of the power, in ticks.

  • amplifier

    • Type: int
    • Required

    Amplifier of potion effect

  • type

    • Type: PotionEffectType
    • Default: HEAL

    Type of potion effect

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

  • conditions

    • Type: Set<String>

    Conditions of this power.

Example

Note

Clone this wiki locally