Tile - YResource - Has Resource – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 53: | Line 53: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:27, 24 November 2023
Has Resource(Player, Resource)
static hasResource(player: YCharacter, resource: YResource): boolean;
Parameters
player
resource
Returns
boolean
Availability
Description
Returns whether the target player has the target Resource attached.
Notes
- Resource is utilized by custom *skills.
Has Resource(Resource)
static hasResource(resource: YResource): boolean;
Parameters
resource
Returns
boolean
Availability
Description
Returns true/false whether the client has the resource assigned.