Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

Static getAmmo

  • Returns current amount of ammo of target ranged weapon.

    Parameters

    Returns number

Static getDamageMultiplier

  • getDamageMultiplier(target: YEntity): number

Static getDamageType

Static getMagazineSize

  • getMagazineSize(target: YEntity): number
  • Returns current magazine size of target ranged weapon.

    Parameters

    Returns number

Static getMaxDamage

  • getMaxDamage(target: YEntity): number

Static getMinDamage

  • getMinDamage(target: YEntity): number

Static setAmmo

  • setAmmo(target: YEntity, value: number): void
  • Allows to set amount ammo for target ranged weapon.

    Parameters

    Returns void

Static setDamageMultiplier

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

Static setDamageType

Static setMagazineSize

  • setMagazineSize(target: YEntity, value: number): void
  • Allows to set magazine size of target ranged weapon.

    Parameters

    Returns void

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