Tile - YEntity - Get Resistance – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
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'''. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:27, 24 November 2023
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.