import Armour from 'WTF-Adventure/WTF-Adventure/client/entity/character/player/equipment/armour.js'
Constructor Summary
Public Constructor | ||
public |
constructor(name: String, count: Number, ability: String, abilityLevel: Number) Default constructor |
Member Summary
Public Members | ||
public |
How much defence it has |
|
public |
Name of the armor |
Method Summary
Public Methods | ||
public |
getDefence(): Number Return the defense for this armor |
|
public |
setDefence(defence: Number) Set how much defense this has |
Inherited Summary
From class Equipment | ||
public |
Ability of the equipment |
|
public |
The ability level on the equipment |
|
public |
How many times it can be used |
|
public |
Name of the equipment |
|
public |
Check if there is a name on this item |
|
public |
getAbility(): String Return the ability of the equipment |
|
public |
Get the ability level |
|
public |
Return the number of times equipment has been used |
|
public |
Return the name of the equipment |
|
public |
Update the equipment stats |