# Power Definitions

[power]
id=1
name=Swing
type=fixed
icon=1
description=Basic melee attack
new_state=swing
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true

[power]
id=2
name=Channel
type=missile
icon=2
description=Basic magic attack
new_state=swing
requires_flags=mental
face=true
directional=true
animation=animations/powers/channel.txt
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=8
radius=1.0
speed=12
starting_pos=melee

[power]
id=3
name=Block
icon=4
description=Raise your shield to double your avoidance and absorb
new_state=block
face=true
requires_flags=shield

[power]
id=4
name=Immobilize
type=missile
icon=3
description=Pin an enemy down for 3 seconds
new_state=shoot
face=true
requires_flags=ranged
requires_mp=1
base_damage=ranged
aim_assist=true
allow_power_mod=true
post_effect=immobilize,0,90

[power]
id=5
name=Blood Strike
type=fixed
icon=5
description=Inflict a bleeding wound that causes additional damage over 5 seconds
new_state=swing
face=true
use_hazard=true
aim_assist=true
requires_mp=1
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
post_power=127
allow_power_mod=true
post_effect=bleeding,5,150

[power]
id=6
name=Shock
type=missile
icon=7
description=Electrocute an enemy from a distance; +50% crit chance against movement-impaired enemies.
new_state=cast
requires_mp=1
face=true
directional=true
animation=animations/powers/lightning.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=24
radius=1.0
speed=16
trait_elemental=wind
trait_crits_impaired=50
post_power=126
wall_power=126

[power]
id=7
name=Heal
type=fixed
icon=11
description=Restore HP
new_state=cast
requires_mp=1
soundfx=soundfx/powers/heal.ogg
trait_elemental=light
buff=true
post_effect=heal,0,0

[power]
id=8
name=Piercing Shot
type=missile
icon=16
description=Fire a shot that ignores armor and goes through multiple enemies
new_state=shoot
face=true
requires_flags=ranged
requires_mp=3
multitarget=true
base_damage=ranged
aim_assist=true
trait_armor_penetration=true
allow_power_mod=true

[power]
id=9
name=Warcry
type=fixed
icon=12
description=Remove debuffs and become immune to debuffs for 10 seconds
new_state=cast
requires_mp=2
soundfx=soundfx/powers/warcry.ogg
trait_elemental=light
buff=true
post_effect=immunity,0,300

[power]
id=10
name=Quake
type=fixed
icon=10
description=Stun nearby enemies
new_state=cast
requires_mp=2
animation=animations/powers/quake.txt
soundfx=soundfx/powers/quake.ogg
use_hazard=true
base_damage=ment
lifespan=12
radius=2.0
floor=true
trait_elemental=earth
starting_pos=source
multitarget=true
cooldown=90
post_effect=stun,0,30

[power]
id=11
name=Shield
type=fixed
icon=15
description=Create a force field that absorbs damage
new_state=cast
requires_mp=2
soundfx=soundfx/powers/shield.ogg
buff=true
post_effect=shield,0,0

[power]
id=12
name=Haste
icon=9
description=Double run and attack speed for 8 seconds
type=fixed
new_state=cast
face=false
requires_mp=1
buff=true
post_effect=haste,200,240

[power]
id=13
name=Cleave
type=fixed
icon=22
description=Attack all enemies in a wide arc
new_state=swing
face=true
use_hazard=true
requires_mp=2
multitarget=true
aim_assist=true
base_damage=melee
lifespan=1
radius=2.0
starting_pos=melee
allow_power_mod=true

[power]
id=14
name=Freeze
type=repeater
icon=14
description=Create a ray of piercing cold that slows enemies
new_state=cast
face=true
requires_mp=2
animation=animations/powers/freeze.txt
soundfx=soundfx/powers/freeze.ogg
speed=16
trait_elemental=ice
radius=1.0
lifespan=12
base_damage=ment
delay=3
visual_random=3
complete_animation=true
count=10
post_effect=slow,50,90

