Options
All
  • Public
  • Public/Protected
  • All
Menu

Class YMeleeWeapon

Hierarchy

Index

Constructors

constructor

Methods

Static getAttackEffect

  • Returns current melee weapon effect of the target entity.

    Parameters

    Returns YLogic

Static getAttackMultiplier

Static getDamageMultiplier

  • getDamageMultiplier(target: YEntity): number

Static getDamageType

Static getMaxDamage

  • getMaxDamage(target: YEntity): number

Static getMinDamage

  • getMinDamage(target: YEntity): number

Static setAttackEffect

  • Allows to set melee weapon effect of the target entity.

    Parameters

    Returns void

Static setAttackMultiplier

Static setDamageMultiplier

  • setDamageMultiplier(target: YEntity, value: number): void

Static setDamageType

Static setMaxDamage

  • setMaxDamage(target: YEntity, value: number): void
  • Allows to set maximal damage value of target entity.

    Parameters

    Returns void

Static setMinDamage

  • setMinDamage(target: YEntity, value: number): void
  • Allows to set minimal damage output target entity.

    Parameters

    Returns void

Generated using TypeDoc