Tile - YCharacter - Has Immunity – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Character immunity to Ylands:Tile - YCharacter - Has Immunity: New Structure)
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:{{PAGENAME}}.png]]
<!---
*'''Returns''' whenever character has selected [[Ylands Tile - Immunity type literal|'''immunity''']] type, regardless if it was [[Ylands Tile - Character forced immunity|'''forced''']] from script or obtained by drinking a potion.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Has Immunity(Character, Immunity) ==


=Notes=
[[File:YlandsTile-485.png]]
*See also: [[Ylands Tile - Character forced immunity|'''Get / Set Forced Immunity''']].
 
<pre>hasImmunity(immunity: YImmunityType): boolean;</pre>
=== Parameters ===
 
==== immunity ====
 
Immunity type
 
=== Returns ===
 
'''boolean'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|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.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Latest revision as of 14:27, 24 November 2023

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.