[power]
id=15
name=Teleport
type=fixed
icon=19
description=Blink to a nearby location
new_state=cast
requires_mp=3
requires_empty_target=true
requires_targeting=true
animation=animations/powers/runes.txt
soundfx=soundfx/powers/teleport.ogg
use_hazard=true
no_attack=true
lifespan=16
floor=true
starting_pos=source
buff_teleport=true
target_range=8.0
target_neighbor=1

[power]
id=16
name=Multishot
type=missile
icon=8
description=Shoot three projectiles simultaneously
new_state=shoot
face=true
count=3
missile_angle=15
requires_flags=ranged
requires_mp=2
base_damage=ranged
aim_assist=true
allow_power_mod=true

[power]
id=18
name=Burn
type=fixed
icon=18
description=Blast enemies in a distant area with fire
new_state=cast
face=true
requires_mp=3
requires_los=true
requires_targeting=true
animation=animations/powers/blast.txt
soundfx=soundfx/powers/burn.ogg
use_hazard=true
base_damage=ment
lifespan=18
radius=2.0
floor=true
trait_elemental=fire
starting_pos=target
multitarget=true
post_power=125
target_range=8.0

[power]
id=19
name=Time Stop
type=fixed
icon=0
description=Stun nearby enemies for 5 seconds
new_state=cast
requires_mp=1
soundfx=soundfx/powers/timestop.ogg
use_hazard=true
lifespan=1
radius=8.0
multitarget=true
base_damage=none
post_effect=stun,0,150

[power]
id=20
name=Heroic Swing
type=fixed
icon=1
description=Melee attack with 10% HP steal
new_state=swing
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true
hp_steal=10

[power]
id=21
name=Greater Channel
type=missile
icon=2
description=Magic attack with 10% MP steal
new_state=swing
requires_flags=mental
face=true
directional=true
animation=animations/powers/channel.txt
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=8
radius=1.0
speed=12
starting_pos=melee
mp_steal=10

[power]
id=22
name=Shoot
type=missile
icon=3
description=Basic ranged attack
new_state=shoot
face=true
requires_flags=ranged
base_damage=ranged
starting_pos=melee
aim_assist=true
allow_power_mod=true

[power]
id=23
name=Rapid Fire
type=missile
icon=23
description=Fire five low power missiles in quick succession
new_state=shoot
face=true
requires_flags=ranged
requires_mp=3
base_damage=ranged
starting_pos=melee
aim_assist=true
allow_power_mod=true
count=5
delay=2
modifier_damage=multiply,75,0
angle_variance=5
cooldown=2s

[power]
id=24
name=Ember Shot
type=missile
icon=18
description=Fire a spray of burning embers at close range. Effective against armored enemies.
new_state=shoot
face=true
requires_flags=ranged
base_damage=ranged
#starting_pos=melee
requires_mp=1
aim_assist=true
count=10
trait_armor_penetration=true
modifier_damage=multiply,15,0
angle_variance=15
speed_variance=0.15
animation=animations/powers/ember.txt
use_hazard=true
lifespan=8
radius=0.75
speed=24
directional=true
soundfx=soundfx/powers/shoot.ogg
post_power=125
trait_elemental=fire

[power]
id=25
name=Thunderstrike
type=fixed
icon=7
description=Lightning strikes from the sky to stun enemies
new_state=cast
face=true
requires_mp=2
requires_los=true
requires_targeting=true
animation=animations/powers/thunderstrike.txt
soundfx=soundfx/powers/thunder.ogg
use_hazard=true
base_damage=ment
lifespan=6
radius=1.5
trait_elemental=air
starting_pos=target
multitarget=true
post_power=126
target_range=8.0
post_effect=stun,0,45

[power]
id=30
#name=Ice Shard [enemy]
type=missile
icon=0
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=26
radius=1.0
speed=15
trait_elemental=ice
post_power=126
wall_power=126
post_effect=slow,50,60

[power]
id=31
#name=Fireshot [enemy]
type=missile
icon=0
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=26
radius=1.0
speed=15
trait_elemental=fire
post_power=125
wall_power=125

