Tile - YCharacter - Has Immunity – Ylands
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)
hasImmunity(immunity: YImmunityType): boolean;
Parameters
immunity
Immunity type
Returns
boolean
Availability
Description
Returns whether the character has selected immunity type, regardless if it was forced from script or obtained by drinking a potion.