#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Hellion
    name= _ "Hellion"
    race=demon
    gender=male,female
    image="units/demons/fiend/hellion.png"
    profile="portraits/demons/demon-berserker.png"
    hitpoints=60
    movement_type=demonfoot
    movement=5
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=61
    usage=mixed fighter
    description= _ "Unlike their lesser cousins, those dubbed 'Hellion' throw all caution to the winds when engaged in combat - whether by blade or by fire, the target of a Hellion's assault is locked in a duel to the death. Often times, the presence of just one of these demons is enough to break through enemy lines and plunge a battle into disarray, though the Hellions thrive most once the fight has already devolved into chaos and after ordered lines have been broken."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons/fiend/hellion-defend.png" "units/demons/fiend/hellion-defend.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=ragemelee
        description= _ "rage"
        type=blade
        range=melee
        damage=14
        number=3
        icon=attacks/axe-undead.png
        [specials]
            {WEAPON_SPECIAL_BERSERK}
        [/specials]
    [/attack]
    [attack]
        name=rageranged
        description= _ "rage"
        type=fire
        range=ranged
        damage=14
        number=3
        icon=attacks/fireball.png
        [specials]
            {WEAPON_SPECIAL_BERSERK}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=ragemelee
        [/filter_attack]
        start_time=-400
        [frame]
            image="units/demons/fiend/hellion-attack1.png:200"
        [/frame]
        [frame]
            image="units/demons/fiend/hellion-melee2.png:100"
        [/frame]
        [frame]
            image="units/demons/fiend/hellion-melee3.png:75"
        [/frame]
        [if]
            hits=yes
            [frame]
                image="units/demons/fiend/hellion-melee4.png:50"
                sound=axe.ogg
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-melee4.png:150"
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                image="units/demons/fiend/hellion-melee4.png:200"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            image="units/demons/fiend/hellion-melee3.png:50"
        [/frame]
        [frame]
            image="units/demons/fiend/hellion.png:100"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=rageranged
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}
        start_time=-450
        [frame]
            image="units/demons/fiend/hellion-attack1.png:75"
        [/frame]
        [frame]
            image="units/demons/fiend/hellion-ranged2.png:75"
        [/frame]
        [frame]
            image="units/demons/fiend/hellion-ranged3.png:75"
        [/frame]
        [frame]
            image="units/demons/fiend/hellion-ranged3.png:175"
            sound=fire.wav
        [/frame]
        [frame]
            image="units/demons/fiend/hellion-attack1.png:50"
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Hellion"
        gender=female
        image="units/demons/fiend/hellion-female.png"
        profile="portraits/demons/demon-berserker-female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons/fiend/hellion-female-defend.png" "units/demons/fiend/hellion-female-defend.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=ragemelee
            [/filter_attack]
            start_time=-400
            [frame]
                image="units/demons/fiend/hellion-female-attack1.png:200"
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female-melee2.png:100"
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female-melee3.png:75"
            [/frame]
            [if]
                hits=yes
                [frame]
                    image="units/demons/fiend/hellion-female-melee4.png:50"
                    sound=axe.ogg
                [/frame]
                [frame]
                    image="units/demons/fiend/hellion-female-melee4.png:150"
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    image="units/demons/fiend/hellion-female-melee4.png:200"
                    sound={SOUND_LIST:MISS}
                [/frame]
            [/else]
            [frame]
                image="units/demons/fiend/hellion-female-melee3.png:50"
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female.png:100"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=rageranged
            [/filter_attack]
            {MISSILE_FRAME_FIREBALL_XY -11 20}
            start_time=-450
            [frame]
                image="units/demons/fiend/hellion-female-attack1.png:75"
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female-ranged2.png:75"
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female-ranged3.png:75"
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female-ranged3.png:175"
                sound=fire.wav
            [/frame]
            [frame]
                image="units/demons/fiend/hellion-female-attack1.png:50"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Harbinger
    name= _ "Harbinger"
    race=demon
    gender=female
    image="units/demons/harbinger.png"
    hitpoints=71
    movement_type=demonfoot
    movement=6
    experience=200
    level=4
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=110
    usage=mixed fighter
    [resistance]
        blade=80
        pierce=80
        impact=80
        cold=100
        fire=10
        arcane=80
    [/resistance]
    description= _ "The counterpart to the Stromguarde caste, the Harbingers are powerful offensive combatants, usually used as special strike forces to destroy crucial enemy bases and supply lines. Their special ability, often referred to as 'Scorched Earth' by their enemies, is fitting of its name - anything that the Harbingers' power touches is razed to the ground, be it terrain, fortification, or living being alike. The same power is channeled into their blades, which burn more than they cut, inflicting unimaginable agony on those that are not outright killed by the Harbingers' attacks."
    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    {DEFENSE_ANIM "units/demons/harbinger.png" "units/demons/harbinger.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
    [abilities]
        {ABILITY_BLITZ}
    [/abilities]
    [attack]
        name=ebony brand
        description= _ "ebony brand"
        type=fire
        range=melee
        damage=14
        number=4
        icon=attacks/battleaxe-undead.png
    [/attack]
    [attack]
        name=scorched earth
        description= _ "scorched earth"
        type=fire
        range=ranged
        damage=21
        number=2
        icon=attacks/lightning.png
        [specials]
            {WEAPON_SPECIAL_SCORCHED_EARTH}
        [/specials]
    [/attack]

    {SCORCHED_EARTH 10 3}
    {BLITZ}

    [attack_anim]
        [filter_attack]
            name=ebony brand
        [/filter_attack]
        start_time=-250
        [frame]
            duration=150
            image="units/demons/harbinger.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/demons/harbinger.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/demons/harbinger.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=75
            image="units/demons/harbinger.png"
        [/frame]
    [/attack_anim]
#define HARBINGER_LIGHTNING DIRECTION_NUMBER
    [attack_anim]
        [filter_attack]
            name=scorched earth
        [/filter_attack]

        {LIGHTNING_BOLT {DIRECTION_NUMBER} }

        start_time=-300
        {SOUND:HIT_AND_MISS lightning.ogg lightning-miss.ogg -300}
        [frame]
             image="units/demons/harbinger.png"
        [/frame]
    [/attack_anim]
#enddef

    {HARBINGER_LIGHTNING 1}
    {HARBINGER_LIGHTNING 2}
    {HARBINGER_LIGHTNING 3}
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Stromguarde
    name= _ "Demon Stromguarde"
    race=demon
    gender=male,female
    image="units/demons/stromguarde.png"
    profile="portraits/demons/demon-stromguarde.png"
    hitpoints=83
    movement_type=demonfoot
    movement=5
    experience=200
    level=4
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=110
    usage=mixed fighter
    [resistance]
        blade=70
        pierce=70
        impact=70
        cold=120
        fire=100
        arcane=120
    [/resistance]
    description= _ "The Stromguarde caste is responsible for keeping order on Ethea and is comprised of demons who specialize in neutralizing magic. Unlike regular Urdemons, the Stromguardes are capable of channeling focused ambient energy, redirecting any sorcery targeted at them into their rune-enhanced blades. Stromguardes are rarely the aggressors in battle and do not see much combat, since most of the lesser demons and younger demon lords respect them based on reputation alone. Of course, this is a well-founded respect, for a brigade of Stromguardes have the knowledge and ability to nullify almost any threat - even powerful demon lords."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons/stromguarde.png" "units/demons/stromguarde.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=storm blade
        description= _ "storm blade"
        type=blade
        range=melee
        damage=12
        number=4
        icon=attacks/battleaxe-undead.png
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack]
        name=lightning
        description= _ "lightning"
        type=fire
        range=ranged
        damage=14
        number=4
        icon=attacks/lightning.png
    [/attack]
    [attack]
        name=black fire
        description= _ "black fire"
        type=arcane
        range=ranged
        damage=11
        number=3
        icon=attacks/faerie-fire.png
        [specials]
            {WEAPON_SPECIAL_SPELLBIND1}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=storm blade
        [/filter_attack]
        start_time=-250
        [frame]
            duration=150
            image="units/demons/stromguarde.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/demons/stromguarde.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/demons/stromguarde.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=75
            image="units/demons/stromguarde.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=black fire
        [/filter_attack]
        {MISSILE_FRAME_FAERIE_FIRE}
        start_time=-450
        {SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
        [frame]
            image="units/demons/stromguarde.png"
        [/frame]
    [/attack_anim]
#define STROMGUARDE_LIGHTNING DIRECTION_NUMBER
    [attack_anim]
        [filter_attack]
            name=lightning
        [/filter_attack]

        {LIGHTNING_BOLT {DIRECTION_NUMBER} }

        start_time=-300
        {SOUND:HIT_AND_MISS lightning.ogg lightning-miss.ogg -300}
        [frame]
             image="units/demons/stromguarde.png"
        [/frame]
    [/attack_anim]
#enddef

    {STROMGUARDE_LIGHTNING 1}
    {STROMGUARDE_LIGHTNING 2}
    {STROMGUARDE_LIGHTNING 3}

    [female]
        name= _ "female^Demoness Stromguarde"
        gender=female
        image="units/demons/stromguarde-female.png"
        profile=
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons/stromguarde-female.png" "units/demons/stromguarde-female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=storm blade
            [/filter_attack]
            [frame]
                image="units/demons/stromguarde-female.png"
            [/frame]
            [if]
                hits=yes
                [frame]
                    image="units/demons/stromguarde-female.png"
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    image="units/demons/stromguarde-female.png"
                [/frame]
            [/else]
            [frame]
                duration=75
                image="units/demons/stromguarde-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=black fire
            [/filter_attack]
            {MISSILE_FRAME_FAERIE_FIRE}
            [frame]
                image="units/demons/stromguarde-female.png"
            [/frame]
        [/attack_anim]
#define STROMGUARDE_FEMALE_LIGHTNING DIRECTION_NUMBER
        [attack_anim]
            [filter_attack]
                name=lightning
            [/filter_attack]

            {LIGHTNING_BOLT {DIRECTION_NUMBER} }

            [frame]
                 image="units/demons/stromguarde-female.png"
            [/frame]
        [/attack_anim]
#enddef

        {STROMGUARDE_FEMALE_LIGHTNING 1}
        {STROMGUARDE_FEMALE_LIGHTNING 2}
        {STROMGUARDE_FEMALE_LIGHTNING 3}
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Bladestorm
    name= _ "Demon Bladestorm"
    race=demon
    gender=male,female
    image="units/demons/fighter/bladestorm.png"
    profile="portraits/demons/demon-bladestorm.png"
    hitpoints=59
    movement_type=demonfoot
    movement=6
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=63
    usage=fighter
    [resistance]
        cold=70
        fire=60
    [/resistance]
    description= _ "In appearance alone, the only obvious distinguishing feature between these demons and their lesser cousins is the blackened color of their armor. Physically, they are slight of form, not much larger than the average human. They are not possessed of great raw strength, no more than those of other regular demons, nor are they capable of harnessing their inner energies to produce gouts of flame and ice, like their other kin. It is because of this that these demons are often underestimated by their foes. This, of course, is a fatal mistake to make, for what these demons lack in brute power, they make up for in blinding speed and agility, cutting apart their enemies before any chance of retaliation is possible."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons/fighter/bladestorm.png" "units/demons/fighter/bladestorm.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=bladestorm
        description= _ "bladestorm"
        type=fire
        range=melee
        damage=9
        number=7
        icon=attacks/axe-undead.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=bladestorm
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/demons/fighter/bladestorm.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/demons/fighter/bladestorm.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/demons/fighter/bladestorm.png"
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Demoness Bladestorm"
        gender=female
        image="units/demons/fighter/bladestorm-female.png"
        profile="portraits/demons/fighter/demon-bladestorm-female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons/fighter/bladestorm-female.png" "units/demons/fighter/bladestorm-female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=bladestorm
            [/filter_attack]
            [if]
                [frame]
                    image="units/demons/fighter/bladestorm-female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/demons/fighter/bladestorm-female.png"
                [/frame]
            [/else]
            [frame]
                image="units/demons/fighter/bladestorm-female.png"
            [/frame]
        [/attack_anim]

    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon
    name= _ "Demon"
    race=demon
    gender=male,female
    image="units/demons-other/demon.png"
    hitpoints=33
    movement_type=demonfoot
    movement=5
    experience=38
    level=1
    alignment=chaotic
#ifdef CAMPAIGN_GENESIS_EPISODE_I
    advances_to=Demon Grunt,Demon Sword Dancer
#endif
    cost=15
    usage=mixed fighter
    description= _ "Of the many species of demons, the subspecies known as 'Urdemons' are perhaps the most versatile. These demons primarily exist on Ethea under the sovereignty of Uria, where they usually coexist peacefully with humans. However, when motivated to fight, even the weakest Urdemons are capable of devastating destruction with minimal armament. As a race of great physical prowess and innate energy, it would be unwise to cross the Urdemons in battle without proper preparation."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons-other/demon-defend.png" "units/demons-other/demon-defend.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=axe
        description= _ "axe"
        icon="attacks/axe-deathblade.png"
        type=blade
        range=melee
        damage=6
        number=3
    [/attack]
    [attack]
        name=fireball
        description= _ "fireball"
        type=fire
        range=ranged
        damage=6
        number=3
        icon="attacks/fireball.png"
    [/attack]

    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        start_time=-400
        [frame]
            image="units/demons-other/demon-attack[1~3].png:25"
        [/frame]
        [frame]
            image="units/demons-other/demon-melee1.png:50"
        [/frame]
        [frame]
            image="units/demons-other/demon-melee2.png:225"
        [/frame]
        [if]
            hits=yes
            [frame]
                image="units/demons-other/demon-melee3.png:50"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                image="units/demons-other/demon-melee3.png:50"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            image="units/demons-other/demon-melee4.png:150"
        [/frame]
        [frame]
            image="units/demons-other/demon-attack1.png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}
        start_time=-400
        [frame]
            image="units/demons-other/demon-attack1.png:100"
        [/frame]
        [frame]
            image="units/demons-other/demon-attack[2~3].png:50"
        [/frame]
        [frame]
            image="units/demons-other/demon-ranged1.png:50"
            sound=fire.wav
        [/frame]
        [frame]
            image="units/demons-other/demon-ranged2.png:200"
        [/frame]
        [frame]
            image="units/demons-other/demon-ranged1.png:50"
        [/frame]
        [frame]
            image="units/demons-other/demon-attack[3~2].png:50"
        [/frame]
        [frame]
            image="units/demons-other/demon.png:50"
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Demoness"
        gender=female
        image="units/demons-other/demoness.png"
#ifdef CAMPAIGN_GENESIS_EPISODE_I
        advances_to=Demon Grunt,Demon Sword Dancer
#endif
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons-other/demoness-defend.png" "units/demons-other/demoness-defend.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=axe
            [/filter_attack]
            start_time=-400
            [frame]
                image="units/demons-other/demoness-attack[1~3].png:25"
            [/frame]
            [frame]
                image="units/demons-other/demoness-melee1.png:50"
            [/frame]
            [frame]
                image="units/demons-other/demoness-melee2.png:225"
            [/frame]
            [if]
                hits=yes
                [frame]
                    image="units/demons-other/demoness-melee3.png:50"
                    sound=axe.ogg
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    image="units/demons-other/demoness-melee3.png:50"
                    sound={SOUND_LIST:MISS}
                [/frame]
            [/else]
            [frame]
                image="units/demons-other/demoness-melee4.png:150"
            [/frame]
            [frame]
                image="units/demons-other/demoness-attack1.png:50"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=fireball
            [/filter_attack]
            {MISSILE_FRAME_FIREBALL_XY -11 20}
            start_time=-400
            [frame]
                image="units/demons-other/demoness-attack1.png:100"
            [/frame]
            [frame]
                image="units/demons-other/demoness-attack[2~3].png:50"
            [/frame]
            [frame]
                image="units/demons-other/demoness-ranged1.png:50"
                sound=fire.wav
            [/frame]
            [frame]
                image="units/demons-other/demoness-ranged2.png:200"
            [/frame]
            [frame]
                image="units/demons-other/demoness-ranged1.png:50"
            [/frame]
            [frame]
                image="units/demons-other/demoness-attack[3~2].png:50"
            [/frame]
            [frame]
                image="units/demons-other/demoness.png:50"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Grunt
    name= _ "Demon Grunt"
    race=demon
    gender=male,female
    image="units/demons-other/grunt.png"
    hitpoints=50
    movement_type=demonfoot
    movement=5
    experience=105
    level=2
    alignment=chaotic
    advances_to=Demon Warrior
    cost=32
    usage=mixed fighter
    [resistance]
        blade=80
        impact=90
        cold=90
    [/resistance]
    description= _ "The Urdemons possess a higher degree of adaptability compared to other subspecies of demons, allowing them to learn new tricks from other demons, faeries, or even humans. Some demons use their natural versatility to transform the very nature of their inner power, from a scorching fire into a searing cold. In this process, they also augment their natural resilience and physical prowess, becoming warriors capable of killing with remarkable efficiency."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons-other/grunt.png" "units/demons-other/grunt.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=axe
        description= _ "axe"
        type=blade
        range=melee
        damage=9
        number=3
        icon=attacks/axe-undead.png
    [/attack]
    [attack]
        name=infernal chill
        description= _ "infernal chill"
        type=cold
        range=ranged
        damage=9
        number=3
        icon=attacks/iceball.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        start_time=-100
        [if]
            hits=yes
            [frame]
                duration=200
                #image="units/demons-other/grunt-attack1.png"
                image="units/demons-other/grunt.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                #image="units/demons-other/grunt-attack1.png"
                image="units/demons-other/grunt.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            #image="units/demons-other/grunt-attack2.png"
            image="units/demons-other/grunt.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=infernal chill
        [/filter_attack]
        start_time=-300
        {MISSILE_FRAME_INFERNAL_CHILL}
        [frame]
            duration=50
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-1.png
        [/frame]
        [frame]
            duration=60
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-2.png
            sound=magicmissile.wav
        [/frame]
        [frame]
            duration=70
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-3.png
        [/frame]
        [frame]
            duration=80
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-4.png
        [/frame]
        [frame]
            duration=90
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-5.png
        [/frame]
        [frame]
            duration=100
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-6.png
        [/frame]
        [frame]
            duration=100
            image="units/demons-other/grunt.png"
            halo=halo/saurian-magic-halo-7.png
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Demoness Grunt"
        gender=female
        image="units/demons-other/grunt+female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons-other/grunt+female.png" "units/demons-other/grunt+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=axe
            [/filter_attack]
            [if]
                [frame]
                    #image="units/demons-other/grunt+female-attack1.png"
                    image="units/demons-other/grunt+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image="units/demons-other/grunt+female-attack1.png"
                    image="units/demons-other/grunt+female.png"
                [/frame]
            [/else]
            [frame]
                #image="units/demons-other/grunt+female-attack2.png"
                image="units/demons-other/grunt+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=infernal chill
            [/filter_attack]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
            [frame]
                image="units/demons-other/grunt+female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Sword Dancer
    name= _ "Demon Sword Dancer"
    race=demon
    gender=male,female
    image="units/demons/fighter/sword-dancer.png"
    profile="portraits/demons/demon-sworddancer.png"
    hitpoints=46
    movement_type=demonfoot
    movement=6
    experience=90
    level=2
    alignment=chaotic
    advances_to=Demon Bladestorm
    cost=32
    usage=fighter
    [resistance]
        cold=90
        fire=80
    [/resistance]
    description= _ "Versatility, physical prowess and inner energy - like their mistress, Uria, the Urdemons possess all in vast abundance. Some choose to focus on the former, adopting the myriad abilities of both friend and foe to their advantage. Others focus on the latter two, combining speed, agility, and innate energy simultaneously into a powerful sword technique that burns as it cuts and kills in the blink of an eye."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons/fighter/sword-dancer.png" "units/demons/fighter/sword-dancer.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=fire blade
        description= _ "fire blade"
        type=fire
        range=melee
        damage=8
        number=5
        icon=attacks/axe-undead.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=fire blade
        [/filter_attack]
        start_time=-100
        [if]
            hits=yes
            [frame]
                duration=200
                #image="units/demons/fighter/grunt-attack1.png"
                image="units/demons/fighter/sword-dancer.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                #image="units/demons/fighter/grunt-attack1.png"
                image="units/demons/fighter/sword-dancer.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            #image="units/demons/fighter/grunt-attack2.png"
            image="units/demons/fighter/sword-dancer.png"
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Demoness Sword Dancer"
        gender=female
        image="units/demons/fighter/sword-dancer-female.png"
        profile="portraits/demons/fighter/demon-sworddancer-female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons/fighter/sword-dancer-female.png" "units/demons/fighter/sword-dancer-female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=fire blade
            [/filter_attack]
            [if]
                [frame]
                    #image="units/demons/fighter/grunt+female-attack1.png"
                    image="units/demons/fighter/sword-dancer-female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image="units/demons/fighter/grunt+female-attack1.png"
                    image="units/demons/fighter/sword-dancer-female.png"
                [/frame]
            [/else]
            [frame]
                #image="units/demons/fighter/grunt+female-attack2.png"
                image="units/demons/fighter/sword-dancer-female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Warrior
    name= _ "Demon Warrior"
    race=demon
    gender=male,female
    image="units/demons-other/warrior.png"
    hitpoints=66
    movement_type=demonfoot
    movement=5
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=60
    usage=mixed fighter
    [resistance]
        blade=80
        pierce=90
        impact=80
        cold=90
    [/resistance]
    description= _ "Among regular demons, there exist those that are born with an unnatural share of power compared to the rest of their brethren. When encountered by other races, these demons are often mistaken for lesser demon lords, despite the innate differences between the regular demons and most of their sovereigns. For one thing, no regular demon possesses the ability to wield true magic, though at times, the skill with which they channel their own energies may provide a suitable replacement. For another, the very nature of their powers are different. Even the most powerful of regular demons rely on their own physical prowess and individual strength, whereas true demon lords are masters of their surroundings and of other beings, rather than of themselves. Still, the fact that a regular demon that has grown powerful enough to be compared to a demon lord is a frightening opponent to face, to say the least."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/demons-other/warrior.png" "units/demons-other/warrior.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=axe
        description= _ "axe"
        type=blade
        range=melee
        damage=10
        number=4
        icon=attacks/axe-undead.png
    [/attack]
    [attack]
        name=infernal chill
        description= _ "infernal chill"
        type=cold
        range=ranged
        damage=10
        number=4
        icon=attacks/iceball.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/demons-other/warrior.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/demons-other/warrior.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/demons-other/warrior.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=infernal chill
        [/filter_attack]
        {MISSILE_FRAME_INFERNAL_CHILL}
        [frame]
            begin=-300
            end=-250
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-1.png
        [/frame]
        [frame]
            begin=-250
            end=-190
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-2.png
            sound=magicmissile.wav
        [/frame]
        [frame]
            begin=-190
            end=-120
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-3.png
        [/frame]
        [frame]
            begin=-120
            end=-40
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-4.png
        [/frame]
        [frame]
            begin=-40
            end=50
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-5.png
        [/frame]
        [frame]
            begin=50
            end=150
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-6.png
        [/frame]
        [frame]
            begin=150
            end=250
            image="units/demons-other/warrior.png"
            halo=halo/saurian-magic-halo-7.png
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Demoness Warrior"
        gender=female
        image="units/demons-other/warrior+female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/demons-other/warrior+female.png" "units/demons-other/warrior+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=axe
            [/filter_attack]
            [if]
                [frame]
                    image="units/demons-other/warrior+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/demons-other/warrior+female.png"
                [/frame]
            [/else]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=infernal chill
            [/filter_attack]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
            [frame]
                image="units/demons-other/warrior+female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Diviner
    name= _ "Diviner"
    race=demon
    gender=female
    image="units/demons/hybrid/diviner.png"
    hitpoints=61
    movement_type=demonfly
    movement=6
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=80
    usage=scout
    description= _ "There is no information available about this class of beings at this time."
    {DEFENSE_ANIM "units/demons/hybrid/diviner.png" "units/demons/hybrid/diviner.png" wail.wav }
    die_sound=lich-die.ogg
    [resistance]
        blade=90
        pierce=90
        impact=90
        fire=70
        cold=90
        arcane=30
    [/resistance]
    [attack]
        name=claws
        description=_"claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
        damage=11
        number=3
    [/attack]
    [attack]
        name=celestial star
        description= _ "celestial star"
        type=arcane
        range=ranged
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=14
        number=4
        icon=attacks/lightbeam.png
    [/attack]
    [attack]
        name=noctum
        description= _ "noctum"
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_CHAOS}
        [/specials]
        damage=19
        number=3
        icon=attacks/noctum.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                #image="units/demons/hybrid/demon-winged-attack1.png"
                image="units/demons/hybrid/diviner.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                #image="units/demons/hybrid/demon-winged-attack1.png"
                image="units/demons/hybrid/diviner.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            #image="units/demons/hybrid/demon-winged-attack2.png"
            image="units/demons/hybrid/diviner.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=celestial star
        [/filter_attack]
        {MISSILE_FRAME_LIGHT_BEAM}

        start_time=-395
        [frame]
            image="units/demons/hybrid/diviner.png:75"
        [/frame]
        [frame]
            image="units/demons/hybrid/diviner.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/demons/hybrid/diviner.png:50"
        [/frame]
    [/attack_anim]

