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

Power: Gun Fu

Full Name: rpgitems:gunfu

Providing Plugin: RPGItems

Trigger: BOW_SHOOT, PROJECTILE_LAUNCH.

Description

Make projectiles track enemies

Properties

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Default: 0

    Cooldown of the power, in ticks.

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • delay

    • Type: int
    • Default: 0

    MISSING_LANG<message.power.no_description>

  • distance

    • Type: double
    • Default: 20.0

    Maximum distance to lock enemy

  • forceFactor

    • Type: double
    • Default: 1.5

    MISSING_LANG<message.power.no_description>

  • initVelFactor

    • Type: double
    • Default: 0.5

    Factor of init velocity

  • maxTicks

    • Type: int
    • Default: 200

    Maximum ticks tracking

  • selectors

    • Type: Set<String>

    Selectors for this power.

  • velFactor

    • Type: double
    • Default: 0.05

    Factor of velocity change per tick

  • viewAngle

    • Type: double
    • Default: 30.0

    Maximum view angle to lock enemy

Example

Note

Clone this wiki locally