damager
Jump to navigation
Jump to search
The damager
script command is used to set the collision damage for an entity.
Usage
damager [-fmplcgewsaornu] <damage*>
Context: Any Entity
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 |
---|---|---|
damage |
number or variable |
The amount of damage to inflict per second while colliding |