[power]
id=32
#name=Goblin Spear [enemy]
#description=Crude goblin spear toss
type=missile
icon=0
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=27
radius=1.0
speed=12
angle_variance=15

[power]
id=33
#name=Fireburst [enemy]
#description=Burn nearby enemies
type=fixed
icon=0
new_state=cast
animation=animations/powers/quake.txt
soundfx=soundfx/powers/quake.ogg
use_hazard=true
base_damage=ment
lifespan=12
radius=2.0
floor=true
trait_elemental=fire
starting_pos=source
multitarget=true
visual_option=1
post_power=125
post_effect=slow,50,15

[power]
id=34
#name=Arrow Shoot [enemy]
#description=Bow shoot
type=missile
icon=3
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=16
radius=1.0
speed=24
wall_power=124

[power]
id=35
#name=Maddox's Ice Storm [enemy]
type=missile
icon=0
new_state=cast
face=true
directional=true
animation=animations/powers/icicle.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=32
radius=1.0
speed=15
trait_elemental=ice
post_power=126
wall_power=126
#missile num needs to be odd, or the player can avoid just by standing there
count=9
missile_angle=40
post_effect=slow,50,60

[power]
id=36
#name=Vampiric Strike [enemy]
#description=Turn 50% of damage you deal into HP
type=fixed
icon=1
new_state=swing
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true
hp_steal=50

[power]
id=37
#name=Zombie Bite [enemy]
#description=Deal melee damage and cause bleeding for 3 seconds
type=fixed
icon=1
new_state=cast
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true
post_effect=bleeding,5,90

[power]
id=38
#name=Chill Touch [enemy]
#description=Melee strike immobilizes target for 5 seconds
type=fixed
icon=0
new_state=swing
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true
post_effect=immobilize,0,150

[power]
id=39
#name=Piercing Strike [enemy]
#description=Melee strike ignores armor
type=fixed
icon=0
new_state=swing
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true
trait_armor_penetration=true

[power]
id=40
#name=Explode [enemy]
#description=Damage everything nearby
type=fixed
icon=0
new_state=cast
face=true
requires_los=true
animation=animations/powers/blast.txt
soundfx=soundfx/powers/burn.ogg
use_hazard=true
source_type=neutral
base_damage=ment
lifespan=18
radius=2.0
floor=true
trait_elemental=fire
starting_pos=source
multitarget=true
post_power=125

[power]
id=41
#name=Paralyzing Spit [enemy]
#description=Poison spit that stuns the target for 1 second
type=missile
icon=0
new_state=swing
face=true
directional=true
animation=animations/powers/channel.txt
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=8
radius=1.0
speed=12
starting_pos=melee
post_effect=stun,0,30

[power]
id=42
#name=Multishot [enemy]
#description=Shoot three projectiles simultaneously
type=missile
icon=8
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=16
radius=1.0
speed=24
wall_power=124
count=3
missile_angle=15

[power]
id=43
name=Throw Knife
type=missile
icon=32
description=Throw a knife to deal 75% of melee weapon damage
new_state=swing
requires_mp=1
face=true
directional=true
animation=animations/powers/throw_knife.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=16
radius=1.0
speed=12
modifier_damage=multiply,75,0

[power]
id=44
name=Throw Axe
type=missile
icon=33
description=Throw an axe to deal 150% of melee weapon damage
new_state=swing
requires_mp=2
face=true
directional=true
animation=animations/powers/throw_axe.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=23
radius=1.0
speed=12
modifier_damage=multiply,150,0

[power]
id=45
name=Caltrops
type=fixed
icon=20
description=This trap deals 75% ranged weapon damage and slows the target.
new_state=swing
requires_mp=2
face=true
directional=true
starting_pos=melee
animation=animations/powers/caltrops.txt
use_hazard=true
base_damage=ranged
lifespan=300
cooldown=300
radius=1.0
modifier_damage=multiply,75,0
post_effect=slow,50,90


