Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerDefense

Hierarchy

Index

Constructors

constructor

  • new PlayerDefense(base: number, parrying: number): PlayerDefense

Properties

base

base: number

parrying

parrying: number

resist

resist: Attributes

vulnerable

vulnerable: Attributes

Methods

copy

equals

  • equals(defense: Defense): boolean
  • Parameters

    Returns boolean

setResistance

  • setResistance(damageTypes: DamageType, amount: number): this

setVulnerability

  • setVulnerability(damageTypes: DamageType, amount: number): this

Generated using TypeDoc