dodamage
Jump to navigation
Jump to search
The dodamage script command is used to damage other entities.
Usage
dodamage [-fmplcgewsaornu] <target> <damage*>
Context: For self
Flags:
-f: Fire damage
-m: Magical damage
-p: Poison damage
-l: Lightning damage
-c: Cold damage
-g: Gas damage
-e: Metal damage
-w: Wood damage
-s: Stone damage
-a: Acid damage
-o: Organic damage
-r: Drain life
-n: Drain mana
-u: Push the entity
Parameters:
| Parameter | Type | Description |
|---|---|---|
target |
entity |
The entity to damage |
damage |
number or variable |
The amount of damage to inflict |