Tile - YResource - Set Resource Value – Ylands

From Bohemia Interactive Community
Revision as of 14:26, 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

Set Resource Value(Player, Resource, Value)

YlandsTile-829.png

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

Parameters

player

resource

value

Availability

Server

Description

Allows to set the current amount of target Resource the player has.

Notes

  • Resource is utilized by custom *skills.