import Equipment from 'WTF-Adventure/WTF-Adventure/client/entity/character/player/equipment/equipment.js'
Equipment
Things that can be equipped on a Character The children of these classes are responsible for clear and concise ways of organizing stats of weapons in the client side. This does not dictate the damage, defense or bonus stats, it's just for looks.
Constructor Summary
Public Constructor | ||
public |
constructor(name: String, count: Number, ability: String, abilityLevel: Number) Default constructor |
Member Summary
Public Members | ||
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 |
Method Summary
Public Methods | ||
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 |