Tile - YResource - Get Automatic Resource Regeneration – Ylands

From Bohemia Interactive Community
Revision as of 14:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get Automatic Resource Regeneration(Player, Resource)

YlandsTile-832.png

static getAutomaticResourceRegeneration(player: YCharacter, resource: YResource): number;

Parameters

player

resource

Returns

number

Availability

Server

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)

YlandsTile-1215.png

static getAutomaticResourceRegeneration(resource: YResource): number;

Parameters

resource

Returns

number

Availability

Client

Description

Returns the resource regeneration rate.