Tile - YEntity - Get Resistance – Ylands
Jump to navigation
Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 0.12") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Get Resistance(Entity, Damage type) == | |||
[[File:YlandsTile-506.png]] | |||
<pre>getResistance(damageType: YDamageType): number;</pre> | |||
=== Parameters === | |||
==== damageType ==== | |||
Resistance type | |||
=== Returns === | |||
'''number''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== Description === | |||
Returns selected '''resistance''' of the target entity against the specific '''type of damage'''. | |||
---- | ---- | ||
{{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.