#textdomain wesnoth-utbs
[unit]
    id=Naga Guardian
    name= _ "Naga Guardian"
    race=naga
    image="units/nagas/guardian.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=38
    movement_type=naga
    movement=5
    [resistance]
        blade=90
        pierce=90
        impact=90
    [/resistance]
    experience=35
    level=1
    alignment=neutral
    advanceto=Naga Warden
    undead_variation=swimmer
    cost=16
    usage=fighter
    unit_description= _ "These heavy fighters are the elite guards of the naga. They are slower and more heavily armored than most naga and wield huge maces which they use to crush their enemies. They mostly guard naga outposts, but occasionally participate in offensive raids."
    die_sound=naga-die.ogg
    [defend]
        [frame]
            begin=-200
            end=-150
            image="units/nagas/guardian-defend-1.png"
        [/frame]
        [frame]
            begin=-150
            end=-100
            image="units/nagas/guardian-defend-2.png"
        [/frame]
        [frame]
            begin=-100
            end=-50
            image="units/nagas/guardian-defend-3.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                begin=-50
                end=0
                image="units/nagas/guardian-defend-4.png"
                sound={SOUND_LIST:NAGA_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                begin=-50
                end=0
                image="units/nagas/guardian-defend-4.png"
            [/frame]
        [/else]
        [frame]
            begin=0
            end=50
            image="units/nagas/guardian-defend-5.png"
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/nagas/guardian-defend-4.png"
        [/frame]
        [frame]
            begin=100
            end=150
            image="units/nagas/guardian-defend-3.png"
        [/frame]
        [frame]
            begin=150
            end=200
            image="units/nagas/guardian-defend-2.png"
        [/frame]
        [frame]
            begin=200
            end=225
            image="units/nagas/guardian-defend-1.png"
        [/frame]
    [/defend]
    [attack]
        name=mace
        description= _"mace"
        type=impact
        range=melee
        damage=7
        number=3
    [/attack]
    [attack_anim]
        [attack_filter]
            name=mace
        [/attack_filter]
        [if]
            hits=yes
            [frame]
                sound=mace.wav
                begin=-100
                end=100
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                sound={SOUND_LIST:MISS}
                begin=-100
                end=100
            [/frame]
        [/else]
    [/attack_anim]
[/unit]
