[power]
id=8
name=Piercing Shot
type=missile
icon=16
description=Fire a shot that ignores armor and goes through multiple enemies
requires_flags=ranged
meta_power=true

[power]
id=16
name=Multishot
type=missile
icon=8
description=Shoot three projectiles simultaneously
requires_flags=ranged
meta_power=true

[power]
id=22
name=Shoot
type=missile
icon=3
description=Basic ranged attack
requires_flags=ranged
meta_power=true

[power]
id=23
name=Rapid Fire
type=missile
icon=23
description=Fire five low power missiles in quick succession
requires_flags=ranged
cooldown=400ms
meta_power=true

[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=266ms
radius=0.75
speed=24
directional=true
soundfx=soundfx/powers/shoot.ogg
post_power=125
trait_elemental=fire

[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=10s
cooldown=1s
radius=1.0
modifier_damage=multiply,75,0
post_effect=slow,50,3s


[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=10s
cooldown=1s
radius=1.0
modifier_damage=multiply,150,0
post_effect=immobilize,0,3s
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=3s
starting_pos=target

# slingshot/rock
[power]
id=120
name=Shoot
INCLUDE powers/categories/ranger_base/shoot.txt
directional=false
animation=animations/powers/stone.txt
requires_flags=ranged,slingshot

# bow/arrow
[power]
id=121
name=Shoot
INCLUDE powers/categories/ranger_base/shoot.txt
directional=true
animation=animations/powers/arrows.txt
requires_flags=ranged,bow
wall_power=124

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

[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=10s
manual_untransform=true
keep_equipment=true
cooldown=10s
keep_equipment=true
untransform_on_hit=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
base_damage=melee
lifespan=33ms
radius=1.0
starting_pos=melee
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,10s

# slingshot (rock) powers
[power]
id=181
name=Piercing Shot
INCLUDE powers/categories/ranger_base/piercing_shot.txt
requires_flags=ranged,slingshot
directional=false
animation=animations/powers/stone.txt

[power]
id=182
name=Multishot
INCLUDE powers/categories/ranger_base/multishot.txt
requires_flags=ranged,slingshot
directional=false
animation=animations/powers/stone.txt

[power]
id=183
name=Rapid Fire
INCLUDE powers/categories/ranger_base/rapid_fire.txt
requires_flags=ranged,slingshot
directional=false
animation=animations/powers/stone.txt

# bow (arrow) powers
[power]
id=191
name=Piercing Shot
INCLUDE powers/categories/ranger_base/piercing_shot.txt
requires_flags=ranged,bow
directional=true
animation=animations/powers/arrows.txt
wall_power=124

[power]
id=192
name=Multishot
INCLUDE powers/categories/ranger_base/multishot.txt
requires_flags=ranged,bow
directional=true
animation=animations/powers/arrows.txt
wall_power=124

[power]
id=193
name=Rapid Fire
INCLUDE powers/categories/ranger_base/rapid_fire.txt
requires_flags=ranged,bow
directional=true
animation=animations/powers/arrows.txt
wall_power=124

