Tile - YCharacter - Set Forced Immunity – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Set Forced Immunity(Character, Immunity, Value) =...") |
No edit summary |
||
Line 10: | Line 10: | ||
==== immunity ==== | ==== immunity ==== | ||
Immunity type | |||
==== value ==== | ==== value ==== | ||
New immunity state | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== Description === | === Description === | ||
Allows to '''set''' character '''immunity''' | Allows to '''set''' character '''immunity''' '''override'''. | ||
=== Notes === | === Notes === |
Revision as of 12:16, 12 November 2021
Set Forced Immunity(Character, Immunity, Value)
setForcedImmunity(immunity: YImmunityType, value: YForcedBool): void;
Parameters
immunity
Immunity type
value
New immunity state
Availability
Description
Allows to set character immunity override.
Notes
- Force true / false will override current immunity state.
- Default will return the state before this instruction was used. So if player had immunity from potion, he will retain it.