#define DIVINER_NOCTUM_ANIMATION _N1 _N2
    [attack_anim]
        [filter_attack]
            name=noctum
        [/filter_attack]
        start_time=-400

        offset=0.0

        beam_auto_vflip=no
        beam_start_time=-400
        beam_offset=1.0
        beam_halo_y=20

        beam_halo_mod="~O(0.8)"

        [beam_frame]
            halo="halo/darkness-beam-[1~7,6~1].png:[30*6,130,70*6]"
        [/beam_frame]

        bolt1_auto_vflip=no
        bolt1_start_time=-175
        bolt1_offset=1.0
        bolt1_halo_y=-125
        bolt1_halo_mod="~R(120)"

        [bolt1_frame]
            halo="halo/lightning-bolt-"+{_N1}+"-3.png:100,halo/lightning-bolt-"+{_N1}+"-4.png:100"
        [/bolt1_frame]

        bolt2_auto_vflip=no
        bolt2_start_time=-100
        bolt2_offset=1.0
        bolt2_halo_y=-125
        bolt2_halo_mod="~R(120)"

        [bolt2_frame]
            halo="halo/lightning-bolt-"+{_N2}+"-4.png:100,halo/lightning-bolt-"+{_N2}+"-4.png~O(0.5):100"
        [/bolt2_frame]

        {SOUND:HIT_AND_MISS lightning.ogg lightning-miss.ogg -175}

        [frame]
            duration=600
        [/frame]
    [/attack_anim]
