Tile - YResource - Get Maximum Resource Value – Ylands

From Bohemia Interactive Community
Revision as of 08:53, 8 July 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Get Maximum Resource Value(Player, Resource) ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get Maximum Resource Value(Player, Resource)

YlandsTile-830.png

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

Parameters

player

resource

Returns

number

Description

Allows to get the maximum amount of target Resource the player can hold.

Notes

  • Resource is utilized by custom *skills.