[unit]
id=Red Mage
name= _ "Red Mage"
race=human
gender=male,female
image="red-mage.png"
image_defensive="red-mage-defend.png"
hitpoints=42
movement_type=smallfoot
	[resistance]
	fire=90
	[/resistance]
movement=5
experience=100
level=2
alignment=neutral
advanceto=Arch Mage,Silver Mage
cost=60
usage=mixed fighter
unit_description= _ "Upon the successful termination of their apprenticeship, a mage is stripped of the blue robes of an apprentice, and given the red robes of a master. The significance of this change is often lost on the peasantry, who mistakenly title Master Magi as 'Red Magi'. Likewise, the symbolism of the change in colors is often mistaken to signify the mage's ability to seemingly conjure fire from nothing but thin air, a trick which, although undeniably useful, is viewed as a crass application of the knowledge which they have painstakingly accrued.

Though physically frail, and untrained as warriors, the 'Red Magi' have a number of tricks up their sleeves, including the gouts of fire which may have cemented their colloquial name.

Special Notes: the red mage's fireballs are magical, and always have a high chance of hitting an opponent."
get_hit_sound=groan.wav
	[death]
		[frame]
			begin=0
			end=100
			image="red-mage-die-1.png"
		[/frame]
		[frame]
			begin=100
			end=200
			image="red-mage-die-2.png"
		[/frame]
		[frame]
			begin=200
			end=300
			image="red-mage-die-3.png"
		[/frame]
		[frame]
			begin=300
			end=400
			image="red-mage-die-4.png"
		[/frame]
	[/death]
	[attack]
	name=staff
	type=impact
	range=short
	damage=6
	number=2
		[frame]
		begin=-100
		end=-20
		image="red-mage-attack-staff1.png"
		[/frame]
		[frame]
		begin=-20
		end=100
		image="red-mage-attack-staff2.png"
		[/frame]
		[sound]
		time=-100
		sound=dagger-swish.wav
		[/sound]
	[/attack]
	[attack]
	name=fireball
	type=fire
	range=long
	special=magical
	damage=8
	number=4
		[frame]
		begin=-240
		end=-180
		image="red-mage-fireball-1.png"
		[/frame]
		[frame]
		begin=-180
		end=-120
		image="red-mage-fireball-2.png"
		halo=halo/fireball-preparation-1.png,halo/fireball-preparation-2.png
		halo_x,halo_y=-11,3
		[/frame]
		[frame]
		begin=-120
		end=-60
		image="red-mage-fireball-3.png"
		halo=halo/fireball-preparation-3.png,halo/fireball-preparation-4.png
		halo_x,halo_y=-15,1
		[/frame]
		[frame]
		begin=-60
		end=0
		image="red-mage-fireball-2.png"
		halo=halo/fireball-preparation-5.png,halo/fireball-preparation-6.png
		halo_x,halo_y=-11,3
		[/frame]
		[frame]
		begin=0
		end=60
		image="red-mage-fireball-1.png"
		[/frame]
		[sound]
		time=-200
		sound=fire.wav
		[/sound]
		[missile_frame]
		begin=-250
		end=50
		halo=halo/fireball-halo1.png:30,halo/fireball-halo2.png:30,halo/fireball-halo3.png:30,halo/fireball-halo4.png:30,halo/fireball-halo5.png:30,halo/fireball-halo6.png:30,halo/fireball-halo7.png:30,halo/fireball-halo8.png:30,halo/fireball-halo1.png:30,halo/fireball-halo2.png:30
		image="projectiles/fireball-n.png"
		image_diagonal="projectiles/fireball-nw.png"
		[/missile_frame]
	[/attack]

	[female]
	id=Red Mage
	name= _ "female^Red Mage"
	race=human
	gender=female
	image="red-mage+female.png"
	image_defensive="red-mage+female-defend.png"
	hitpoints=42
	movement_type=smallfoot
		[resistance]
		fire=90
		[/resistance]
	movement=5
	experience=100
	level=2
	alignment=neutral
	advanceto=Arch Mage,Silver Mage
	cost=60
	usage=mixed fighter
	unit_description= _ "Upon the successful termination of their apprenticeship, a mage is stripped of the blue robes of an apprentice, and given the red robes of a master. The significance of this change is often lost on the peasantry, who mistakenly title Master Magi as 'Red Magi'. Likewise, the symbolism of the change in colors is often mistaken to signify the mage's ability to seemingly conjure fire from nothing but thin air, a trick which, although undeniably useful, is viewed as a crass application of the knowledge which they have painstakingly accrued.

Though physically frail, and untrained as warriors, the 'Red Magi' have a number of tricks up their sleeves, including the gouts of fire which may have cemented their colloquial name.

Special Notes: the red mage's fireballs are magical, and always have a high chance of hitting an opponent."
	get_hit_sound=female-hit.wav
		[death]
			[frame]
				begin=0
				end=100
				image="red-mage+female-die-1.png"
			[/frame]
			[frame]
				begin=100
				end=200
				image="red-mage+female-die-2.png"
			[/frame]
			[frame]
				begin=200
				end=300
				image="red-mage+female-die-3.png"
			[/frame]
			[frame]
				begin=300
				end=400
				image="red-mage+female-die-4.png"
			[/frame]
		[/death]
		[attack]
		name=staff
		type=impact
		range=short
		damage=6
		number=2
			[frame]
			begin=-100
			end=-20
			image="red-mage+female-attack-staff1.png"
			[/frame]
			[frame]
			begin=-20
			end=100
			image="red-mage+female-attack-staff2.png"
			[/frame]
			[sound]
			time=-100
			sound=dagger-swish.wav
			[/sound]
		[/attack]
		[attack]
		name=fireball
		type=fire
		range=long
		special=magical
		damage=8
		number=4
			[frame]
			begin=-240
			end=-180
			image="red-mage+female-fireball-1.png"
			[/frame]
			[frame]
			begin=-180
			end=-120
			image="red-mage+female-fireball-2.png"
			halo=halo/fireball-preparation-1.png,halo/fireball-preparation-2.png
			halo_x,halo_y=-11,3
			[/frame]
			[frame]
			begin=-120
			end=-60
			image="red-mage+female-fireball-3.png"
			halo=halo/fireball-preparation-3.png,halo/fireball-preparation-4.png
			halo_x,halo_y=-15,1
			[/frame]
			[frame]
			begin=-60
			end=0
			image="red-mage+female-fireball-2.png"
			halo=halo/fireball-preparation-5.png,halo/fireball-preparation-6.png
			halo_x,halo_y=-11,3
			[/frame]
			[frame]
			begin=0
			end=60
			image="red-mage+female-fireball-1.png"
			[/frame]
			[sound]
			time=-200
			sound=fire.wav
			[/sound]
			[missile_frame]
			begin=-250
			end=50
			halo=halo/fireball-halo1.png:30,halo/fireball-halo2.png:30,halo/fireball-halo3.png:30,halo/fireball-halo4.png:30,halo/fireball-halo5.png:30,halo/fireball-halo6.png:30,halo/fireball-halo7.png:30,halo/fireball-halo8.png:30,halo/fireball-halo1.png:30,halo/fireball-halo2.png:30
			image="projectiles/fireball-n.png"
			image_diagonal="projectiles/fireball-nw.png"
			[/missile_frame]
		[/attack]
	[/female]
[/unit]
