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

Power: Deflect

Full Name: rpgitems:deflect

Providing Plugin: RPGItems

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

Description

Deflect arrows or fireballs towards player

Properties

  • chance

    • Type: int
    • Default: 50

    Chance in percentage of triggering this power in passive mode

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Default: 0

    Cooldown of the power, in ticks.

  • cooldownpassive

    • Type: int
    • Default: 0

    Cooldown time of this power in passive mode

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • deflectCost

    • Type: int
    • Default: 0

    Cost for each deflect

  • duration

    • Type: int
    • Default: 50

    Duration of this power, in ticks

  • facing

    • Type: double
    • Default: 30.0

    Maximum effective view angle in degrees

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

Example

Note

Clone this wiki locally