[unit] id=Javelineer name= _ "Javelineer" race=human image="units/human-loyalists/javelineer.png" [defend] [frame] begin=-150 end=150 image="units/human-loyalists/javelineer-defend.png" [/frame] [/defend] profile="portraits/core/Jason_Lutes/human-javelineer.png" hitpoints=45 movement_type=smallfoot movement=5 experience=100 level=2 alignment=lawful advanceto=null {AMLA_TOUGH 3} cost=25 usage=fighter unit_description= _ "Spearmen almost always equip themselves with a few javelins, to harry, if not kill, enemies at range. Some, however, take to them rather well, finding that they have a natural talent in their use. Javelineers are a valuable asset to an army, being able to supplement their skill in melee combat with an ability to handle distant foes. They can hurl javelins into enemy ranks from a distance, often without retribution, and still hold their ground in melee. Special Notes: the length of their weapon allows a javelineer to strike first in melee, even in defense." get_hit_sound=groan.wav [attack] name=spear type=pierce range=melee damage=8 number=3 special=firststrike [animation] [frame] begin=-100 end=-60 image="units/human-loyalists/javelineer-attack-melee-1.png" [/frame] [frame] begin=-60 end=-10 image="units/human-loyalists/javelineer-attack-melee-2.png" [/frame] [frame] begin=-10 end=60 image="units/human-loyalists/javelineer-attack-melee-3.png" [/frame] [frame] begin=60 end=100 image="units/human-loyalists/javelineer-attack-melee-1.png" [/frame] [/animation] [/attack] [attack] name=spear type=pierce range=ranged damage=11 number=2 [animation] [sound] time=-100 sound=spear.wav [/sound] [frame] begin=-210 end=-160 image="units/human-loyalists/javelineer-attack-ranged-1.png" [/frame] [frame] begin=-160 end=-110 image="units/human-loyalists/javelineer-attack-ranged-2.png" [/frame] [frame] begin=-110 end=-50 image="units/human-loyalists/javelineer-attack-ranged-3.png" [/frame] [frame] begin=-50 end=100 image="units/human-loyalists/javelineer-attack-ranged-4.png" [/frame] [missile_frame] begin=-120 end=0 image="projectiles/spear-n.png" image_diagonal="projectiles/spear-ne.png" [/missile_frame] [/animation] [/attack] [/unit]