Tile - YResource - Get Resource Value – Ylands
Jump to navigation
Jump to search
Get Resource Value(Player, Resource)
static getResourceValue(player: YCharacter, resource: YResource): number;
Parameters
player
resource
Returns
number
Availability
Description
Allows to get the current amount of target Resource the player has.
Notes
- Resource is utilized by custom *skills.
Get Resource Value(Resource)
static getResourceValue(resource: YResource): number;
Parameters
resource
Returns
number
Availability
Description
Returns the current resource value.