#textdomain wesnoth-units
[unit_type]
    id=Troll Hero
    name= _ "Troll Hero"
    race=troll
    image="units/trolls/grunt.png"
    profile=portraits/trolls/troll.png
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=60
    movement_type=largefoot
    movement=5
    experience=52
    level=2
    alignment=chaotic
    advances_to=Great Troll
    undead_variation=troll
    cost=30
    description= _ "Some trolls are born with an exceptional share of the strength and vitality that characterizes their race. In a society where might makes right, those of their ilk revere them as heroes."+{SPECIAL_NOTES}+{SPECIAL_NOTES_REGENERATES}
    die_sound={SOUND_LIST:TROLL_DIE}
    usage=fighter
    [abilities]
        {ABILITY_REGENERATES}
    [/abilities]
    [attack]
        name=club
        description=_"club"
        type=impact
        range=melee
        damage=12
        number=3
    [/attack]
    {DEFENSE_ANIM "units/trolls/grunt-defend.png" "units/trolls/grunt.png" {SOUND_LIST:TROLL_HIT} }
    [attack_anim]
        [filter_attack]
            name=club
        [/filter_attack]
        start_time=-300
        [frame]
            duration=25
            image="units/trolls/grunt.png"
        [/frame]
        [frame]
            duration=75
            image="units/trolls/grunt-attack-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=75
                image="units/trolls/grunt-attack-2.png"
                sound=club.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=75
                image="units/trolls/grunt-attack-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=75
            image="units/trolls/grunt-attack-3.png"
        [/frame]
        [frame]
            duration=95
            image="units/trolls/grunt-attack-4.png"
        [/frame]
        [frame]
            duration=80
            image="units/trolls/grunt-attack-3.png"
        [/frame]
        [frame]
            duration=75
            image="units/trolls/grunt-defend.png"
        [/frame]
    [/attack_anim]
[/unit_type]
