Tile - YResource - Get Automatic Resource Regeneration – Ylands
Jump to navigation
Jump to search
Get Automatic Resource Regeneration(Player, Resource)
static getAutomaticResourceRegeneration(player: YCharacter, resource: YResource): number;
Parameters
player
resource
Returns
number
Availability
Description
Allows to get the player's regeneration rate of the target Resource.
Notes
- Resource is utilized by custom *skills.
Get Automatic Resource Regeneration(Resource)
static getAutomaticResourceRegeneration(resource: YResource): number;
Parameters
resource
Returns
number
Availability
Description
Returns the resource regeneration rate.