# Power Definitions

[power]
id=1
name=Swing
type=effect
icon=1
description=Basic melee attack
new_state=swing
face=true
use_hazard=true
rendered=false
aim_assist=32
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
gfx=channel.png
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=8
radius=64
speed=24
frame_loop=0
frame_duration=2
frame_size=32,32
frame_offset=16,32
starting_pos=melee

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

[power]
id=4
name=Immobilize
type=missile
icon=4
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=32
allow_power_mod=true
immobilize_duration=90

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

[power]
id=6
name=Shock
type=missile
icon=6
description=Electrocute an enemy from a distance; +25% crit chance against movement-impaired enemies.
new_state=cast
requires_mp=1
face=true
directional=true
gfx=lightning.png
sfx=shock.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=24
radius=64
speed=32
frame_loop=4
frame_duration=1
frame_size=32,32
frame_offset=16,32
trait_elemental=wind
trait_crits_impaired=25
post_power=126
wall_power=126

[power]
id=7
name=Heal
type=effect
icon=7
description=Restore HP
new_state=cast
requires_mp=1
gfx=heal.png
sfx=heal.ogg
use_hazard=true
rendered=true
no_attack=true
lifespan=18
frame_duration=2
frame_size=32,32
frame_offset=16,32
frame_loop=0
trait_elemental=light
starting_pos=source
buff_heal=true

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

[power]
id=9
name=Warcry
type=effect
icon=9
description=Remove debuffs and become immune to debuffs for 10 seconds
new_state=cast
requires_mp=2
sfx=warcry.ogg
trait_elemental=light
buff_immunity=true
immunity_duration=300

[power]
id=10
name=Quake
type=effect
icon=10
description=Stun nearby enemies
new_state=cast
requires_mp=2
gfx=quake.png
sfx=quake.ogg
use_hazard=true
rendered=true
base_damage=ment
lifespan=12
radius=128
frame_duration=2
frame_size=128,64
frame_offset=64,32
frame_loop=0
floor=true
active_frame=4
trait_elemental=earth
starting_pos=source
multitarget=true
stun_duration=30
cooldown=3000

[power]
id=11
name=Shield
type=effect
icon=11
description=Create a force field that absorbs damage
new_state=cast
requires_mp=2
sfx=shield.ogg
buff_shield=true

[power]
id=12
name=Haste
icon=12
description=Double run and attack speed for 8 seconds
type=effect
new_state=cast
face=false
requires_mp=1
haste_duration=240

[power]
id=13
name=Cleave
type=effect
icon=13
description=Attack all enemies in a wide arc
new_state=swing
face=true
use_hazard=true
requires_mp=2
multitarget=true
aim_assist=32
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
gfx=freeze.png
sfx=freeze.ogg
speed=32
trait_elemental=ice
slow_duration=90
radius=64
frame_duration=3
frame_size=32,32
frame_offset=16,24
frame_loop=20
start_frame=16
lifespan=20
active_frame=0
base_damage=ment
delay=3
visual_random=3
rendered=true
complete_animation=true
count=10

[power]
id=15
name=Teleport
type=effect
icon=15
description=Blink to a nearby location
new_state=cast
requires_mp=3
requires_empty_target=true
requires_targeting=true
gfx=runes.png
sfx=teleport.ogg
use_hazard=true
rendered=true
no_attack=true
lifespan=16
frame_duration=3
frame_size=32,32
frame_offset=16,16
frame_loop=0
floor=true
starting_pos=source
buff_teleport=true
range=512
target_neighbor=1

[power]
id=16
name=Multishot
type=missile
icon=16
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=32
allow_power_mod=true

[power]
id=18
name=Burn
type=effect
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
gfx=blast.png
sfx=burn.ogg
use_hazard=true
rendered=true
base_damage=ment
lifespan=18
radius=128
frame_duration=2
frame_size=128,64
frame_offset=64,32
frame_loop=0
floor=true
active_frame=4
trait_elemental=fire
starting_pos=target
multitarget=true
post_power=125
range=512