#enddef

    {DIVINER_NOCTUM_ANIMATION 1 2}
    {DIVINER_NOCTUM_ANIMATION 2 1}
    {DIVINER_NOCTUM_ANIMATION 2 3}
    {DIVINER_NOCTUM_ANIMATION 3 2}
    {DIVINER_NOCTUM_ANIMATION 1 3}
    {DIVINER_NOCTUM_ANIMATION 3 1}
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Lamia
    name= _ "Lamia"
    race=demon
    gender=female
    image="units/demons/hybrid/lamia.png"
    hitpoints=73
    movement_type=demonfly
    movement=7
    experience=200
    level=4
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=120
    usage=scout
    description= _ "There is no information available about this class of beings at this time."
    {DEFENSE_ANIM "units/demons/hybrid/lamia.png" "units/demons/hybrid/lamia.png" wail.wav }
    die_sound=lich-die.ogg
    [abilities]
        {ABILITY_DECOMPOSITION}
    [/abilities]
    [resistance]
        blade=90
        pierce=90
        impact=90
        fire=60
        cold=70
        arcane=10
    [/resistance]
    [attack]
        name=claws
        description=_"claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
        damage=16
        number=3
    [/attack]
    [attack]
        name=celestial star
        description= _ "celestial star"
        type=arcane
        range=ranged
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=17
        number=4
        icon=attacks/lightbeam.png
    [/attack]
    [attack]
        name=noctum
        description= _ "noctum"
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_CHAOS}
        [/specials]
        damage=24
        number=3
        icon=attacks/noctum.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/demons/hybrid/lamia.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/demons/hybrid/lamia.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/demons/hybrid/lamia.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=celestial star
        [/filter_attack]
        {MISSILE_FRAME_LIGHT_BEAM}

        start_time=-395
        [frame]
            image="units/demons/hybrid/lamia.png:75"
        [/frame]
        [frame]
            image="units/demons/hybrid/lamia.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/demons/hybrid/lamia.png:50"
        [/frame]
    [/attack_anim]

