Tile - YCharacter - Has Immunity – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== immunity ====
==== immunity ====
Immunity type


=== Returns ===
=== Returns ===


'''boolean'''
'''boolean'''
=== Availability ===
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]


=== Description ===
=== Description ===

Revision as of 11:16, 12 November 2021

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.