# 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=64
starting_pos=melee
allow_power_mod=true

[power]
id=2
name=Channel
type=missile
icon=2
description=Basic magic attack
new_state=swing
requires_mental_weapon=true
face=true
directional=true
animation=channel.txt
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=8
radius=64
speed=24
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

[power]
id=4
name=Immobilize
type=missile
icon=3
description=Pin an enemy down for 3 seconds
new_state=shoot
face=true
requires_offense_weapon=true
requires_mp=1
base_damage=ranged
aim_assist=true
allow_power_mod=true
post_effect=201,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=64
starting_pos=melee
post_power=127
allow_power_mod=true
post_effect=200,5,150

[power]
id=6
name=Shock
type=missile
icon=7
description=Electrocute an enemy from a distance; +25% crit chance against movement-impaired enemies.
new_state=cast
requires_mp=1
face=true
directional=true
animation=lightning.txt
soundfx=shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=24
radius=64
speed=32
trait_elemental=wind
trait_crits_impaired=25
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=heal.ogg
trait_elemental=light
buff=true
post_effect=228,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_offense_weapon=true
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=warcry.ogg
trait_elemental=light
buff=true
post_effect=226,0,300

[power]
id=10
name=Quake
type=fixed
icon=10
description=Stun nearby enemies
new_state=cast
requires_mp=2
animation=quake.txt
soundfx=quake.ogg
use_hazard=true
base_damage=ment
lifespan=12
radius=128
floor=true
trait_elemental=earth
starting_pos=source
multitarget=true
cooldown=90
post_effect=203,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=shield.ogg
buff=true
post_effect=227,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=229,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=128
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=freeze.txt
soundfx=freeze.ogg
speed=32
trait_elemental=ice
radius=64
lifespan=12
base_damage=ment
delay=3
visual_random=3
complete_animation=true
count=10
post_effect=202,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=runes.txt
soundfx=teleport.ogg
use_hazard=true
no_attack=true
lifespan=16
floor=true
starting_pos=source
buff_teleport=true
range=512
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_offense_weapon=true
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=blast.txt
soundfx=burn.ogg
use_hazard=true
base_damage=ment
lifespan=18
radius=128
floor=true
trait_elemental=fire
starting_pos=target
multitarget=true
post_power=125
range=512

[power]
id=19
name=Time Stop
type=fixed
icon=0
description=Stun nearby enemies for 5 seconds
new_state=cast
requires_mp=1
soundfx=timestop.ogg
use_hazard=true
lifespan=1
radius=512
multitarget=true
base_damage=none
post_effect=203,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=64
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_mental_weapon=true
face=true
directional=true
animation=channel.txt
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=8
radius=64
speed=24
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_offense_weapon=true
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_offense_weapon=true
requires_mp=3
base_damage=ranged
starting_pos=melee
aim_assist=true
allow_power_mod=true
count=5
delay=2
damage_multiplier=75
angle_variance=5
cooldown=2s

[power]
id=24
name=Ember Shot
type=missile
icon=23
description=Fire a spray of burning embers at close range
new_state=shoot
face=true
requires_offense_weapon=true
base_damage=ranged
#starting_pos=melee
aim_assist=true
trait_armor_penetration=true
count=10
damage_multiplier=15
angle_variance=15
speed_variance=15
animation=ember.txt
use_hazard=true
lifespan=8
radius=48
speed=48
directional=true
soundfx=shoot.ogg
post_power=125
trait_elemental=fire


[power]
id=30
#name=Ice Shard [enemy]
type=missile
icon=0
new_state=cast
face=true
directional=true
requires_los=true
animation=icicle.txt
soundfx=shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=26
radius=64
speed=30
trait_elemental=ice
post_power=126
wall_power=126
post_effect=202,50,60

