Tile - YEntity - Set Resistance – 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 Resistance(Entity, Damage type, Value) ==...") |
No edit summary |
||
Line 10: | Line 10: | ||
==== damageType ==== | ==== damageType ==== | ||
Resistance type | |||
==== value ==== | ==== value ==== | ||
Resistance amount (number) | |||
=== 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
Set Resistance(Entity, Damage type, Value)
setResistance(damageType: YDamageType, value: number): void;
Parameters
damageType
Resistance type
value
Resistance amount (number)
Availability
Description
Allows to set the resistance of the target entity against the specific type of damage.