Tile - YCharacter - Has Immunity – Ylands

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