Tile - YEntity - Damage – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Damage entity to Ylands:Tile - YEntity - Damage: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Damage(Entity, Instigator, Amount, Type) == | |||
[[File:YlandsTile-949.png]] | |||
<pre>damage(instigator: YEntity, amount: number, type: YDamageType): void;</pre> | |||
=== Parameters === | |||
==== instigator ==== | |||
==== amount ==== | |||
==== type ==== | |||
=== Description === | |||
'''Damages''' the target '''entity''' by a given '''amount'''. | |||
Line 10: | Line 25: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:52, 8 July 2021
Damage(Entity, Instigator, Amount, Type)
damage(instigator: YEntity, amount: number, type: YDamageType): void;
Parameters
instigator
amount
type
Description
Damages the target entity by a given amount.