[power]
id=19
name=Time Stop
type=effect
icon=19
description=Stun nearby enemies for 5 seconds
new_state=cast
requires_mp=1
sfx=timestop.ogg
use_hazard=true
rendered=false
lifespan=1
radius=512
multitarget=true
stun_duration=150
base_damage=none

[power]
id=20
name=Heroic Swing
type=effect
icon=1
description=Melee attack with 10% HP steal
new_state=swing
face=true
use_hazard=true
rendered=false
aim_assist=32
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
gfx=channel.png
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=8
radius=64
speed=24
frame_loop=0
frame_duration=2
frame_size=32,32
frame_offset=16,32
starting_pos=melee
mp_steal=10

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

[power]
id=23
name=Rapid Fire
type=missile
icon=0
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=32
allow_power_mod=true
count=5
delay=2
damage_multiplier=66
cooldown=5000

[power]
id=30
name=Ice Shard [enemy]
type=missile
icon=20
new_state=cast
face=true
directional=true
requires_los=true
gfx=icicle.png
sfx=shock.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=26
radius=64
speed=30
frame_loop=12
frame_duration=3
frame_size=32,32
frame_offset=16,32
trait_elemental=ice
slow_duration=60
post_power=126
wall_power=126


[power]
id=31
name=Fireshot [enemy]
type=missile
icon=20
new_state=cast
face=true
directional=true
requires_los=true
gfx=fireball.png
sfx=fireball.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=26
radius=64
speed=30
frame_loop=8
frame_duration=2
frame_size=32,32
frame_offset=16,32
trait_elemental=fire
post_power=125
wall_power=125

[power]
id=32
name=Goblin Spear [enemy]
type=missile
icon=0
description=Crude goblin spear toss
new_state=shoot
face=true
directional=true
requires_los=true
gfx=spear.png
use_hazard=true
rendered=true
aim_assist=32
base_damage=ranged
lifespan=27
radius=64
speed=24
frame_size=32,32
frame_offset=16,32
frame_duration=5
frame_loop=32
angle_variance=15

[power]
id=33
name=Fireburst [enemy]
type=effect
icon=10
description=Burn nearby enemies
new_state=cast
gfx=quake.png
sfx=quake.ogg
use_hazard=true
rendered=true
base_damage=ment
lifespan=12
radius=128
frame_duration=2
frame_size=128,64
frame_offset=64,32
frame_loop=0
floor=true
active_frame=4
trait_elemental=fire
starting_pos=source
multitarget=true
visual_option=1
slow_duration=15
post_power=125

[power]
id=34
name=Arrow Shoot [enemy]
type=missile
icon=0
description=Bow shoot
new_state=shoot
face=true
directional=true
requires_los=true
gfx=arrows.png
sfx=shoot.ogg
use_hazard=true
rendered=true
aim_assist=32
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
frame_size=32,32
frame_offset=16,32
wall_power=124

[power]
id=35
name=Maddox's Ice Storm [enemy]
type=missile
icon=20
new_state=cast
face=true
directional=true
gfx=icicle.png
sfx=shock.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=32
radius=64
speed=30
frame_loop=12
frame_duration=3
frame_size=32,32
frame_offset=16,32
trait_elemental=ice
slow_duration=60
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

[power]
id=36
name=Vampiric Strike
type=effect
icon=1
description=Turn 50% of damage you deal into HP
new_state=swing
face=true
use_hazard=true
rendered=false
aim_assist=32
base_damage=melee
lifespan=1
radius=64
starting_pos=melee
allow_power_mod=true
hp_steal=50

[power]
id=37
name=Leech Strike
type=effect
icon=1
description=Turn 25% of damage you deal into HP
new_state=swing
face=true
use_hazard=true
rendered=false
aim_assist=32
base_damage=melee
lifespan=1
radius=64
starting_pos=melee
allow_power_mod=true
hp_steal=50

[power]
id=38
name=Chill Touch
type=effect
icon=1
description=Melee strike immobilizes target for 5 seconds
new_state=swing
face=true
use_hazard=true
rendered=false
aim_assist=32
base_damage=melee
lifespan=1
radius=64
starting_pos=melee
allow_power_mod=true
immobilize_duration=150

