Tile - YEntity - Get Resistance – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Get-Set resistance to Ylands:Tile - YEntity - Get Resistance: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Get-set resistance.png]]
<!---
*Gets/sets [[Ylands Tile - Number literal|'''number''']] (value) of resistance against defined [[Ylands Tile - Damage type literal|'''damage type''']] for target '''entity'''.
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 ====
 
=== Returns ===
 
'''number'''
 
=== Description ===
 
Allows to '''get''' the '''resistance''' of the target entity against the specific '''type of damage'''.


=Note=
*Entities with resistances are armor parts and carnivore animals.


----
----
Line 10: Line 25:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Revision as of 09:52, 8 July 2021