### Powers used by enemy creatures

# basic melee attack
[power]
id=164
type=fixed
new_state=swing
face=true
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee

# throw spear
[power]
id=165
type=missile
new_state=shoot
face=true
directional=true
requires_los=true
animation=animations/powers/spear.txt
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=900ms
radius=1.0
speed=16
angle_variance=10
modifier_accuracy=multiply,75,0

# goblin shaman shock
[power]
id=166
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/lightning.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=800ms
radius=1.0
speed=16
trait_elemental=lightning
trait_crits_impaired=25
post_power=159
wall_power=159
modifier_accuracy=multiply,75,0

# goblin shaman shield
[power]
id=167
type=fixed
new_state=cast
soundfx=soundfx/powers/shield.ogg
buff=true
post_effect=shield,0,0
cooldown=3s
modifier_damage=multiply,100,0
base_damage=ment

# blood strike
[power]
id=168
type=fixed
new_state=swing
face=true
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee
post_power=160
modifier_damage=multiply,105,0
post_effect=bleeding,3,5s

# summon raised zombie
[power]
id=169
type=spawn
spawn_type=zombie_raised
new_state=cast
starting_pos=source
target_neighbor=1

# status effect immunity
[power]
id=170
type=fixed
buff=true
passive=true
post_effect=immunity,0,0

# shoot arrow
[power]
id=171
type=missile
new_state=shoot
face=true
directional=true
requires_los=true
animation=animations/powers/arrows.txt
soundfx=soundfx/powers/shoot.ogg
use_hazard=true
aim_assist=true
requires_flags=ranged
base_damage=ranged
lifespan=533ms
radius=1.0
speed=24
wall_power=157
modifier_accuracy=multiply,75,0

# ice bolt
[power]
id=172
type=missile
new_state=cast
face=true
directional=true
requires_los=true
animation=animations/powers/icicle.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=ice
post_power=159
wall_power=159
post_effect=slow_ice,50,2s
modifier_accuracy=multiply,75,0

# fireball
[power]
id=173
type=missile
new_state=cast
face=true
directional=true
requires_los=true
animation=animations/powers/fireball.txt
soundfx=soundfx/powers/fireball.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=fire
post_power=158
wall_power=158
modifier_damage=multiply,105,0
modifier_accuracy=multiply,75,0

# skeleton shock
[power]
id=174
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/lightning.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=lightning
trait_crits_impaired=30
post_power=159
wall_power=159
modifier_accuracy=multiply,75,0

# chill touch
[power]
id=175
type=fixed
new_state=swing
face=true
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee
post_effect=slow_ice,0,5s
cooldown=5s

# shadowball
[power]
id=176
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_accuracy=multiply,125,0
post_power=160
wall_power=160

# destroy seagate's tombstones
[power]
id=177
type=fixed
new_state=instant
source_type=hero
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
multitarget=true
starting_pos=target
modifier_damage=absolute,1000,1000
modifier_accuracy=absolute,1100,0

# spike trap
[power]
id=178
type=fixed
animation=animations/powers/spikes.txt
use_hazard=true
lifespan=533ms
radius=0.75
starting_pos=source
complete_animation=true
base_damage=melee
visual_random=4
soundfx=soundfx/powers/spikes.ogg
source_type=neutral
post_effect=bleeding,5,10s

# quake
[power]
id=179
type=fixed
icon=10
new_state=cast
animation=animations/powers/quake.txt
soundfx=soundfx/powers/quake.ogg
use_hazard=true
base_damage=melee
lifespan=400ms
radius=2.0
floor=true
starting_pos=source
multitarget=true
post_effect=stun,0,1s,25
cooldown=5s
modifier_damage=multiply,75,0
post_effect=knockback,15,100ms

# freezing melee attack
[power]
id=180
type=fixed
new_state=swing
face=true
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee
trait_elemental=ice
post_power=159
post_effect=slow_ice,50,2s

