#textdomain wesnoth-utbs [unit_type] id=Desert Sharpshooter name= _ "Desert Sharpshooter" race=elf image=units/elves-desert/sharpshooter.png {MAGENTA_IS_THE_TEAM_COLOR} hitpoints=47 movement_type=desert_elf movement=6 experience=150 level=3 alignment=lawful advances_to=null {AMLA_DEFAULT} cost=90 usage=archer description= _ "The most elite archers among the elves, Desert Sharpshooters use the best bows and arrows available, which makes them just as deadly as their ancestors. Desert Sharpshooters are incredibly accurate, even when firing very quickly, which makes them excellent at picking off entrenched enemies."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MARKSMAN} die_sound={SOUND_LIST:ELF_HIT} # Because of the elvish sharpshooter's skill, I make an exception # to the desert elf rule of decreasing the ranged attack and # increasing the melee attack. In this case I just increase the # melee attack and don't decrease the ranged. # This is a reward for the player getting a level 3 sharpshooter # and because since the sharpshooter has 5 attacks, reducing # the ranged damage by 1 is a big penalty. Overall the desert elves # are bad at ranged attacks, but I want to give the player one # exception [attack] name=sword description= _"sword" type=blade range=melee damage=8 number=2 icon=attacks/sword-elven.png [/attack] [attack] name=longbow description= _"longbow" type=pierce range=ranged damage=10 number=5 [specials] {WEAPON_SPECIAL_MARKSMAN} [/specials] icon=attacks/bow-elven-magic.png [/attack] {DEFENSE_ANIM_RANGE "units/elves-desert/sharpshooter-sword-defend.png" "units/elves-desert/sharpshooter-sword.png" {SOUND_LIST:ELF_HIT} melee } {DEFENSE_ANIM_RANGE "units/elves-desert/sharpshooter-bow-defend.png" "units/elves-desert/sharpshooter-bow.png" {SOUND_LIST:ELF_HIT} ranged } [attack_anim] [filter_attack] name=longbow [/filter_attack] missile_start_time=-150 [missile_frame] duration=150 image="projectiles/missile-n.png" image_diagonal="projectiles/missile-ne.png" [/missile_frame] start_time=-445 [frame] image="units/elves-desert/sharpshooter-bow.png:65" [/frame] {SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380} [frame] image="units/elves-desert/sharpshooter-bow-attack[1~5].png:[75*2,100,130,150]" [/frame] [/attack_anim] [attack_anim] [filter_attack] name=sword [/filter_attack] start_time=-200 [frame] image="units/elves-desert/sharpshooter-sword.png:25" [/frame] [frame] image="units/elves-desert/sharpshooter-sword-[1~3].png:[100,175,75]" [/frame] {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75} [frame] image="units/elves-desert/sharpshooter-sword.png:25" [/frame] [/attack_anim] [female] name= _ "female^Desert Sharpshooter" gender=female image="units/elves-desert/sharpshooter+female.png" die_sound={SOUND_LIST:ELF_FEMALE_HIT} {DEFENSE_ANIM_RANGE "units/elves-desert/sharpshooter+female-sword-defend.png" "units/elves-desert/sharpshooter+female-sword.png" {SOUND_LIST:ELF_FEMALE_HIT} melee} {DEFENSE_ANIM_RANGE "units/elves-desert/sharpshooter+female-bow-defend.png" "units/elves-desert/sharpshooter+female-bow.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged} [attack_anim] [filter_attack] name=longbow [/filter_attack] [frame] image="units/elves-desert/sharpshooter+female-bow.png:65" [/frame] [frame] image="units/elves-desert/sharpshooter+female-bow-attack[1~5].png:[75*2,100,130,150]" [/frame] [/attack_anim] [attack_anim] [filter_attack] name=sword [/filter_attack] [frame] image="units/elves-desert/sharpshooter+female-sword.png:25" [/frame] [frame] image="units/elves-desert/sharpshooter+female-sword-[1~3].png:[100,175,75]" [/frame] [frame] image="units/elves-desert/sharpshooter+female-sword.png:25" [/frame] [/attack_anim] [/female] [/unit_type]