#textdomain wesnoth-units [unit_type] id=Khalid name= _ "Khalid" race=khalifate image="units/khalifate/khalid.png" {MAGENTA_IS_THE_TEAM_COLOR} hitpoints=82 movement_type=khalifatearmoredfoot movement=5 experience=200 level=4 alignment=lawful advances_to=null {AMLA_DEFAULT} cost=78 usage=fighter description= _ "Among every generation, a warrior elevates himself above his peers and foes; They seem to be able to alter the destiny of the world themselves. Often given the name Khalid, after a legendary leader of old, these individuals are celebrated for the piety and skill. Their travels and travails are told endlessly around the campfire with the reverent tones of those that speak of living legends."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MARKSMAN}+{SPECIAL_NOTES_SLOW} die_sound={SOUND_LIST:ELF_HIT} {DEFENSE_ANIM "units/khalifate/khalid.png" "units/khalifate/khalid.png" {SOUND_LIST:ELF_HIT} } [attack] name=long sword description= _ "long sword" icon=attacks/longsword.png type=blade range=melee damage=13 number=4 [specials] {WEAPON_SPECIAL_MARKSMAN} [/specials] [/attack] [attack] name=shield bash description= _ "shield bash" icon=attacks/heater-shield.png #TODO: add "correct" shield form! type=impact range=melee damage=11 number=3 [specials] {WEAPON_SPECIAL_SLOW} [/specials] [/attack] [attack_anim] [filter_attack] name=long sword [/filter_attack] start_time=-200 [frame] image="units/khalifate/khalid.png:300" [/frame] {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100} [/attack_anim] [attack_anim] [filter_attack] name=shield bash [/filter_attack] start_time=-200 #expanded definitions below because of sound bug on miss to be fixed in 1.13 [frame] image="units/khalifate/khalid.png:100" [/frame] [if] hits=yes [frame] image="units/khalifate/khalid.png:200" sound=mace.wav [/frame] [/if] [else] hits=no [frame] image="units/khalifate/khalid.png:200" sound={SOUND_LIST:MISS} [/frame] [/else] {SOUND:SLOW} [/attack_anim] [/unit_type]