Tile - YEntity - Set Resistance – Ylands

From Bohemia Interactive Community
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.