#textdomain wesnoth-did
[unit]
	id=Troll Shaman
	name= _ "Troll Shaman"
	race=troll
	image=troll-shaman.png
	{MAGENTA_IS_THE_TEAM_COLOR}
	[abilities]
		{ABILITY_REGENERATES}
	[/abilities]
	hitpoints=50
	movement_type=largefoot
	[resistance]
		pierce=90
	[/resistance]
	movement=5
	experience=100
	level=2
	alignment=chaotic
	advanceto=null
	{AMLA_TOUGH 3}
	cost=32
	usage=mixed fighter
	unit_description= _ "Troll shamans are the mystical leaders of the trolls. Though not as strong or tough as other trolls, their true power lies in their fire magic, which they use to blast enemies with gouts of fire."
	die_sound={SOUND_LIST:TROLL_DIE}
#melee attack should be worse than troll rocklobber,
#since shaman has suck a better ranged attack
	[attack]
		name=fist
		description= _"fist"
		icon=attacks/fist-troll.png
		type=impact
		range=melee
		damage=7
		number=2
		[animation]
			[if]
				hits=yes
				[frame]
					sound=fist.ogg
					begin=-150
					end=150
                    image=units/troll-shaman-melee.png
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					sound={SOUND_LIST:MISS}
					begin=-150
					end=150
                    image=units/troll-shaman-melee.png
				[/frame]
			[/else]
		[/animation]
	[/attack]
#with underground bonus, troll actually gets 10-3 attack
	[attack]
		name=flame blast
		description= _"flame blast"
		type=fire
		[specials]
			{WEAPON_SPECIAL_MAGICAL}
		[/specials]
		range=ranged
		damage=7
		number=3
		icon=attacks/fireball.png
		[animation]
			{MISSILE_FRAME_FIREBALL}

			[frame]
				sound=fire.wav
				begin=-200
				end=0
                image=units/troll-shaman-ranged.png
			[/frame]
		[/animation]
	[/attack]

    {DEFENSE_ANIM "units/troll-shaman-defend.png" "units/troll-shaman.png" {SOUND_LIST:TROLL_HIT} }
[/unit]