# antlion explode
[power]
id=182
type=fixed
new_state=instant
face=true
requires_los=true
animation=animations/powers/blast.txt
soundfx=soundfx/powers/burn.ogg
use_hazard=true
base_damage=ment
lifespan=600ms
radius=2.0
floor=true
trait_elemental=fire
starting_pos=source
multitarget=true
post_power=158
requires_hp=1000
sacrifice=true

# freeze ray
[power]
id=183
type=repeater
new_state=cast
face=true
animation=animations/powers/freeze.txt
soundfx=soundfx/powers/freeze.ogg
speed=24
trait_elemental=ice
radius=1.2
lifespan=400ms
base_damage=ment
delay=100ms
visual_random=3
complete_animation=true
count=12
multitarget=true
modifier_damage=multiply,80,0
post_effect=slow_ice,25,4s

# Prioss's multi-spear
[power]
id=184
type=missile
new_state=shoot
face=true
directional=true
requires_los=true
animation=animations/powers/spear.txt
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=900ms
radius=1.0
speed=18
angle_variance=15
modifier_accuracy=multiply,60,0
count=3

# Skeleton bleeding immunity
[power]
id=185
type=fixed
buff=true
passive=true
post_effect=immunity_bleed,0,0

# skeleton shield bash
[power]
id=186
type=fixed
new_state=shield_bash
state_duration=166ms
face=true
use_hazard=true
base_damage=melee
lifespan=166ms
radius=1.0
starting_pos=melee
aim_assist=true
charge_speed=12
cooldown=1500ms
relative_pos=true
soundfx_hit=soundfx/powers/block.ogg
soundfx=soundfx/powers/shock.ogg
post_effect=knockback,10,100ms
modifier_damage=multiply,125,0

# zombie leech strike
[power]
id=187
type=fixed
new_state=cast
face=true
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee
hp_steal=50

# zola's leech shadowball
[power]
id=188
type=missile
new_state=swing
face=true
directional=false
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_accuracy=multiply,125,0
hp_steal=25
post_power=160
wall_power=160

# mez's ram attack
[power]
id=189
type=fixed
new_state=dash_attack
state_duration=200ms
face=true
use_hazard=true
base_damage=melee
lifespan=200ms
radius=1.0
starting_pos=source
aim_assist=true
charge_speed=12
cooldown=1500ms
relative_pos=true
soundfx_hit=soundfx/powers/block.ogg
soundfx=soundfx/powers/shock.ogg
post_effect=knockback,10,100ms
modifier_damage=multiply,125,0

# mez's thunderstrike
[power]
id=190
type=fixed
new_state=cast
face=true
requires_los=true
requires_targeting=true
animation=animations/powers/thunderstrike.txt
soundfx=soundfx/powers/thunder.ogg
use_hazard=true
base_damage=ment
lifespan=200ms
radius=1.5
trait_elemental=lightning
starting_pos=target
multitarget=true
post_power=159
target_range=8.0
post_effect=stun,0,1s,25
modifier_damage=multiply,75,0
cooldown=5s

# antlion fire spray
[power]
id=191
type=missile
new_state=shoot
face=true
base_damage=ment
aim_assist=true
count=10
trait_armor_penetration=true
angle_variance=15
speed_variance=0.15
animation=animations/powers/ember.txt
use_hazard=true
lifespan=266ms
radius=0.75
speed=24
directional=true
soundfx=soundfx/powers/shoot.ogg
post_power=158
trait_elemental=fire
modifier_damage=multiply,10,0

# minotaur axe throw
[power]
id=192
type=missile
new_state=shoot
face=true
directional=true
animation=animations/powers/throw_axe.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=766ms
radius=1.0
speed=12
modifier_damage=multiply,125,0

# summon skeleton minion (minotaur)
[power]
id=193
type=spawn
new_state=cast_alt
soundfx=soundfx/powers/teleport.ogg
spawn_type=lvl10_skeleton_minion
spawn_limit=fixed,2
starting_pos=source
target_neighbor=2
requires_los=true
requires_empty_target=true
cooldown=10s

# Spawn effect (for enemies without spawn animations)
[power]
id=194
type=fixed
passive=true
buff=true
post_effect=spawn_runes,0,533ms

