Tile - YResource - Set Maximum Resource Value – Ylands

From Bohemia Interactive Community
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

Availability

Server

Description

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

Notes

  • Resource is utilized by custom *skills.