Skip to content
Liqueur Librazy edited this page Oct 27, 2019 · 4 revisions

Power: Potion Hit

Full Name: rpgitems:potionhit

Providing Plugin: RPGItems

Trigger: HIT, LIVINGENTITY.

Description

Apply effect to enemy when hit

Properties

  • amplifier

    • Type: int
    • Required

    Amplifier of potion effect

  • chance

    • Type: int
    • Default: 20

    Chance of triggering this power, 1/n

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • duration

    • Type: int
    • Required

    Duration of potion effect, in ticks

  • type

    • Type: PotionEffectType
    • Default: HARM

    Type of potion effect

Example

Note

Clone this wiki locally