#define LAMIA_NOCTUM_ANIMATION _N1 _N2
    [attack_anim]
        [filter_attack]
            name=noctum
        [/filter_attack]
        start_time=-400

        offset=0.0

        beam_auto_vflip=no
        beam_start_time=-400
        beam_offset=1.0
        beam_halo_y=20

        beam_halo_mod="~O(0.8)"

        [beam_frame]
            halo="halo/darkness-beam-[1~7,6~1].png:[30*6,130,70*6]"
        [/beam_frame]

        bolt1_auto_vflip=no
        bolt1_start_time=-175
        bolt1_offset=1.0
        bolt1_halo_y=-125
        bolt1_halo_mod="~R(120)"

        [bolt1_frame]
            halo="halo/lightning-bolt-"+{_N1}+"-3.png:100,halo/lightning-bolt-"+{_N1}+"-4.png:100"
        [/bolt1_frame]

        bolt2_auto_vflip=no
        bolt2_start_time=-100
        bolt2_offset=1.0
        bolt2_halo_y=-125
        bolt2_halo_mod="~R(120)"

        [bolt2_frame]
            halo="halo/lightning-bolt-"+{_N2}+"-4.png:100,halo/lightning-bolt-"+{_N2}+"-4.png~O(0.5):100"
        [/bolt2_frame]

        {SOUND:HIT_AND_MISS lightning.ogg lightning-miss.ogg -175}

        [frame]
            duration=600
        [/frame]
    [/attack_anim]
