Tile - YEntity - Set Resistance – Ylands

From Bohemia Interactive Community
Revision as of 14:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.