[power]
id=31
#name=Fireshot [enemy]
type=missile
icon=0
new_state=cast
face=true
directional=true
requires_los=true
animation=fireball.txt
soundfx=fireball.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=26
radius=64
speed=30
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=spear.txt
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=27
radius=64
speed=24
angle_variance=15

[power]
id=33
#name=Fireburst [enemy]
#description=Burn nearby enemies
type=fixed
icon=0
new_state=cast
animation=quake.txt
soundfx=quake.ogg
use_hazard=true
base_damage=ment
lifespan=12
radius=128
floor=true
trait_elemental=fire
starting_pos=source
multitarget=true
visual_option=1
post_power=125
post_effect=202,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=arrows.txt
soundfx=shoot.ogg
use_hazard=true
aim_assist=true
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
wall_power=124

[power]
id=35
#name=Maddox's Ice Storm [enemy]
type=missile
icon=0
new_state=cast
face=true
directional=true
animation=icicle.txt
soundfx=shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=32
radius=64
speed=30
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=202,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=64
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=64
starting_pos=melee
allow_power_mod=true
post_effect=200,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=64
starting_pos=melee
allow_power_mod=true
post_effect=201,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=64
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=blast.txt
soundfx=burn.ogg
use_hazard=true
source_type=neutral
base_damage=ment
lifespan=18
radius=128
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=channel.txt
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=8
radius=64
speed=24
starting_pos=melee
post_effect=203,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=arrows.txt
soundfx=shoot.ogg
use_hazard=true
aim_assist=true
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
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=throw_knife.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=16
radius=64
speed=24
damage_multiplier=75

