Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DamageFormMechanicalArrow

Hierarchy

Index

Constructors

constructor

Methods

apply

  • apply(entity: any, amount: any): void
  • Applies the damage to a given entity

    Parameters

    • entity: any
    • amount: any

    Returns void

deserialize

  • deserialize(data: any): any

penetratesArmor

  • penetratesArmor(): boolean

reserveIncomingDamage

  • reserveIncomingDamage(entity: any, amount: any): void
  • Reserves incoming damage, should be overridden by subclasses if special logic is required

    Parameters

    • entity: any
    • amount: any

    Returns void

serialize

  • serialize(): object

Static getCachedSchema

  • getCachedSchema(): any

Static getId

  • getId(): string
  • Returns string

Static getSchema

  • getSchema(): object

Static verify

  • verify(data: any): string