Tile - YEntity - Cause Damage – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Cause Damage(Entity, Instigator, Amount, Type) ==...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 37: | Line 37: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:27, 24 November 2023
Cause Damage(Entity, Instigator, Amount, Type)
damage(instigator: YEntity, amount: number, type: YDamageType): void;
Parameters
instigator
Instigator causing the damage (optional)
amount
Amount of damage
type
Damage type
Availability
Description
Will reduce hitpoints of target entity by given amount.
Notes
- Damage type will govern how the damage will be reduced by target resistances.
- Pure damage type cannot be resisted.