MMOItems - On Hit Abilities

Oct 13, 2018
MMOItems - On Hit Abilities
  • On-hit abilities are special item passive effects that you can bind to your items.
    They'll trigger whenever you hit a monster or a player.

    Abilities when bound onto an item may have different modifier values. An ability modifier modifies the ability: it can change the ability damage, cooldown, mana cost, etc.

    Every possible ability modifier is listed in the item example with their default values.
    Any ability can also have a mana & stamina cost (use mana-cost or stamina-cost).


    [​IMG] Poison

    Applies poison on the target.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: POISON
          cooldown: 10
          duration: 4
          amplifier: 1

    [​IMG] Shock
    Shocks the target for a few seconds. Causes the player's camera to quickly shake.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: SHOCK
          cooldown: 10
          duration: 4

    [​IMG] Slow
    Slows the target for a few seconds.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: SLOW
          cooldown: 8
          duration: 3
          amplifier: 1

    [​IMG] Stun
    The target is unable to move for a short period of time.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: STUN
          cooldown: 10
          duration: 2

    [​IMG] Blind
    Applies blindess on the target.
    Tip: remember the Blindness potion effect takes some time to decay. If you want the player blind for 3 seconds, set the "duration" parameter to at least 5!
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: BLIND
          cooldown: 9
          duration: 5

    [​IMG] Confuse
    Rotates the target's camera (180°).
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: CONFUSE
          cooldown: 7

    [​IMG] Burn
    Causes the target to burn for a short period of time.
    Code (Text):
    TEST_ITEM:
      material: GOLD_SWORD
      ability:
        on-hit:
          type: BURN
          cooldown: 8
          duration: 3

    [​IMG] Vampirism
    Steals health from your target.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: VAMPIRISM
          cooldown: 8
          drain: 10

    [​IMG] Bloodbath
    Steals food from your target.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: BLOODBATH
          cooldown: 8
          amount: 2

    [​IMG] Starfall
    Causes a small star to fall upon your target, dealing additional damage.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: STARFALL
          cooldown: 8
          damage: 3.5
    [​IMG] Shockwave
    Summons an earthquake under your opponent.
    Code (Text):
    TEST_ITEM:
      material: IRON_SWORD
      ability:
        on-hit:
          type: SHOCKWAVE
          cooldown: 8
          knock-up: 1
          length: 8
  • Loading...
  • Loading...