[power]
id=39
name=Piercing Strike
type=effect
icon=1
description=Melee strike ignores armor
new_state=swing
face=true
use_hazard=true
rendered=false
aim_assist=32
base_damage=melee
lifespan=1
radius=64
starting_pos=melee
allow_power_mod=true
trait_armor_penetration=true

[power]
id=40
name=Explode
type=effect
icon=18
description=Damage everything nearby
new_state=cast
face=true
requires_los=true
gfx=blast.png
sfx=burn.ogg
use_hazard=true
source_type=neutral
rendered=true
base_damage=ment
lifespan=18
radius=128
frame_duration=2
frame_size=128,64
frame_offset=64,32
frame_loop=0
floor=true
active_frame=4
trait_elemental=fire
starting_pos=source
multitarget=true
post_power=125

# paralyzing spit
[power]
id=41
name=Paralyzing Spit
type=missile
icon=2
description=Poison spit that stuns the target for 1 second
new_state=swing
face=true
directional=true
gfx=channel.png
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=8
radius=64
speed=24
frame_loop=0
frame_duration=2
frame_size=32,32
frame_offset=16,32
starting_pos=melee
stun_duration=30

# enemy version of multishot
[power]
id=42
name=Multishot
type=missile
icon=16
description=Shoot three projectiles simultaneously
new_state=shoot
face=true
directional=true
requires_los=true
gfx=arrows.png
sfx=shoot.ogg
use_hazard=true
rendered=true
aim_assist=32
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
frame_size=32,32
frame_offset=16,32
wall_power=124
count=3
missile_angle=15

[power]
id=100
type=effect
icon=32
name=Health Potion
sfx=potion.ogg
new_state=instant
requires_item=1
buff_restore_hp=25
cooldown=600

[power]
id=101
type=effect
icon=33
name=Mana Potion
new_state=instant
sfx=potion.ogg
requires_item=2
buff_restore_mp=25
cooldown=600

[power]
id=102
type=effect
icon=34
name=Health Flask
sfx=potion.ogg
new_state=instant
requires_item=3
buff_restore_hp=75
cooldown=600

[power]
id=103
type=effect
icon=35
name=Mana Flask
new_state=instant
sfx=potion.ogg
requires_item=4
buff_restore_mp=75
cooldown=600


[power]
id=114
name=Boots of Testing Really Large Maps
type=effect
icon=113
description=Blink to a nearby location
new_state=cast
requires_empty_target=true
gfx=runes.png
sfx=teleport.ogg
use_hazard=true
rendered=true
no_attack=true
lifespan=16
frame_duration=3
frame_size=32,32
frame_offset=16,16
frame_loop=0
floor=true
starting_pos=source
buff_teleport=true
requires_item=1022

[power]
id=115
name=Lightning Rod
type=missile
icon=101
description=Create a destructive blast of lightning bolts
new_state=cast
face=true
directional=true
gfx=lightning.png
sfx=shock.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=32
radius=64
speed=30
frame_loop=4
frame_duration=1
frame_size=32,32
frame_offset=16,32
trait_elemental=wind
post_power=126
wall_power=126
requires_item=1021
count=5
angle_variance=15
speed_variance=7

