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) ==...")
 
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 12:16, 12 November 2021

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.