Interface INpcEvent.MeleeAttackEvent

  • All Superinterfaces:
    ICustomNPCsEvent, INpcEvent
    Enclosing interface:
    INpcEvent

    public static interface INpcEvent.MeleeAttackEvent
    extends INpcEvent
    Fired when the NPC performs a melee attack. Cancelable.
    Hook Name:
    meleeAttack
    • Method Detail

      • setDamage

        void setDamage​(float damage)
        Parameters:
        damage - the new melee damage.
      • getDamage

        float getDamage()
        Returns:
        the melee damage.