Tile - YCharacter - Set Forced Immunity – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 33: | Line 33: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:26, 24 November 2023
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.