Tile - YCharacter - Has Immunity – Ylands

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

Has Immunity(Character, Immunity)

YlandsTile-485.png

hasImmunity(immunity: YImmunityType): boolean;

Parameters

immunity

Immunity type

Returns

boolean

Availability

Server, Not in Edu

Description

Returns whether the character has selected immunity type, regardless if it was forced from script or obtained by drinking a potion.