#textdomain wesnoth-units
[unit_type]
    id=Mage of Light
    name= _ "Mage of Light"
    race=human
    gender=male,female
    image="units/human-magi/white-cleric.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    profile="portraits/humans/mage-light.png"
    halo=halo/illuminates-aura.png
    hitpoints=47
    movement_type=smallfoot
    movement=5
    experience=150
    level=3
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    cost=64
    usage=healer
    description= _ "After years of experience, the most devout of white magi develop vast spiritual powers. By strict devotion to the path of the light, they can call upon its aid to chase away the shadows of the night.

Following a strict code of piety and honor, these men and women work tirelessly to bring life and order to the troubled world in which they live."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_ARCANE}+{SPECIAL_NOTES_CURES}+{SPECIAL_NOTES_ILLUMINATES}
    die_sound={SOUND_LIST:HUMAN_OLD_DIE}
    {DEFENSE_ANIM "units/human-magi/white-cleric-defend.png" "units/human-magi/white-cleric.png" {SOUND_LIST:HUMAN_OLD_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/humans/transparent/mage-light.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/humans/transparent/mage-light.png"
    [/portrait]
    [abilities]
        {ABILITY_ILLUMINATES}
        {ABILITY_CURES}
    [/abilities]
    [resistance]
        arcane=40
    [/resistance]
    [healing_anim]
        start_time=-525
        [frame]
            image="units/human-magi/white-cleric-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/human-magi/white-cleric-magic-3.png"
            halo=halo/holy/halo[6,1~6].png:75
        [/frame]
        [frame]
            image="units/human-magi/white-cleric-magic-[2,1].png:75"
        [/frame]
    [/healing_anim]
    [attack]
        name=morning star
        description=_"morning star"
        type=impact
        range=melee
        damage=7
        number=3
        icon=attacks/morning-star.png
    [/attack]
    [attack]
        name=lightbeam
        description=_"lightbeam"	# wmllint: no spellcheck (until name->id)
        type=arcane
        range=ranged
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=12
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=lightbeam
        [/filter_attack]
        {MISSILE_FRAME_LIGHT_BEAM}

        start_time=-395
        [frame]
            image="units/human-magi/white-cleric-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/human-magi/white-cleric-magic-3.png"
            halo=halo/holy/halo[6,1,3,5,6].png:[75*4,50]
        [/frame]
        {SOUND:HIT_AND_MISS {SOUND_LIST:HOLY} {SOUND_LIST:HOLY_MISS} -75}
        [frame]
            image="units/human-magi/white-cleric-magic-[2,1].png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=morning star
        [/filter_attack]

        start_time=-200
        {SOUND:HIT_AND_MISS flail.ogg flail-miss.ogg -200}
        [frame]
            image="units/human-magi/white-cleric-magic-3.png:25"
        [/frame]
        [frame]
            image="units/human-magi/white-cleric-mace-[1~4].png:[75*3,100]"
        [/frame]
    [/attack_anim]
    [female]
        name= _ "female^Mage of Light"
        gender=female
        image="units/human-magi/white-cleric+female.png"
        profile="portraits/humans/mage-light+female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/human-magi/white-cleric+female-defend.png" "units/human-magi/white-cleric+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [portrait]
            size=400
            side="left"
            mirror="false"
            image="portraits/humans/transparent/mage-light+female.png"
        [/portrait]
        [portrait]
            size=400
            side="right"
            mirror="true"
            image="portraits/humans/transparent/mage-light+female.png"
        [/portrait]
        [healing_anim]
            [frame]
                image="units/human-magi/white-cleric+female-magic-[1,2].png:75"
            [/frame]
            [frame]
                image="units/human-magi/white-cleric+female-magic-3.png"
            [/frame]
            [frame]
                image="units/human-magi/white-cleric+female-magic-[2,1].png:75"
            [/frame]
        [/healing_anim]
        [attack_anim]
            [filter_attack]
                name=lightbeam
            [/filter_attack]
            {MISSILE_FRAME_LIGHT_BEAM}
            [frame]
                image="units/human-magi/white-cleric+female-magic-[1,2].png:75"
            [/frame]
            [frame]
                image="units/human-magi/white-cleric+female-magic-3.png"
            [/frame]
            [frame]
                image="units/human-magi/white-cleric+female-magic-[2,1].png:50"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=morning star
            [/filter_attack]
            [frame]
                image="units/human-magi/white-cleric+female-magic-3.png:25"
            [/frame]
            [frame]
                image="units/human-magi/white-cleric+female-mace-[1~4].png:[75*3,100]"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]
