#textdomain wesnoth-ei
[unit_type]
    id=Dacyn L2
    [base_unit]
        id=White Mage
    [/base_unit]
    advances_to=Dacyn L3

    image="units/dacyn/dacyn-L2.png"
    {DEFENSE_ANIM "units/dacyn/dacyn-L2-defend1.png" "units/dacyn/dacyn-L2-defend2.png" {SOUND_LIST:HUMAN_OLD_HIT} }
    [standing_anim]
        [frame]
            image="units/dacyn/dacyn-L2.png"
            halo=halo/elven/nature-halo[7~1].png~O(0.2):250
        [/frame]
    [/standing_anim]
    [healing_anim]
        start_time=-525
        [frame]
            image="units/dacyn/dacyn-L2-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/dacyn/dacyn-L2-magic-3.png"
            halo=halo/holy/halo[6,1~6].png:75
        [/frame]
        [frame]
            image="units/dacyn/dacyn-L2-magic-[2,1].png:75"
        [/frame]
    [/healing_anim]
    [idle_anim]
        {STANDARD_IDLE_FILTER}
        start_time=0
        [frame]
            image="units/dacyn/dacyn-L2.png"
        [/frame]
    [/idle_anim]
    [attack_anim]
        [filter_attack]
            name=lightbeam
        [/filter_attack]
        {MISSILE_FRAME_LIGHT_BEAM}

        start_time=-395
        [frame]
            image="units/dacyn/dacyn-L2-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/dacyn/dacyn-L2-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/dacyn/dacyn-L2-magic-[2,1].png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]
        start_time=-325
        [frame]
            image="units/dacyn/dacyn-L2.png:25"
        [/frame]
        [frame]
            image="units/dacyn/dacyn-L2-melee-[1~6].png:[100*2,150,100*3]"
        [/frame]
        {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
    [/attack_anim]

    [animation]
        apply_to=fake_attack
        start_time=-300
        [frame]
            duration=75
            image="units/dacyn/dacyn-L2-magic-1.png"
        [/frame]
        [frame]
            duration=75
            image="units/dacyn/dacyn-L2-magic-2.png"
        [/frame]
        [frame]
            duration=75
            image="units/dacyn/dacyn-L2-magic-3.png"
            halo=halo/holy/halo6.png
        [/frame]
        [frame]
            duration=75
            image="units/dacyn/dacyn-L2-magic-3.png"
            sound={SOUND_LIST:HOLY}
            halo=halo/holy/halo1.png
        [/frame]
        [frame]
            duration=200
            image="units/dacyn/dacyn-L2-magic-3.png"
            halo=halo/holy/halo[3,5,6].png:[75,75,50]
        [/frame]
        [frame]
            duration=50
            image="units/dacyn/dacyn-L2-magic-2.png"
        [/frame]
        [frame]
            duration=50
            image="units/dacyn/dacyn-L2-magic-1.png"
        [/frame]
    [/animation]
[/unit_type]