[power]
id=46
name=Bear Trap
type=fixed
icon=21
description=This trap deals 150% ranged weapon damage and immobilizes the target.
new_state=swing
requires_mp=3
face=true
directional=true
starting_pos=melee
animation=animations/powers/bear_trap.txt
use_hazard=true
base_damage=ranged
lifespan=300
cooldown=300
radius=1.0
modifier_damage=multiply,150,0
post_effect=immobilize,0,90
post_power=47

[power]
id=47
# animated bear trap trigger
type=fixed
animation=animations/powers/bear_trap_trigger.txt
use_hazard=true
no_attack=true
directional=true
lifespan=90
starting_pos=target

[power]
id=100
type=fixed
icon=64
name=Health Potion
soundfx=soundfx/powers/potion.ogg
new_state=instant
requires_item=1
cooldown=15
buff=true
post_effect=HP restore,100,1

[power]
id=101
type=fixed
icon=65
name=Mana Potion
new_state=instant
soundfx=soundfx/powers/potion.ogg
requires_item=2
cooldown=15
buff=true
post_effect=MP restore,100,1

[power]
id=118
name=Melee Fire
icon=20
trait_elemental=fire
post_power=125
base_damage=melee
starting_pos=melee

[power]
id=119
name=Melee Ice
icon=20
trait_elemental=ice
post_power=126
base_damage=melee
starting_pos=melee

[power]
id=120
name=Slingshot Shoot
type=missile
icon=0
description=Basic ranged attack (requires a ranged weapon)
new_state=shoot
face=true
directional=false
animation=animations/powers/stone.txt
soundfx=soundfx/powers/shoot.ogg
use_hazard=true
aim_assist=true
requires_flags=ranged
base_damage=ranged
lifespan=16
radius=1.0
speed=24

[power]
id=121
name=Arrow Shoot
type=missile
icon=0
description=Basic ranged attack (requires a ranged weapon)
new_state=shoot
face=true
directional=true
animation=animations/powers/arrows.txt
soundfx=soundfx/powers/shoot.ogg
use_hazard=true
aim_assist=true
requires_flags=ranged
base_damage=ranged
lifespan=16
radius=1.0
speed=24
wall_power=124

[power]
id=122
name=Fire Ammo
type=missile
icon=0
new_state=shoot
face=true
directional=true
animation=animations/powers/fireball.txt
soundfx=soundfx/powers/fireball.ogg
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=25
radius=1.0
speed=15
trait_elemental=fire
post_power=125
wall_power=125

[power]
id=123
name=Ice Ammo
type=missile
icon=0
new_state=shoot
face=true
directional=true
animation=animations/powers/icicle.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=25
radius=1.0
speed=15
trait_elemental=ice
post_power=126
wall_power=126

[power]
id=124
name=Arrow Wall Strike
type=fixed
icon=0
animation=animations/powers/arrow_stuck.txt
use_hazard=true
no_attack=true
directional=true
lifespan=90
starting_pos=target

[power]
id=125
name=Orange Spark
type=fixed
icon=0
animation=animations/powers/spark_orange.txt
use_hazard=true
no_attack=true
lifespan=12
starting_pos=target
visual_random=2

[power]
id=126
name=Blue Spark
type=fixed
icon=0
animation=animations/powers/spark_blue.txt
use_hazard=true
no_attack=true
lifespan=12
starting_pos=target
visual_random=2

[power]
id=127
name=Red Spark
type=fixed
icon=0
animation=animations/powers/spark_red.txt
use_hazard=true
no_attack=true
lifespan=12
starting_pos=target
visual_random=2

[power]
id=128
#name=Necrotic Bolt [enemy]
type=missile
icon=0
new_state=shoot
face=true
animation=animations/powers/plasmaball.txt
soundfx=soundfx/powers/shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=32
radius=1.0
speed=15
trait_elemental=shadow
post_power=126
wall_power=126

[power]
id=129
name=Scroll of Teleport
type=fixed
icon=72
description=Blink to a nearby location
new_state=cast
requires_empty_target=true
requires_targeting=true
animation=animations/powers/runes.txt
soundfx=soundfx/powers/teleport.ogg
use_hazard=true
no_attack=true
lifespan=16
floor=true
starting_pos=source
buff_teleport=true
requires_item=12
target_range=8.0

