Tile - YResource - Set Maximum Resource Value – Ylands

From Bohemia Interactive Community
Revision as of 09: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. --> == Set Maximum Resource Value(Player, Resource, Valu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set Maximum Resource Value(Player, Resource, Value)

YlandsTile-831.png

static setMaxResourceValue(player: YCharacter, resource: YResource, value: number): void;

Parameters

player

resource

value

Description

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

Notes

  • Resource is utilized by custom *skills.