Tile - YCharacter - Has Immunity

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
(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.