[power]
id=130
name=Scroll of Time Stop
type=fixed
icon=73
description=Stun nearby enemies for 10 seconds
new_state=cast
soundfx=soundfx/powers/timestop.ogg
use_hazard=true
lifespan=1
radius=8.0
multitarget=true
base_damage=none
requires_item=13
post_effect=stun,0,300

[power]
id=131
name=Scroll of Haste
icon=74
description=Double run and attack speed for 20 seconds
type=fixed
new_state=cast
face=false
requires_item=14
buff=true
post_effect=haste,200,600

[power]
id=132
#name=Enemy Beacon [enemy]
#description=Bring other enemies into the fight with a dummy attack
type=fixed
icon=0
use_hazard=true
lifespan=1
radius=4.0
multitarget=true
source_type=hero
beacon=true

[power]
id=133
#name=Summon Antlion
type=spawn
icon=0
spawn_type=antlion
new_state=cast
starting_pos=source
target_neighbor=1

[power]
id=134
#name=Summon Antlion Hatchling
type=spawn
icon=0
spawn_type=antlion_hatchling
new_state=cast
starting_pos=source
target_neighbor=1

[power]
id=135
#name=Transform into Antlion Freezer
#description=Transform into Antlion Freezer for 5 seconds
type=transform
icon=0
new_state=cast
spawn_type=antlion_freezer
requires_mp=5
soundfx=soundfx/powers/quake.ogg
transform_duration=150
manual_untransform=true

[power]
id=136
name=Revert Form
type=transform
icon=0
new_state=instant
spawn_type=untransform
description=Transform back to human

[power]
id=137
#name=Summon Rotting Zombie
type=spawn
icon=0
spawn_type=zombie_rotting
new_state=cast
starting_pos=source
target_neighbor=1

[power]
id=138
#name=Transform into Antlion Freezer permanently
#description=Transform into Antlion Freezer permanently
type=transform
icon=0
new_state=cast
spawn_type=antlion_freezer
requires_mp=5
soundfx=soundfx/powers/quake.ogg
transform_duration=0
manual_untransform=false

[power]
id=139
name=Disenchant [item]
type=transform
icon=0
new_state=instant
spawn_type=untransform
description=Transform back to human
requires_item=948
soundfx=soundfx/powers/quake.ogg

[power]
id=140
name=Æther Walkers
type=fixed
icon=176
description=Blink to a nearby location
new_state=cast
requires_mp=3
requires_empty_target=true
requires_targeting=true
requires_item=126
animation=animations/powers/runes.txt
soundfx=soundfx/powers/teleport.ogg
use_hazard=true
no_attack=true
lifespan=16
floor=true
starting_pos=source
buff_teleport=true
target_range=8.0
target_neighbor=1
cooldown=450

[power]
id=141
name=Stealth
type=transform
icon=6
new_state=instant
spawn_type=stealth
requires_mp=5
description=Move undetected with the opportunity to perform a sneak attack
transform_duration=300
manual_untransform=true
keep_equipment=true
cooldown=300
keep_equipment=true

[power]
id=142
name=Sneak Attack
type=fixed
icon=1
description=Melee attack while stealthed for a high chance to crit
new_state=swing
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1
radius=1.0
starting_pos=melee
allow_power_mod=true
post_power=136

[power]
id=143
icon=6
#name=Stealth Effects
type=fixed
buff=true
passive=true
post_effect=crit,100,0
post_effect=stealth,90,0
post_effect=stealth speed,50,0
post_effect=stealth icon,1,300

[power]
id=160
#name=Spikes
#description=Spikes Trap
type=fixed
animation=animations/powers/spikes.txt
use_hazard=true
lifespan=16
radius=0.75
starting_pos=source
complete_animation=true
base_damage=melee
visual_random=4
soundfx=soundfx/powers/spikes.ogg

[power]
id=170
#name=Ouroboros Ring
#description=Revive upon death
type=fixed
buff=true
requires_equipped_item=112
passive=true
passive_trigger=on_death
post_effect=revive,0,1