# Heal minions (minotaur)
[power]
id=195
type=fixed
new_state=cast_alt
buff_party=true
requires_spawns=1
soundfx=soundfx/powers/heal.ogg
post_effect=hp_restore,50,33ms
post_effect=heal_animation,0,600ms
cooldown=5s

# shoot 3 arrows
[power]
id=196
type=missile
new_state=shoot
face=true
directional=true
requires_los=true
animation=animations/powers/arrows.txt
soundfx=soundfx/powers/shoot.ogg
use_hazard=true
aim_assist=true
requires_flags=ranged
base_damage=ranged
lifespan=533ms
radius=1.0
speed=24
count=3
angle_variance=20
speed_variance=0.15
wall_power=157
modifier_accuracy=multiply,50,0

# minotaur force field initializer & buff
[power]
id=197
type=fixed
new_state=cast_alt
buff=true
post_effect=reflect_chance,100,2s
post_effect=return_damage,25,2s
post_power=198
cooldown=6s
soundfx=soundfx/powers/shield.ogg

# minotaur force field hazard
[power]
id=198
type=fixed
animation=animations/powers/shield_orange.txt
use_hazard=true
base_damage=ment
lifespan=2s
radius=2
multitarget=true
multihit=true
relative_pos=true
starting_pos=source
expire_with_caster=true
modifier_accuracy=absolute,1000,0
post_effect=knockback,20,150ms

# nazia mines minecart
[power]
id=199
type=missile
animation=animations/powers/minecart.txt
directional=false
use_hazard=true
radius=1
lifespan=10s
speed=4
# fake target category so that it can't hit any other entity
target_categories=nazia_door
source_type=hero
wall_power=200

# Nazia minecart explosion
[power]
id=200
type=fixed
animation=animations/powers/blast.txt
soundfx=soundfx/powers/burn.ogg
use_hazard=true
no_attack=true
lifespan=600ms
floor=true
complete_animation=true
starting_pos=target
modifier_damage=absolute,0,0
script=on_cast,scripts/maps/nazia_mines/minecart_explode.txt

# Dark Mist
[power]
id=201
type=fixed
new_state=cast
soundfx=soundfx/powers/thunder.ogg
use_hazard=true
radius=3
lifespan=33ms
starting_pos=target
base_damage=ment
trait_elemental=dark
modifier_accuracy=multiply,125,0
post_effect=dark_mist,0,5s,25
post_effect=bleeding,5,5s
cooldown=6s

# throw 3 knives
[power]
id=202
type=missile
new_state=cast
face=true
directional=true
animation=animations/powers/throw_knife.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=800ms
radius=1.0
speed=12
modifier_damage=multiply,90,0
modifier_accuracy=multiply,90,0
count=3
angle_variance=12
speed_variance=0.05

# apply fire weakness to target
[power]
id=203
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_damage=absolute,0,0
modifier_accuracy=multiply,200,0
post_power=158
wall_power=158
post_effect=fire_weakness,-25,10s
cooldown=10s
ignore_zero_damage=true

# apply ice weakness to target
[power]
id=204
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_damage=absolute,0,0
modifier_accuracy=multiply,200,0
post_power=158
wall_power=158
post_effect=ice_weakness,-25,10s
cooldown=10s
ignore_zero_damage=true

# 12-way sentry ice bolt
[power]
id=205
type=missile
new_state=cast
face=true
directional=true
requires_los=false
animation=animations/powers/icicle.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=ice
post_power=159
wall_power=159
post_effect=slow_ice,50,2s
modifier_damage=multiply,75,0
modifier_accuracy=multiply,75,0
count=12
missile_angle=30

# 12-way sentry fireball
[power]
id=206
type=missile
new_state=cast
face=true
directional=true
requires_los=false
animation=animations/powers/fireball.txt
soundfx=soundfx/powers/fireball.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=fire
post_power=158
wall_power=158
modifier_damage=multiply,80,0
modifier_accuracy=multiply,75,0
count=12
missile_angle=30

# spawn Nishi: visual effect
[power]
id=207
type=fixed
#new_state=cast
animation=animations/powers/thunderstrike.txt
soundfx=soundfx/powers/thunder.ogg
use_hazard=true
lifespan=200ms
starting_pos=source