[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=throw_axe.txt
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=23
radius=64
speed=24
damage_multiplier=150

[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=caltrops.txt
use_hazard=true
base_damage=ranged
lifespan=300
cooldown=300
radius=64
damage_multiplier=75
post_effect=202,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=bear_trap.txt
use_hazard=true
base_damage=ranged
lifespan=300
cooldown=300
radius=64
damage_multiplier=150
post_effect=201,0,90
post_power=47

[power]
id=47
# animated bear trap trigger
type=fixed
animation=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=potion.ogg
new_state=instant
requires_item=1
cooldown=15
buff=true
post_effect=230,100,1

[power]
id=101
type=fixed
icon=65
name=Mana Potion
new_state=instant
soundfx=potion.ogg
requires_item=2
cooldown=15
buff=true
post_effect=231,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=stone.txt
soundfx=shoot.ogg
use_hazard=true
aim_assist=true
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48

[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=arrows.txt
soundfx=shoot.ogg
use_hazard=true
aim_assist=true
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
wall_power=124

[power]
id=122
name=Fire Ammo
type=missile
icon=0
new_state=shoot
face=true
directional=true
animation=fireball.txt
soundfx=fireball.ogg
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=25
radius=64
speed=30
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=icicle.txt
soundfx=shock.ogg
use_hazard=true
aim_assist=true
base_damage=ranged
lifespan=25
radius=64
speed=30
trait_elemental=ice
post_power=126
wall_power=126

[power]
id=124
name=Arrow Wall Strike
type=fixed
icon=0
animation=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=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=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=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=plasmaball.txt
soundfx=shock.ogg
use_hazard=true
aim_assist=true
base_damage=ment
lifespan=32
radius=64
speed=30
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=runes.txt
soundfx=teleport.ogg
use_hazard=true
no_attack=true
lifespan=16
floor=true
starting_pos=source
buff_teleport=true
requires_item=12
range=512

[power]
id=130
name=Scroll of Time Stop
type=fixed
icon=73
description=Stun nearby enemies for 10 seconds
new_state=cast
soundfx=timestop.ogg
use_hazard=true
lifespan=1
radius=512
multitarget=true
base_damage=none
requires_item=13
post_effect=203,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=237,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=256
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=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=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=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
animation=runes.txt
soundfx=teleport.ogg
use_hazard=true
no_attack=true
lifespan=16
floor=true
starting_pos=source
buff_teleport=true
range=512
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=64
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=216,100,0
post_effect=236,50,0
post_effect=233,90,0
post_effect=235,1,300

[power]
id=160
#name=Spikes
#description=Spikes Trap
type=fixed
animation=spikes.txt
use_hazard=true
lifespan=16
radius=48
starting_pos=source
complete_animation=true
base_damage=melee
visual_random=4
soundfx=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=234,0,1

#
# Status Effects
#

[power]
id=200
#name=Bleeding
type=effect
icon=25
effect_type=damage
animation=spark_red_loop.txt

[power]
id=201
#name=Speed (Immobilize)
type=effect
icon=24
effect_type=speed

[power]
id=202
#name=Speed (50% slow)
type=effect
icon=24
effect_type=speed

[power]
id=203
#name=Stunned
type=effect
icon=26
effect_type=stun

[power]
id=210
#name=HP bonus
tag=HP
type=effect
effect_type=hp
effect_additive=true

[power]
id=211
#name=HP regen bonus
tag=HP regen
type=effect
effect_type=hp_regen
effect_additive=true

[power]
id=212
#name=MP bonus
tag=MP
type=effect
effect_type=mp
effect_additive=true

[power]
id=213
#name=MP regen bonus
tag=MP regen
type=effect
effect_type=mp_regen
effect_additive=true

[power]
id=214
#name=Accuracy bonus
tag=accuracy
type=effect
effect_type=accuracy
effect_additive=true

[power]
id=215
#name=Avoidance bonus
tag=avoidance
type=effect
effect_type=avoidance
effect_additive=true

[power]
id=216
#name=Crit bonus
tag=crit
type=effect
effect_type=crit
effect_additive=true

[power]
id=217
#name=Speed (Boots of Speed)
tag=speed
type=effect
effect_type=speed

[power]
id=218
#name=Offense bonus
tag=offense
type=effect
effect_type=offense
effect_additive=true

[power]
id=219
#name=Defense bonus
tag=defense
type=effect
effect_type=defense
effect_additive=true

[power]
id=220
#name=Physical bonus
tag=physical
type=effect
effect_type=physical
effect_additive=true

[power]
id=221
#name=Mental bonus
tag=mental
type=effect
effect_type=mental
effect_additive=true

[power]
id=222
#name=XP bonus
tag=XP gain
type=effect
effect_type=xp
effect_additive=true

[power]
id=223
#name=Gold find bonus
tag=gold find
type=effect
effect_type=currency
effect_additive=true

[power]
id=224
#name=Fire Resist bonus
tag=fire resist
type=effect
effect_type=fire_resist
effect_additive=true

[power]
id=225
#name=Ice Resist bonus
tag=ice resist
type=effect
effect_type=ice_resist
effect_additive=true

[power]
id=226
#name=Immunity
type=effect
icon=12
effect_type=immunity

[power]
id=227
#name=Shield
type=effect
icon=15
effect_type=shield
animation=shield.txt

[power]
id=228
#name=Heal
type=effect
icon=11
effect_type=heal
animation=heal.txt

[power]
id=229
#name=Speed (Haste)
type=effect
icon=9
effect_type=speed

[power]
id=230
#name=HP over time
type=effect
effect_type=hpot

[power]
id=231
#name=MP over time
type=effect
effect_type=mpot

[power]
id=232
#name=Item find bonus
tag=item find
type=effect
effect_type=item_find
effect_additive=true

[power]
id=233
#name=Stealth bonus
tag=stealth
type=effect
effect_type=stealth
effect_additive=true

[power]
id=234
#name=Revive
type=effect
effect_type=revive

[power]
id=235
#name=Stealth time remaining icon
icon=6

[power]
id=236
#name=Speed (Stealth)
type=effect
effect_type=speed

[power]
id=237
#name=Speed (Scroll of Haste)
type=effect
effect_type=speed



