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

Power: Stuck

Full Name: rpgitems:stuck

Providing Plugin: RPGItems

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

Description

Make target stuck

Properties

  • chance

    • Type: int
    • Default: 3

    Chance of triggering this power, 1/n

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Default: 0

    Cooldown of the power, in ticks.

  • cost

    • Type: int
    • Default: 0

    Cost of this power (hit)

  • costAoe

    • Type: int
    • Default: 0

    Cost of this power (right click)

  • costPerEntity

    • Type: int
    • Default: 0

    Cost of this power (right click per entity)

  • duration

    • Type: int
    • Default: 100

    Duration of this power in tick

  • facing

    • Type: double
    • Default: 30.0

    Maximum effective view angle in degrees

  • range

    • Type: int
    • Default: 10

    Range of AOE

  • requireHurtByEntity

    • Type: boolean
    • Default: true

    Whether only run this power when hurt by entity.

  • selectors

    • Type: Set<String>

    Selectors for this power.

  • triggers

    • Type: Set<Trigger>
    • Default: HIT

    Triggers of this power.

Example

Note

Clone this wiki locally