Tile - YEntity - Set Resistance – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

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.