Tile - YEntity - Set Resistance – Ylands

From Bohemia Interactive Community
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) ==...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
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 ===
Line 20: Line 28:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 14:27, 24 November 2023

Set Resistance(Entity, Damage type, Value)

YlandsTile-505.png

setResistance(damageType: YDamageType, value: number): void;

Parameters

damageType

Resistance type

value

Resistance amount (number)

Availability

Server, Not in Edu

Description

Allows to set the resistance of the target entity against the specific type of damage.