#textdomain wesnoth-httt

#define HTTT_FIGHTER
    id=Fighter
    name= _ "Fighter"
    race=human
    image="units/konrad-fighter.png"
    hitpoints=32
    movement_type=smallfoot
    movement=6
    experience=28
    level=1
    alignment=lawful
    advances_to=Commander
    usage=mixed fighter
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=sword
        description= _"sword"
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=6
        number=3
    [/attack]
    {DEFENSE_ANIM "units/konrad-fighter-defend.png" "units/konrad-fighter.png" {SOUND_LIST:HUMAN_HIT} }
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]

        start_time=-125

        [frame]
            image="units/konrad-fighter.png:50"
        [/frame]
        [frame]
            image="units/konrad-fighter-attack-[1~2].png:[150,100]"
        [/frame]
        [frame]
            image="units/konrad-fighter.png:50"
        [/frame]

        {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
    [/attack_anim]
#enddef

[unit_type]
    {HTTT_FIGHTER}
    cost=18
    description= _ "Young and brash, Fighters attack with a sword, and are vulnerable to more seasoned enemies. However they have the potential to become great warriors one day."
    [variation]
        {HTTT_FIGHTER}
        variation_id=scepter
        hide_help=yes
        cost=38
        description= _ "Young and brash, Fighters attack with a sword, and are vulnerable to more seasoned enemies. However they have the potential to become great warriors one day."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}
        [attack]
            name=scepter of fire
            #the sceptre of fire always has the 're' writing, this is intentional!
            description= _"sceptre of fire"
            type=fire
            range=ranged
            [specials]
                {WEAPON_SPECIAL_MAGICAL}
            [/specials]
            icon=attacks/fireball.png
            damage=12
            number=3
        [/attack]
        [attack_anim]
            [filter_attack]
                name=scepter of fire
            [/filter_attack]
            {MISSILE_FRAME_FIREBALL}
            sound_start_time=-300

            [sound_frame]
                sound=fire.wav
                duration=200
            [/sound_frame]
        [/attack_anim]
    [/variation]
[/unit_type]
#undef HTTT_FIGHTER