[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
gfx=stone.png
sfx=shoot.ogg
use_hazard=true
rendered=true
aim_assist=32
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
frame_size=32,32
frame_offset=16,32

[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
gfx=arrows.png
sfx=shoot.ogg
use_hazard=true
rendered=true
aim_assist=32
requires_offense_weapon=true
base_damage=ranged
lifespan=16
radius=64
speed=48
frame_size=32,32
frame_offset=16,32
wall_power=124

[power]
id=122
name=Fire Ammo
type=missile
icon=20
new_state=shoot
face=true
directional=true
gfx=fireball.png
sfx=fireball.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ranged
lifespan=25
radius=64
speed=30
frame_loop=8
frame_duration=2
frame_size=32,32
frame_offset=16,32
trait_elemental=fire
post_power=125
wall_power=125

[power]
id=123
name=Ice Ammo
type=missile
icon=20
new_state=shoot
face=true
directional=true
gfx=icicle.png
sfx=shock.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ranged
lifespan=25
radius=64
speed=30
frame_loop=12
frame_duration=3
frame_size=32,32
frame_offset=16,32
trait_elemental=ice
post_power=126
wall_power=126


[power]
id=124
name=Arrow Wall Strike
type=effect
icon=20
gfx=arrow_stuck.png
use_hazard=true
rendered=true
no_attack=true
directional=true
lifespan=90
frame_duration=1
frame_size=32,32
frame_offset=16,32
frame_loop=1
starting_pos=target

[power]
id=125
name=Orange Spark
type=effect
icon=20
gfx=spark_orange.png
use_hazard=true
rendered=true
no_attack=true
lifespan=24
frame_duration=4
frame_size=32,32
frame_offset=16,32
frame_loop=100
starting_pos=target
visual_random=2

[power]
id=126
name=Blue Spark
type=effect
icon=20
gfx=spark_blue.png
use_hazard=true
rendered=true
no_attack=true
lifespan=24
frame_duration=4
frame_size=32,32
frame_offset=16,32
frame_loop=100
starting_pos=target
visual_random=2

[power]
id=127
name=Red Spark
type=effect
icon=20
gfx=spark_red.png
use_hazard=true
rendered=true
no_attack=true
lifespan=24
frame_duration=4
frame_size=32,32
frame_offset=16,32
frame_loop=100
starting_pos=target
visual_random=2

[power]
id=128
name=Necrotic Bolt
type=missile
icon=20
new_state=shoot
face=true
gfx=plasmaball.png
sfx=shock.ogg
use_hazard=true
rendered=true
aim_assist=32
base_damage=ment
lifespan=32
radius=64
speed=30
frame_loop=12
frame_duration=3
frame_size=32,32
frame_offset=16,32
trait_elemental=shadow
post_power=126
wall_power=126

[power]
id=129
name=Scroll of Teleport
type=effect
icon=53
description=Blink to a nearby location
new_state=cast
requires_empty_target=true
requires_targeting=true
gfx=runes.png
sfx=teleport.ogg
use_hazard=true
rendered=true
no_attack=true
lifespan=16
frame_duration=3
frame_size=32,32
frame_offset=16,16
frame_loop=0
floor=true
starting_pos=source
buff_teleport=true
requires_item=12
range=512

[power]
id=130
name=Scroll of Time Stop
type=effect
icon=52
description=Stun nearby enemies for 10 seconds
new_state=cast
sfx=timestop.ogg
use_hazard=true
rendered=false
lifespan=1
radius=512
multitarget=true
stun_duration=300
base_damage=none
requires_item=13

[power]
id=131
name=Scroll of Haste
icon=48
description=Double run and attack speed for 20 seconds
type=effect
new_state=cast
face=false
haste_duration=600
requires_item=14

[power]
id=132
name=Enemy Beacon
description=Bring other enemies into the fight with a dummy attack
type=effect
icon=20
use_hazard=true
lifespan=1
radius=256
multitarget=true
source_type=hero
beacon=true

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

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

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

[power]
id=136
name=Disenchant
type=transform
icon=22
new_state=cast
spawn_type=untransform
description=Transform back to human
sfx=quake.ogg

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

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

[power]
id=139
name=Disenchant [item]
type=transform
icon=53
new_state=cast
spawn_type=untransform
description=Transform back to human
requires_item=948
sfx=quake.ogg

[power]
id=159
name=Spike Ray
type=repeater
icon=14
description=Create a ray of deadly spikes
new_state=cast
face=true
requires_mp=1
gfx=spikes.png
sfx=spikes.ogg
speed=48
slow_duration=90
radius=48
frame_duration=2
frame_size=32,64
frame_offset=16,56
frame_loop=0
lifespan=16
active_frame=0
base_damage=ment
delay=6
visual_random=4
rendered=true
complete_animation=true
count=10

[power]
id=160
name=Spikes
type=effect
description=Spikes Trap
gfx=spikes.png
use_hazard=true
rendered=true
lifespan=16
radius=48
frame_loop=0
frame_duration=2
frame_size=32,64
frame_offset=16,56
starting_pos=source
active_frame=5
complete_animation=true
base_damage=melee
visual_random=4
sfx=spikes.ogg

