Tile - YResource - Set Maximum Resource Value – 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. --> == Set Maximum Resource Value(Player, Resource, Valu...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:


==== value ====
==== value ====
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===
Line 26: Line 30:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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.