Tile - YEntity - Get Resistance – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==== damageType ==== | ==== damageType ==== | ||
Resistance type | |||
=== Returns === | === Returns === | ||
'''number''' | '''number''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== Description === | === Description === | ||
Returns selected '''resistance''' of the target entity against the specific '''type of damage'''. | |||
Revision as of 11:16, 12 November 2021
Get Resistance(Entity, Damage type)
getResistance(damageType: YDamageType): number;
Parameters
damageType
Resistance type
Returns
number
Availability
Description
Returns selected resistance of the target entity against the specific type of damage.