Tile - YResource - Get Automatic Resource Regeneration – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Get Automatic Resource Regeneration(Player, Resou...")
 
No edit summary
Line 16: Line 16:


'''number'''
'''number'''
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===
Line 24: Line 28:


* '''Resource''' is utilized by custom *''skills''.
* '''Resource''' is utilized by custom *''skills''.
== Get Automatic Resource Regeneration(Resource) ==
[[File:YlandsTile-1215.png]]
<pre>static getAutomaticResourceRegeneration(resource: YResource): number;</pre>
=== Parameters ===
==== resource ====
=== Returns ===
'''number'''
=== Availability ===
[[Ylands:Tile Availability - Client|Client]]
=== Description ===
Returns the resource regeneration rate.





Revision as of 12:16, 12 November 2021

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.