# 5-way shadowball
[power]
id=236
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_accuracy=multiply,125,0
modifier_damage=multiply,125,0
count=5
missile_angle=15
post_effect=knockback,20,100ms

# Metzger's heal
[power]
id=237
type=fixed
new_state=cast
soundfx=soundfx/powers/heal.ogg
buff=true
post_effect=heal,0,0
cooldown=5s
base_damage=ment
modifier_damage=multiply,200,0


# antlion spit
[power]
id=239
type=missile
new_state=cast
animation=animations/powers/spit.txt
use_hazard=true
aim_assist=false
directional=true
starting_pos=source
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_accuracy=multiply,125,0
post_effect=stun,0,1s,25
cooldown=5s

# teleport
[power]
id=240
type=fixed
new_state=cast
soundfx=soundfx/powers/teleport.ogg
no_attack=true
lifespan=533ms
starting_pos=source
buff_teleport=true
target_range=8.0
target_neighbor=1
cooldown=6s
buff=true
post_effect=teleport,0,533ms

# zombie miner animation
[power]
id=241
type=fixed
new_state=swing
face=false
requires_los=false

# shadowstep skeleton buff
[power]
id=242
type=fixed
new_state=cast
buff=true
post_effect=shadowstep,0,10s
post_effect=avoidance,40,10s
post_effect=accuracy,75,10s
cooldown=15s
soundfx=soundfx/powers/shield.ogg

# goblin steal
[power]
id=243
type=fixed
new_state=swing
face=true
use_hazard=true
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee
modifier_damage=multiply,50,0
cooldown=20s
post_power=273

# antlion larva spawn 1
[power]
id=244
type=spawn
new_state=instant
spawn_type=antlion_larva
starting_pos=source
target_neighbor=2
requires_empty_target=true
post_power=245
spawn_limit=fixed,1
cooldown=60s

# antlion larva spawn 2
[power]
id=245
type=spawn
new_state=instant
spawn_type=antlion_larva
starting_pos=source
target_neighbor=2
requires_empty_target=true
spawn_limit=fixed,1
cooldown=60s

# firethorn antlion attack
[power]
id=253
type=missile
new_state=shoot
face=true
base_damage=ment
aim_assist=true
count=48
missile_angle=15
trait_armor_penetration=true
angle_variance=10
speed_variance=0.15
animation=animations/powers/ember.txt
use_hazard=true
lifespan=266ms
radius=0.75
speed=24
directional=true
soundfx=soundfx/powers/shoot.ogg
post_power=158
trait_elemental=fire
modifier_damage=multiply,25,0

# sonic goblin attack
[power]
id=254
type=fixed
new_state=swing
face=true
use_hazard=true
base_damage=melee
lifespan=400ms
radius=1.2
starting_pos=melee
aim_assist=true
directional=true
animation=animations/powers/cleave.txt
post_effect=knockback,15,200ms
post_effect=stun,0,1s,25
complete_animation=true

# spike trap (automatic)
[power]
id=255
type=fixed
animation=animations/powers/spikes.txt
use_hazard=true
lifespan=533ms
radius=0.75
starting_pos=source
complete_animation=true
base_damage=melee
visual_random=4
source_type=neutral
post_effect=bleeding,5,10s

# twin-axe
[power]
id=256
type=missile
new_state=shoot
face=true
directional=true
animation=animations/powers/throw_axe.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=766ms
radius=1.0
speed=12
modifier_damage=multiply,125,0
count=2
missile_angle=15
angle_variance=10
speed_variance=0.02

# heal nearby enemies
[power]
id=257
type=fixed
new_state=cast
use_hazard=true
starting_pos=source
radius=4
source_type=hero
multitarget=true
ignore_zero_damage=true
soundfx=soundfx/powers/heal.ogg
post_effect=hp_restore,50,33ms
post_effect=heal_animation,0,600ms
cooldown=5s
target_categories=can_heal

