Changes
Page history
Update consume
authored
Oct 12, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
skills/mechanics/consume.md
View page @
179492d0
Mechanic: Consume
=================
## Description
Damages each entity targeted for the given amount, and heals the casting
mob for each entity that takes damage this way.
Attributes
----------
## Attributes
| Attribute | Aliases | Description | Default |
|------------------|---------
|
---------------------------------------|---------|
|-----------
|----
-------|---------
----------------------
---------------------------------------|---------|
| damage | d,dmg | The amount of damage to deal | 1 |
| heal | h | The amount of healing per mob damaged | None |
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
| preventimmunity | pi | Whether or not to ignore immunities | false |
| ignorearmor | i,ia | Whether or not to ignore target armor | false |
| heal | h | The amount of healing per mob damaged | 1 |
> This mechanic inherits every *inheritable* attribute of the [Damage](/Skills/Mechanics/Damage) mechanic
*"preventknockback" and "preventimmunity" were added in version 2.3*
Examples
--------
## Examples
Would consume all nearby zombies, healing the boss for 20 hp for each
zombie killed.
```
yaml
Skills
:
-
consume{d=1000;h=20} @MobsInRadius{type=ZOMBIE;r=20}
```
\ No newline at end of file