#enddef

    {LAMIA_NOCTUM_ANIMATION 1 2}
    {LAMIA_NOCTUM_ANIMATION 2 1}
    {LAMIA_NOCTUM_ANIMATION 2 3}
    {LAMIA_NOCTUM_ANIMATION 3 2}
    {LAMIA_NOCTUM_ANIMATION 1 3}
    {LAMIA_NOCTUM_ANIMATION 3 1}
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Fire Demon
    name= _ "Fire Demon"
    race=demon
    gender=male,female
    image="units/demons/red/fire.png"
    profile="portraits/demons/demon-fire.png"
    hitpoints=44
    movement_type=demonfoot
    movement=5
    experience=120
    level=2
    alignment=chaotic
    advances_to=Inferno Demon
    cost=34
    usage=archer
    [resistance]
        fire=60
    [/resistance]
    description= _ "Although inherently related to true Fire Demons in nature, Urdemons who have mastered fire often take on a more brutal appearance mirroring the bestial nature of Valdemons, the demons of water. These demons have the frenetic temperament of the inferno itself and the power to match, although their weakness in melee combat makes them susceptible if cornered in close quarters. Their true power shines in large assaults, where both front and flank are well-guarded by their brethren and these demons are free to exude fire at will. In large enough numbers, groups of so-called 'Fire Demons' are capable of razing vast areas within moments, be they occupied by opposing armies or fortified by stone and magic."
    die_sound=drake-die.ogg
    [attack]
        name=claws
        description= _ "claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
        damage=6
        number=2
    [/attack]
    [attack]
        name=fireball
        description= _ "fireball"
        type=fire
        range=ranged
        damage=10
        number=4
        icon=attacks/fireball.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        start_time=-450
        offset=0.0~1.0:450,1.0~0.0:250
        [frame]
            image="units/demons/red/fire-melee1.png:100"
        [/frame]
        [frame]
            image="units/demons/red/fire-melee2.png:100"
        [/frame]
        [frame]
            image="units/demons/red/fire-melee3.png:50"
        [/frame]
        [frame]
            image="units/demons/red/fire-melee4.png:175"
        [/frame]
        [frame]
            image="units/demons/red/fire-melee5.png:25"
        [/frame]
        {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
        [frame]
            image="units/demons/red/fire-melee5.png:150"
        [/frame]
        [frame]
            image="units/demons/red/fire-melee6.png:100"
        [/frame]
        [frame]
            image="units/demons/red/fire.png:10"
        [/frame]
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}
        start_time=-550
        [frame]
            image="units/demons/red/fire-ranged1.png:350"
        [/frame]
        [frame]
            image="units/demons/red/fire-ranged2.png:100"
            sound=fire.wav
        [/frame]
        [frame]
            image="units/demons/red/fire-ranged3.png:150"
        [/frame]
    [/attack_anim]
    [defend]
        start_time=-200
        [if]
            hits=hit
            offset=0.0~-0.05:200,-0.05~0.0:200

            hit_sound_start_time=-25
            [hit_sound_frame]
                sound={SOUND_LIST:DRAKE_HIT}
            [/hit_sound_frame]
        [/if]
        [else]
            hits=kill
            offset=0.0~-0.05:200,-0.05~0.0:200
        [/else]
        [else]
            hits=miss
            offset=0.0~-0.1:200,-0.1~0.0:200
        [/else]
        [frame]
            image=units/demons/red/fire.png:1,units/demons/red/fire-defend.png:250,units/demons/red/fire.png:250
        [/frame]
    [/defend]
    [female]
        name= _ "female^Fire Demoness"
        gender=female
        image="units/demons/red/fire-female.png"
        profile="portraits/demons/demon-fire-female.png"
        die_sound=drake-die.ogg
        [attack_anim]
            [filter_attack]
                name=claws
            [/filter_attack]
            start_time=-450
            offset=0.0~1.0:450,1.0~0.0:250
            [frame]
                image="units/demons/red/fire-female-melee1.png:100"
            [/frame]
            [frame]
                image="units/demons/red/fire-female-melee2.png:100"
            [/frame]
            [frame]
                image="units/demons/red/fire-female-melee3.png:50"
            [/frame]
            [frame]
                image="units/demons/red/fire-female-melee4.png:175"
            [/frame]
            [frame]
                image="units/demons/red/fire-female-melee5.png:25"
            [/frame]
            {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
            [frame]
                image="units/demons/red/fire-female-melee5.png:150"
            [/frame]
            [frame]
                image="units/demons/red/fire-female-melee6.png:100"
            [/frame]
            [frame]
                image="units/demons/red/fire-female.png:10"
            [/frame]
        [/attack_anim]

        [attack_anim]
            [filter_attack]
                name=fireball
            [/filter_attack]
            {MISSILE_FRAME_FIREBALL_XY -11 20}
            start_time=-550
            [frame]
                image="units/demons/red/fire-female-ranged1.png:350"
            [/frame]
            [frame]
                image="units/demons/red/fire-female-ranged2.png:100"
                sound=fire.wav
            [/frame]
            [frame]
                image="units/demons/red/fire-female-ranged3.png:150"
            [/frame]
        [/attack_anim]
        [defend]
            start_time=-200
            [if]
                hits=hit
                offset=0.0~-0.05:200,-0.05~0.0:200

                hit_sound_start_time=-25
                [hit_sound_frame]
                    sound={SOUND_LIST:DRAKE_HIT}
                [/hit_sound_frame]
            [/if]
            [else]
                hits=kill
                offset=0.0~-0.05:200,-0.05~0.0:200
            [/else]
            [else]
                hits=miss
                offset=0.0~-0.1:200,-0.1~0.0:200
            [/else]
            [frame]
                image=units/demons/red/fire-female.png:1,units/demons/red/fire-female-defend.png:250,units/demons/red/fire-female.png:250
            [/frame]
        [/defend]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Inferno Demon
    name= _ "Inferno Demon"
    race=demon
    gender=male,female
    image="units/demons/red/inferno.png"
    profile="portraits/demons/demon-inferno.png"
    hitpoints=57
    movement_type=demonfoot
    movement=5
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=65
    usage=archer
    [resistance]
        fire=40
    [/resistance]
    description= _ "Aptly named, Inferno Demons embody the destructive aspect of fire to its fullest extent. Possessed of incredible natural energy, the power of these demons is so great that it seeps through their physical bodies, forming cracks in their very flesh and blood. Pure energy passively emerges from these fissures, usually taking the form of vast swaths of flame that burn all that they touch to ash - without even conscious effort from these warriors. When actively roused to battle, the Inferno Demons are an impetuous force that cannot be defended against by normal means. Most ordinary opponents have only the choices of either making a rapid retreat or charging forward to engage these demons in melee combat, where they become much easier to best."
    die_sound=drake-die.ogg
    [attack]
        name=claws
        description= _ "claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
        damage=8
        number=2
    [/attack]
    [attack]
        name=inferno
        description= _ "inferno"
        type=fire
        range=ranged
        damage=12
        number=5
        icon=attacks/fireball.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        start_time=-400
        offset=0.0~1.0:400,1.0~0.0:225
        [frame]
            image="units/demons/red/inferno-melee1.png:100"
        [/frame]
        [frame]
            image="units/demons/red/inferno-melee2.png:100"
        [/frame]
        [frame]
            image="units/demons/red/inferno-melee3.png:125"
        [/frame]
        [frame]
            image="units/demons/red/inferno-melee4.png:75"
        [/frame]
        {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
        [frame]
            image="units/demons/red/inferno-melee4.png:125"
        [/frame]
        [frame]
            image="units/demons/red/inferno-melee5.png:100"
        [/frame]
        [frame]
            image="units/demons/red/inferno.png:10"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=inferno
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}
        start_time=-550
        [frame]
            image="units/demons/red/inferno-ranged1.png:250"
        [/frame]
        [frame]
            image="units/demons/red/inferno.png:100"
        [/frame]
        [frame]
            image="units/demons/red/inferno.png:50"
            sound=fire.wav
        [/frame]
        [frame]
            image="units/demons/red/inferno-ranged2.png:150"
        [/frame]
    [/attack_anim]
    [defend]
        start_time=-200
        [if]
            hits=hit
            offset=0.0~-0.05:200,-0.05~0.0:200

            hit_sound_start_time=-25
            [hit_sound_frame]
                sound={SOUND_LIST:DRAKE_HIT}
            [/hit_sound_frame]
        [/if]
        [else]
            hits=kill
            offset=0.0~-0.05:200,-0.05~0.0:200
        [/else]
        [else]
            hits=miss
            offset=0.0~-0.1:200,-0.1~0.0:200
        [/else]
        [frame]
            image=units/demons/red/inferno.png:1,units/demons/red/inferno-defend.png:250,units/demons/red/inferno.png:250
        [/frame]
    [/defend]
    [female]
        name= _ "female^Inferno Demoness"
        gender=female
        image="units/demons/red/inferno-female.png"
        profile="portraits/demons/demon-inferno-female.png"
        die_sound=drake-die.ogg
        [attack_anim]
            [filter_attack]
                name=claws
            [/filter_attack]
            start_time=-400
            offset=0.0~1.0:400,1.0~0.0:225
            [frame]
                image="units/demons/red/inferno-female-melee1.png:100"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female-melee2.png:100"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female-melee3.png:125"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female-melee4.png:75"
            [/frame]
            {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
            [frame]
                image="units/demons/red/inferno-female-melee4.png:125"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female-melee5.png:100"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female.png:10"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=inferno
            [/filter_attack]
            {MISSILE_FRAME_FIREBALL_XY -11 20}
            start_time=-550
            [frame]
                image="units/demons/red/inferno-female-ranged1.png:250"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female.png:100"
            [/frame]
            [frame]
                image="units/demons/red/inferno-female.png:50"
                sound=fire.wav
            [/frame]
            [frame]
                image="units/demons/red/inferno-female-ranged2.png:150"
            [/frame]
        [/attack_anim]
        [defend]
            start_time=-200
            [if]
                hits=hit
                offset=0.0~-0.05:200,-0.05~0.0:200

                hit_sound_start_time=-25
                [hit_sound_frame]
                    sound={SOUND_LIST:DRAKE_HIT}
                [/hit_sound_frame]
            [/if]
            [else]
                hits=kill
                offset=0.0~-0.05:200,-0.05~0.0:200
            [/else]
            [else]
                hits=miss
                offset=0.0~-0.1:200,-0.1~0.0:200
            [/else]
            [frame]
                image=units/demons/red/inferno-female.png:1,units/demons/red/inferno-female-defend.png:250,units/demons/red/inferno-female.png:250
            [/frame]
        [/defend]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Red Demon
    name= _ "Red Demon"
    race=demon
    gender=male,female
    image="units/demons/red/red.png"
    profile="portraits/demons/demon-red.png"
    hitpoints=31
    movement_type=demonfoot
    movement=5
    experience=45
    level=1
    alignment=chaotic
    advances_to=Fire Demon
    cost=17
    usage=archer
    description= _ "A cross between a Urdemon and a true Fire Demon, these so-called 'Red Demons' trade physical might for mastery of fire. The intense flame that they produce can burn straight through stone and armor, and is certainly capable of burning a human to ashes in mere moments. Prolonged use of this ability burns even their own skin, turning it to the characteristic ashen color that other demons know them by."
    die_sound=drake-die.ogg
    {DEFENSE_ANIM "units/demons/red/red-defend.png" "units/demons/red/red.png" {SOUND_LIST:DRAKE_HIT} }
    [resistance]
        fire=80
    [/resistance]
    [attack]
        name=claws
        description= _ "claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
        damage=4
        number=2
    [/attack]
    [attack]
        name=fireball
        description= _ "fireball"
        type=fire
        range=ranged
        damage=9
        number=3
        icon=attacks/fireball.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        start_time=-450
        offset=0.0~1.0:450,1.0~0.0:250
        [frame]
            image="units/demons/red/red-melee1.png:100"
        [/frame]
        [frame]
            image="units/demons/red/red-melee2.png:125"
        [/frame]
        [frame]
            image="units/demons/red/red-melee3.png:150"
        [/frame]
        [frame]
            image="units/demons/red/red-melee4.png:75"
        [/frame]
        {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
        [frame]
            image="units/demons/red/red-melee4.png:150"
        [/frame]
        [frame]
            image="units/demons/red/red-melee5.png:100"
        [/frame]
        [frame]
            image="units/demons/red/red.png:10"
        [/frame]
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}
        start_time=-400
        [frame]
            image="units/demons/red/red-ranged1.png:200"
        [/frame]
        [frame]
            image="units/demons/red/red-ranged2.png:200"
            sound=fire.wav
        [/frame]
        [frame]
            image="units/demons/red/red-ranged3.png:200"
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Red Demoness"
        gender=female
        image="units/demons/red/red-female.png"
        profile="portraits/demons/demon-red-female.png"
        die_sound=drake-die.ogg
        {DEFENSE_ANIM "units/demons/red/red-female-defend.png" "units/demons/red/red-female.png" {SOUND_LIST:DRAKE_HIT} }
        [attack_anim]
            [filter_attack]
                name=claws
            [/filter_attack]
            start_time=-450
            offset=0.0~1.0:450,1.0~0.0:250
            [frame]
                image="units/demons/red/red-female-melee1.png:100"
            [/frame]
            [frame]
                image="units/demons/red/red-female-melee2.png:125"
            [/frame]
            [frame]
                image="units/demons/red/red-female-melee3.png:150"
            [/frame]
            [frame]
                image="units/demons/red/red-female-melee4.png:75"
            [/frame]
            {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
            [frame]
                image="units/demons/red/red-female-melee4.png:150"
            [/frame]
            [frame]
                image="units/demons/red/red-female-melee5.png:100"
            [/frame]
            [frame]
                image="units/demons/red/red-female.png:10"
            [/frame]
        [/attack_anim]

        [attack_anim]
            [filter_attack]
                name=fireball
            [/filter_attack]
            {MISSILE_FRAME_FIREBALL_XY -11 20}
            start_time=-400
            [frame]
                image="units/demons/red/red-female-ranged1.png:200"
            [/frame]
            [frame]
                image="units/demons/red/red-female-ranged2.png:200"
                sound=fire.wav
            [/frame]
            [frame]
                image="units/demons/red/red-female-ranged3.png:200"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Void Devourer
    name= _ "Void Devourer"
    race=demon
    gender=male
	{TRAIT_UNDEAD}
    image="units/demons/void/devourer.png"
    hitpoints=48
    movement_type=voiddemon
    movement=5
    experience=150
    level=-3
    alignment=chaotic
    advances_to=null
	{AMLA_DEFAULT}
    cost=50
    usage=scout
    description= _ "There is no information available about this class of beings at this time."
    {DEFENSE_ANIM "units/demons/void/devourer.png" "units/demons/void/devourer.png" {SOUND_LIST:LICH_HIT} }
    die_sound=lich-die.ogg
    [abilities]
		{ABILITY_GNS_INVISIBILITY}
		{ABILITY_DEVOUR}
    [/abilities]
    [attack]
        name=consume
        description=_"consume"
        icon=attacks/wail.png
        type=blade
        range=melee
		[specials]
			{WEAPON_SPECIAL_DRAIN}
        [/specials]
        damage=10
        number=3
	[/attack]
    [attack]
        name=devourer void assault
        description=_"void assault"
        icon=attacks/hellbent-tide.png
        type=cold
        range=ranged
        damage=0
        number=11
		[specials]
			{WEAPON_SPECIAL_ABEYANCE2}
        [/specials]
		attack_weight=1
    [/attack]
	{ABEYANCE "devourer void assault" 3}
	{ESSENCE_DEVOURING}
    [attack_anim]
        [filter_attack]
            name=consume
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/demons/void/devourer.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/demons/void/devourer.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/demons/void/devourer.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=devourer void assault
        [/filter_attack]

        {MISSILE_FRAME_SHADOW_WAVE}

        start_time=-350
        [frame]
            duration=100
            image="units/demons/void/devourer.png"
            sound=shaxthal-energy-prelude.ogg
        [/frame]
        [frame]
            duration=300
            image="units/demons/void/devourer.png"
            sound=shaxthal-energy-fire.ogg
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Void Shambler
    name= _ "Void Shambler"
    race=demon
    gender=male
	{TRAIT_UNDEAD}
    image="units/demons/void/shambler.png"
    hitpoints=31
    movement_type=voiddemon
    movement=4
    experience=50
    level=-1
    alignment=chaotic
    advances_to=null
	{AMLA_DEFAULT}
    cost=15
    usage=scout
    description= _ "There is no information available about this class of beings at this time."
    {DEFENSE_ANIM "units/demons/void/shambler.png" "units/demons/void/shambler.png" {SOUND_LIST:LICH_HIT} }
    die_sound=lich-die.ogg
    [abilities]
		{ABILITY_GNS_INVISIBILITY}
    [/abilities]
    [attack]
        name=claws
        description=_"claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
        damage=6
        number=3
	[/attack]
    [attack]
        name=shambler void assault
        description=_"void assault"
        icon=attacks/hellbent-tide.png
        type=cold
        range=ranged
        damage=0
        number=5
		[specials]
			{WEAPON_SPECIAL_ABEYANCE2}
        [/specials]
		attack_weight=1
    [/attack]
	{ABEYANCE "shambler void assault" 3}
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/demons/void/shambler.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/demons/void/shambler.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/demons/void/shambler.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=shambler void assault
        [/filter_attack]

        {MISSILE_FRAME_SHADOW_WAVE}

        start_time=-350
        [frame]
            duration=100
            image="units/demons/void/shambler.png"
            sound=shaxthal-energy-prelude.ogg
        [/frame]
        [frame]
            duration=300
            image="units/demons/void/shambler.png"
            sound=shaxthal-energy-fire.ogg
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Void Stalker
    name= _ "Void Stalker"
    race=demon
    gender=female
	{TRAIT_UNDEAD}
    image="units/demons/void/stalker.png"
    hitpoints=37
    movement_type=voiddemon
    movement=7
    experience=100
    level=-2
    alignment=chaotic
    advances_to=null
	{AMLA_DEFAULT}
    cost=15
    usage=scout
    description= _ "There is no information available about this class of beings at this time."
    {DEFENSE_ANIM "units/demons/void/stalker.png" "units/demons/void/stalker.png" {SOUND_LIST:LICH_HIT} }
    die_sound=lich-die.ogg
    [abilities]
		{ABILITY_GNS_INVISIBILITY}
		{ABILITY_SKIRMISHER}
    [/abilities]
    [attack]
        name=claws
        description=_"claws"
        icon=attacks/claws-undead.png
        type=blade
        range=melee
		[specials]
			{WEAPON_SPECIAL_BACKSTAB}
        [/specials]
        damage=6
        number=3
	[/attack]
    [attack]
        name=stalker void assault
        description=_"void assault"
        icon=attacks/hellbent-tide.png
        type=cold
        range=ranged
        damage=0
        number=6
		[specials]
			{WEAPON_SPECIAL_ABEYANCE2}
        [/specials]
		attack_weight=1
    [/attack]
	{ABEYANCE "stalker void assault" 3}
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/demons/void/stalker.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/demons/void/stalker.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/demons/void/stalker.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=stalker void assault
        [/filter_attack]

        {MISSILE_FRAME_SHADOW_WAVE}

        start_time=-350
        [frame]
            duration=100
            image="units/demons/void/stalker.png"
            sound=shaxthal-energy-prelude.ogg
        [/frame]
        [frame]
            duration=300
            image="units/demons/void/stalker.png"
            sound=shaxthal-energy-fire.ogg
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Apparition
    name= _ "Yuure Apparition"
    race=demon
    gender=male,female
    image="units/demons/blue/apparition-male.png"
    profile="portraits/demons/demon-apparition-male.png"
    hitpoints=33
    movement_type=demonfly
    movement=7
    experience=74
    level=2
    alignment=chaotic
    advances_to=Demon Nightmare
    cost=27
    usage=scout
    [abilities]
        {ABILITY_INCORPOREAL}
    [/abilities]
    description= _ "A demon of dreams can take on many forms - their very physical appearance can vary greatly from moment to moment, and at times, they do not even appear humanoid. Their strange resilience to physical damage is enhanced greatly, and especially in the world reams, they are nigh invulnerable to normal weaponry."
    die_sound=wail-long.wav
    [resistance]
        blade=40
        impact=40
        pierce=40
        cold=110
        fire=110
        arcane=120
    [/resistance]
    [attack]
        name=infest
        description= _ "infest"
        icon="attacks/wail.png"
        type=cold
        range=melee
        [specials]
            {WEAPON_SPECIAL_POISON}
        [/specials]
        damage=7
        number=3
    [/attack]
    [attack]
        name=hallucination
        description= _ "hallucination"
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
        damage=3
        number=4
        icon=attacks/iceball.png
    [/attack]
    [attack]
        name=terror
        description= _ "terror"
        type=blade
        range=ranged
        [specials]
            {WEAPON_SPECIAL_TERROR}
        [/specials]
        damage=6
        number=4
        icon=attacks/chakram.png
    [/attack]
    {GNS_INCORPOREAL "Demon Apparition"}
    [attack_anim]
        [filter_attack]
            name=infest
        [/filter_attack]
        start_time=-400
        offset=0.0~-0.2:200,-0.2~1.1:200,1.1~0.0:250
        [frame]
            image="units/demons/blue/apparition-male-melee[1~2].png:100"
        [/frame]
        [frame]
            image="units/demons/blue/apparition-male-melee3.png:50"
        [/frame]
        [frame]
            image="units/demons/blue/apparition-male-melee4.png:150"
            alpha=1~0:150
        [/frame]
        {SOUND:HIT_AND_MISS "magic-dark-big.ogg" "magic-dark-big-miss.ogg" -75}
        [frame]
            image="units/demons/blue/apparition-male-melee4.png:50"
            alpha=0:50
        [/frame]
        [frame]
            image="units/demons/blue/apparition-male-melee[4~3].png:50"
            alpha=0~1:100
        [/frame]
        [frame]
            image="units/demons/blue/apparition-male-melee1.png:100"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=hallucination
        [/filter_attack]
        {MISSILE_FRAME_ICE}
        start_time=-350
        [frame]
            image="units/demons/blue/apparition-male-ranged1.png:150"
        [/frame]
        [frame]
            image="units/demons/blue/apparition-male-ranged2.png:100"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=terror
        [/filter_attack]
        start_time=-350
        [missile_frame]
            duration=200
            image="projectiles/chakram.png"
            image_diagonal="projectiles/chakram.png"
        [/missile_frame]
        {SOUND:HIT_AND_MISS throwing-knife.ogg throwing-knife-miss.ogg -150}
        [frame]
            image="units/demons/blue/apparition-male-ranged1.png:150"
        [/frame]
        [frame]
            image="units/demons/blue/apparition-male-ranged2.png:100"
        [/frame]
    [/attack_anim]
    [defend]
        start_time=-126
        [if]
            hits=hit
            offset=0.0~-0.05:126,-0.05~0.0:126
            alpha=0.8~0.5:126,0.5~0.8:126

            hit_sound_start_time=-25
            [hit_sound_frame]
                sound=wail.wav
            [/hit_sound_frame]
        [/if]
        [else]
            hits=kill
            offset=0.0~-0.05:126,-0.05~0.0:126
            alpha=0.8~0.5:126,0.5~0.8:126
        [/else]
        [else]
            hits=miss
            offset=0.0~-0.1:126,-0.1~0.0:126
            alpha=0.8~0.25:126,0.25~0.8:126
        [/else]
        [frame]
            image=units/demons/blue/apparition-male.png:1,units/demons/blue/apparition-male-melee2.png:250,units/demons/blue/apparition-male.png:1
        [/frame]
    [/defend]
    [death]
        start_time=0
        [frame]
            image="units/demons/blue/apparition-male-die[1~5].png:100"
        [/frame]
        [frame]
            image="units/demons/blue/apparition-die[6~12].png:100"
            alpha=1.0~0.6
        [/frame]
        [frame]
            image="units/demons/blue/apparition-die[13~18].png:75"
            alpha=0.6~0.0
        [/frame]
        [frame]
            image="misc/blank-hex.png:10"
        [/frame]
    [/death]

    [female]
        name= _ "female^Yuure Apparition"
        gender=female
        image="units/demons/blue/apparition.png"
        profile="portraits/demons/demon-apparition.png"
        die_sound=wail-long.wav
        [attack_anim]
            [filter_attack]
                name=infest
            [/filter_attack]
            start_time=-400
            offset=0.0~-0.2:200,-0.2~1.1:200,1.1~0.0:250
            [frame]
                image="units/demons/blue/apparition-melee[1~2].png:100"
            [/frame]
            [frame]
                image="units/demons/blue/apparition-melee3.png:50"
            [/frame]
            [frame]
                image="units/demons/blue/apparition-melee4.png:150"
                alpha=1~0:150
            [/frame]
            {SOUND:HIT_AND_MISS "magic-dark-big.ogg" "magic-dark-big-miss.ogg" -75}
            [frame]
                image="units/demons/blue/apparition-melee4.png:50"
                alpha=0:50
            [/frame]
            [frame]
                image="units/demons/blue/apparition-melee[4~3].png:50"
                alpha=0~1:100
            [/frame]
            [frame]
                image="units/demons/blue/apparition-melee1.png:100"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=hallucination
            [/filter_attack]
            {MISSILE_FRAME_ICE}
            start_time=-350
            [frame]
                image="units/demons/blue/apparition-ranged1.png:150"
            [/frame]
            [frame]
                image="units/demons/blue/apparition-ranged2.png:100"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=terror
            [/filter_attack]
            start_time=-350
            [missile_frame]
                duration=200
                image="projectiles/chakram.png"
                image_diagonal="projectiles/chakram.png"
            [/missile_frame]
            {SOUND:HIT_AND_MISS throwing-knife.ogg throwing-knife-miss.ogg -150}
            [frame]
                image="units/demons/blue/apparition-ranged1.png:150"
            [/frame]
            [frame]
                image="units/demons/blue/apparition-ranged2.png:100"
            [/frame]
        [/attack_anim]
        [defend]
            start_time=-126
            [if]
                hits=hit
                offset=0.0~-0.05:126,-0.05~0.0:126
                alpha=0.8~0.5:126,0.5~0.8:126

                hit_sound_start_time=-25
                [hit_sound_frame]
                    sound=wail-sml.wav
                [/hit_sound_frame]
            [/if]
            [else]
                hits=kill
                offset=0.0~-0.05:126,-0.05~0.0:126
                alpha=0.8~0.5:126,0.5~0.8:126
            [/else]
            [else]
                hits=miss
                offset=0.0~-0.1:126,-0.1~0.0:126
                alpha=0.8~0.25:126,0.25~0.8:126
            [/else]
            [frame]
                image=units/demons/blue/apparition.png:1,units/demons/blue/apparition-melee2.png:250,units/demons/blue/apparition.png:1
            [/frame]
        [/defend]
        [death]
            start_time=0
            [frame]
                image="units/demons/blue/apparition-die[1~5].png:100"
            [/frame]
            [frame]
                image="units/demons/blue/apparition-die[6~12].png:100"
                alpha=1.0~0.6
            [/frame]
            [frame]
                image="units/demons/blue/apparition-die[13~18].png:75"
                alpha=0.6~0.0
            [/frame]
            [frame]
                image="misc/blank-hex.png:10"
            [/frame]
        [/death]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Blue Demon
    name= _ "Yuure Demon"
    race=demon
    gender=male,female
    image="units/demons/blue/blue-male.png"
    profile="portraits/demons/demon-blue-male.png"
    hitpoints=21
    movement_type=demonfoot
    movement=5
    experience=27
    level=1
    alignment=chaotic
    advances_to=Demon Dreamwalker,Demon Apparition
    cost=12
    usage=mixed fighter
    description= _ "Yuure demons are commonly 'found' on Yrathid, Siaria, and occasionally Norsula, the worlds of Darkness, Ice, and Water and are commonly associated with dreams and inner thought. Their existence is somewhat of an anathema to that of regular demons, as they are inherently magical creatures rather than ones possessed of high physical prowess. In fact, most Blue Demons cannot manifest themselves in the physical world without a source of energy to anchor themselves around - their true residence is in the realm of nightmares, where their rule is nearly absolute and reality bends to their will."
    die_sound=wail-long.wav
    [resistance]
        blade=70
        impact=70
        pierce=70
        cold=110
        fire=110
    [/resistance]
    [movement_costs]
        deep_water=2
        shallow_water=1
        frozen=1
    [/movement_costs]
    [defense]
        deep_water=60
        shallow_water=60
        frozen=50
    [/defense]
    [attack]
        name=infest
        description= _ "infest"
        icon="attacks/wail.png"
        type=cold
        range=melee
        [specials]
            {WEAPON_SPECIAL_POISON}
        [/specials]
        damage=3
        number=3
    [/attack]
    [attack]
        name=hallucination
        description= _ "hallucination"
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
        damage=3
        number=3
        icon=attacks/iceball.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=infest
        [/filter_attack]
        start_time=-300
        offset=0.0~1.2:300,1.5~0.0:450
        [frame]
            image="units/demons/blue/blue-male-melee.png:100"
            alpha=1~0:100
        [/frame]
        [frame]
            image="units/demons/blue/blue-male-melee.png:200"
            alpha=0:200
        [/frame]
        {SOUND:HIT_AND_MISS "magic-dark-big.ogg" "magic-dark-big-miss.ogg" -75}
        [frame]
            image="units/demons/blue/blue-male-melee.png:50"
            alpha=0:50
        [/frame]
        [frame]
            image="units/demons/blue/blue-male-melee.png:400"
            alpha=0~1:400
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=hallucination
        [/filter_attack]
        {MISSILE_FRAME_ICE}
        start_time=-350
        [frame]
            image="units/demons/blue/blue-male-ranged1.png:150"
        [/frame]
        [frame]
            image="units/demons/blue/blue-male-ranged2.png:100"
        [/frame]
    [/attack_anim]
    [defend]
        start_time=-126
        [if]
            hits=hit
            offset=0.0~-0.05:126,-0.05~0.0:126
            alpha=0.8~0.5:126,0.5~0.8:126

            hit_sound_start_time=-25
            [hit_sound_frame]
                sound=wail.wav
            [/hit_sound_frame]
        [/if]
        [else]
            hits=kill
            offset=0.0~-0.05:126,-0.05~0.0:126
            alpha=0.8~0.5:126,0.5~0.8:126
        [/else]
        [else]
            hits=miss
            offset=0.0~-0.1:126,-0.1~0.0:126
            alpha=0.8~0.25:126,0.25~0.8:126
        [/else]
        [frame]
            image=units/demons/blue/blue-male.png:1,units/demons/blue/blue-male-ranged1.png:250,units/demons/blue/blue-male.png:1
        [/frame]
    [/defend]
    [death]
        start_time=0
        [frame]
            image="units/demons/blue/blue-male-ranged1.png:50"
        [/frame]
        [frame]
            image="units/demons/blue/blue-male-die[1~5].png:150"
            alpha=1.0~0.5
        [/frame]
        [frame]
            image="units/demons/blue/blue-die[6~10].png:150"
            alpha=0.5~0.0
        [/frame]
        [frame]
            image="misc/blank-hex.png:10"
        [/frame]
    [/death]
    [female]
        name= _ "female^Yuure Demoness"
        gender=female
        image="units/demons/blue/blue.png"
        profile="portraits/demons/demon-blue.png"
        die_sound=wail-long.wav
        [defend]
            start_time=-126
            [if]
                hits=hit
                offset=0.0~-0.05:126,-0.05~0.0:126
                alpha=0.8~0.5:126,0.5~0.8:126

                hit_sound_start_time=-25
                [hit_sound_frame]
                    sound=wail-sml.wav
                [/hit_sound_frame]
            [/if]
            [else]
                hits=kill
                offset=0.0~-0.05:126,-0.05~0.0:126
                alpha=0.8~0.5:126,0.5~0.8:126
            [/else]
            [else]
                hits=miss
                offset=0.0~-0.1:126,-0.1~0.0:126
                alpha=0.8~0.25:126,0.25~0.8:126
            [/else]
            [frame]
                image=units/demons/blue/blue.png:1,units/demons/blue/blue-ranged1.png:250,units/demons/blue/blue.png:1
            [/frame]
        [/defend]
        [death]
            start_time=0
            [frame]
                image="units/demons/blue/blue-ranged1.png:50"
            [/frame]
            [frame]
                image="units/demons/blue/blue-die[1~5].png:150"
                alpha=1.0~0.5
            [/frame]
            [frame]
                image="units/demons/blue/blue-die[6~10].png:150"
                alpha=0.5~0.0
            [/frame]
            [frame]
                image="misc/blank-hex.png:10"
            [/frame]
        [/death]
        [attack_anim]
            [filter_attack]
                name=infest
            [/filter_attack]
            offset=0.0~1.2:300,1.5~0.0:450
            start_time=-300
            [frame]
                image="units/demons/blue/blue-melee.png:100"
                alpha=1~0:100
            [/frame]
            [frame]
                image="units/demons/blue/blue-melee.png:200"
                alpha=0:200
            [/frame]
            {SOUND:HIT_AND_MISS "magic-dark-big.ogg" "magic-dark-big-miss.ogg" -75}
            [frame]
                image="units/demons/blue/blue-melee.png:50"
                alpha=0:50
            [/frame]
            [frame]
                image="units/demons/blue/blue-melee.png:400"
                alpha=0~1:400
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=hallucination
            [/filter_attack]
            [frame]
                image="units/demons/blue/blue-ranged1.png:150"
            [/frame]
            [frame]
                image="units/demons/blue/blue-ranged2.png:100"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Demon Dreamwalker
    name= _ "Yuure Dreamwalker"
    race=demon
    gender=male,female
    image="units/demons/blue/dreamwalker-male.png"
    profile="portraits/demons/demon-dreamwalker-male.png"
    hitpoints=36
    movement_type=demonfoot
    movement=6
    experience=70
    level=2
    alignment=chaotic
    advances_to=Demon Dreamweaver
    cost=27
    usage=mixed fighter
    [resistance]
        blade=50
        impact=50
        pierce=50
        cold=110
        fire=110
        arcane=90
    [/resistance]
    [movement_costs]
        deep_water=2
        shallow_water=1
        frozen=1
    [/movement_costs]
    [defense]
        deep_water=60
        shallow_water=60
        frozen=50
    [/defense]
    [abilities]
        {ABILITY_ENERVATE20}
    [/abilities]
    description= _ "Shifting between the physical world and that of dreams, those that walk the line between dimensions seem to manipulate reality itself. Dreamwalkers infect the dreams of their targets with nightmares, wearing them down through timeless sleep, where each moment becomes an eternity of illusion and surreal vision. The unrested mind grows more and more exhausted with each passing moment and eventually loses the ability to resist - all without the demon even needing to show itself."
    die_sound=wail-long.wav
    [attack]
        name=lacerate
        description= _ "lacerate"
        icon="attacks/claws-undead.png"
        type=blade
        range=melee
        [specials]
            {WEAPON_SPECIAL_POISON}
        [/specials]
        damage=4
        number=4
    [/attack]
    [attack]
        name=hallucination
        description= _ "hallucination"
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
        damage=5
        number=4
        icon=attacks/iceball.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=lacerate
        [/filter_attack]
        start_time=-600
        offset=0.0~1.2:600,1.2~0.0:350
        [frame]
            image="units/demons/blue/dreamwalker-male-melee1.png:150"
        [/frame]
        [frame]
            image="units/demons/blue/dreamwalker-male-melee2.png:300"
        [/frame]
        [frame]
            image="units/demons/blue/dreamwalker-male-melee3.png:50"
        [/frame]
        [frame]
            image="units/demons/blue/dreamwalker-male-melee4.png:100"
            alpha=1~0:100
        [/frame]
        {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
        [frame]
            image="units/demons/blue/dreamwalker-male-melee4.png:150"
            alpha=0~1:150
        [/frame]
        [frame]
            image="units/demons/blue/dreamwalker-male-melee5.png:200"
        [/frame]
        [frame]
            image="units/demons/blue/dreamwalker-male.png:10"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=hallucination
        [/filter_attack]
        start_time=-350
        {MISSILE_FRAME_INFERNAL_CHILL}
        [frame]
            duration=50
            image="units/demons/blue/dreamwalker-male-ranged1.png"
            halo=halo/saurian-magic-halo-1.png
        [/frame]
        [frame]
            duration=60
            image="units/demons/blue/dreamwalker-male-ranged2.png"
            halo=halo/saurian-magic-halo-2.png
            sound=magicmissile.wav
        [/frame]
        [frame]
            duration=70
            image="units/demons/blue/dreamwalker-male-ranged2.png"
            halo=halo/saurian-magic-halo-3.png
        [/frame]
        [frame]
            duration=80
            image="units/demons/blue/dreamwalker-male-ranged3.png"
            halo=halo/saurian-magic-halo-4.png
        [/frame]
        [frame]
            duration=90
            image="units/demons/blue/dreamwalker-male-ranged3.png"
            halo=halo/saurian-magic-halo-5.png
        [/frame]
        [frame]
            duration=100
            image="units/demons/blue/dreamwalker-male-ranged2.png"
            halo=halo/saurian-magic-halo-6.png
        [/frame]
        [frame]
            duration=100
            image="units/demons/blue/dreamwalker-male-ranged1.png"
            halo=halo/saurian-magic-halo-7.png
        [/frame]
    [/attack_anim]
    [defend]
        start_time=-200
        [if]
            hits=hit
            offset=0.0~-0.05:200,-0.05~0.0:200
            alpha=0.8~0.5:200,0.5~0.8:200

            hit_sound_start_time=-25
            [hit_sound_frame]
                sound=wail.wav
            [/hit_sound_frame]
        [/if]
        [else]
            hits=kill
            offset=0.0~-0.05:200,-0.05~0.0:200
            alpha=0.8~0.5:200,0.5~0.8:200
        [/else]
        [else]
            hits=miss
            offset=0.0~-0.1:200,-0.1~0.0:200
            alpha=0.8~0.25:200,0.25~0.8:200
        [/else]
        [frame]
            image=units/demons/blue/dreamwalker-male.png:1,units/demons/blue/dreamwalker-male-defend.png:325,units/demons/blue/dreamwalker-male.png:1
        [/frame]
    [/defend]
    [female]
        name= _ "female^Yuure Dreamwalker"
        gender=female
        image="units/demons/blue/dreamwalker.png"
        profile="portraits/demons/demon-dreamwalker.png"
        die_sound=wail-long.wav
        [attack_anim]
            [filter_attack]
                name=lacerate
            [/filter_attack]
            start_time=-600
            offset=0.0~1.2:600,1.2~0.0:350
            [frame]
                image="units/demons/blue/dreamwalker-melee1.png:150"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-melee2.png:300"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-melee3.png:50"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-melee4.png:100"
                alpha=1~0:100
            [/frame]
            {SOUND:HIT_AND_MISS "claws.ogg" {SOUND_LIST:MISS} -100}
            [frame]
                image="units/demons/blue/dreamwalker-melee4.png:150"
                alpha=0~1:150
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-melee5.png:200"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker.png:10"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=hallucination
            [/filter_attack]
            [frame]
                image="units/demons/blue/dreamwalker-ranged1.png"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-ranged2.png"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-ranged2.png"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-ranged3.png"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-ranged3.png"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-ranged2.png"
            [/frame]
            [frame]
                image="units/demons/blue/dreamwalker-ranged1.png"
            [/frame]
        [/attack_anim]
        [defend]
            start_time=-200
            [if]
                hits=hit
                offset=0.0~-0.05:200,-0.05~0.0:200
                alpha=0.8~0.5:200,0.5~0.8:200

                hit_sound_start_time=-25
                [hit_sound_frame]
                    sound=wail-sml.wav
                [/hit_sound_frame]
            [/if]
            [else]
                hits=kill
                offset=0.0~-0.05:200,-0.05~0.0:200
                alpha=0.8~0.5:200,0.5~0.8:200
            [/else]
            [else]
                hits=miss
                offset=0.0~-0.1:200,-0.1~0.0:200
                alpha=0.8~0.25:200,0.25~0.8:200
            [/else]
            [frame]
                image=units/demons/blue/dreamwalker.png:1,units/demons/blue/dreamwalker-defend.png:325,units/demons/blue/dreamwalker.png:1
            [/frame]
        [/defend]
    [/female]
[/unit_type]