# ice quake
[power]
id=258
type=fixed
icon=10
new_state=cast
animation=animations/powers/quake.txt
soundfx=soundfx/powers/quake.ogg
use_hazard=true
base_damage=ment
lifespan=400ms
radius=2.0
floor=true
visual_option=2
starting_pos=source
multitarget=true
post_effect=stun,0,1s,25
post_effect=slow_ice,50,4s
cooldown=5s
modifier_damage=multiply,80,0
post_effect=knockback,20,100ms

# hobgoblin archer shoot
[power]
id=259
type=missile
new_state=swing
face=true
directional=true
requires_los=true
animation=animations/powers/arrows.txt
soundfx=soundfx/powers/shoot.ogg
use_hazard=true
aim_assist=true
requires_flags=ranged
base_damage=ranged
lifespan=533ms
radius=1.0
speed=24
wall_power=157
modifier_accuracy=multiply,75,0

# hobgoblin throw knife
[power]
id=260
type=missile
new_state=swing
face=true
directional=true
animation=animations/powers/throw_knife.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=800ms
radius=1.0
speed=12
modifier_damage=multiply,90,0
modifier_accuracy=multiply,90,0
angle_variance=12
speed_variance=0.05

# Rakk's freeze attack
[power]
id=261
type=missile
new_state=cast
face=true
animation=animations/powers/freeze_2.txt
use_hazard=true
soundfx=soundfx/powers/freeze.ogg
speed=4
trait_elemental=ice
radius=0.75
lifespan=500ms
base_damage=ment
visual_random=3
count=8
modifier_damage=multiply,30,0
post_effect=slow_ice,25,4s
post_effect=knockback,15,100ms
angle_variance=2
speed_variance=0.05
missile_angle=5
starting_pos=source

# Forgotten Grave spawn power
[power]
id=262
type=spawn
spawn_type=lvl15_dungeon
new_state=cast
starting_pos=source
target_neighbor=1
soundfx=soundfx/powers/teleport.ogg
spawn_limit=fixed,10
requires_empty_target=true
cooldown=10s

# Lezaith's knife barrage
[power]
id=263
type=missile
new_state=cast
face=true
directional=true
animation=animations/powers/throw_knife.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=800ms
radius=1.0
speed=12
modifier_damage=multiply,90,0
modifier_accuracy=multiply,90,0
count=8
angle_variance=20
speed_variance=0.05

# Lezaith's tri-Fire
[power]
id=264
type=missile
new_state=cast
face=true
directional=true
requires_los=true
animation=animations/powers/fireball.txt
soundfx=soundfx/powers/fireball.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=fire
post_power=158
wall_power=158
modifier_damage=multiply,105,0
modifier_accuracy=multiply,75,0
count=3
angle_variance=6
speed_variance=0.1

# Lezaith's tri-Ice
[power]
id=265
type=missile
new_state=cast
face=true
directional=true
requires_los=true
animation=animations/powers/icicle.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=ice
post_power=159
wall_power=159
post_effect=slow_ice,50,2s
modifier_accuracy=multiply,75,0
count=3
angle_variance=6
speed_variance=0.1

# Lezaith's tri-Lightning
[power]
id=266
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/lightning.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=800ms
radius=1.0
speed=16
trait_elemental=lightning
trait_crits_impaired=25
post_power=159
wall_power=159
modifier_accuracy=multiply,75,0
count=3
angle_variance=6
speed_variance=0.1

# Lezaith's tri-Dark
[power]
id=267
type=missile
new_state=cast
face=true
directional=false
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=866ms
radius=1.0
speed=15
trait_elemental=dark
modifier_accuracy=multiply,125,0
post_power=160
wall_power=160
count=3
angle_variance=6
speed_variance=0.1

# goblin steal script execution
[power]
id=273
type=fixed
new_state=instant
use_hazard=true
ignore_zero_damage=true
lifespan=33ms
radius=1.0
starting_pos=target
target_categories=hero
script=on_hit,scripts/powers/goblin_steal.txt

# Lezaith's slow/stun immunity
[power]
id=287
type=fixed
buff=true
passive=true
post_effect=immunity_slow,0,0
post_effect=immunity_stun,0,0

