import Weapon from 'WTF-Adventure/WTF-Adventure/client/entity/character/player/equipment/weapon.js'
Constructor Summary
Public Constructor | ||
public |
constructor(name: String, count: Number, ability: String, abilityLevel: Number) Default constructor |
Member Summary
Public Members | ||
public |
How much damage the weapon can inflict |
|
public |
Level of the weapon |
|
public |
Whether or not this weapon is a projectile |
Method Summary
Public Methods | ||
public |
Return the damage this weapon inflicts |
|
public |
Return the level of this weapon |
|
public |
Set the amount of damage |
|
public |
Set the level of this weapon |
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 |