#macro to define most of Walking Corpse
#define UNIT_BODY_WALKING_CORPSE BASE_IMAGE MOVETYPE MOVES HP
id=Walking Corpse
name= _ "Walking Corpse"
race=undead
image="units/undead/{BASE_IMAGE}.png"
{MAGENTA_IS_THE_TEAM_COLOR}
ellipse="misc/ellipse-nozoc"
num_traits=2
{TRAIT_FEARLESS}
hitpoints={HP}
movement_type={MOVETYPE}
movement={MOVES}
level=0
experience=24
alignment=chaotic
advanceto=Soulless
cost=7
usage=fighter
unit_description= _ "Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one's former comrades amongst their number is frightening to say the least.

Special Notes:"+{SPECIAL_NOTES_PLAGUE}
die_sound={SOUND_LIST:ZOMBIE_WEAK_HIT}
{DEFENSE_ANIM "units/undead/{BASE_IMAGE}-defend.png" "units/undead/{BASE_IMAGE}.png" {SOUND_LIST:ZOMBIE_WEAK_HIT} }
[resistance]
    arcane=140
[/resistance]
[comment]
[death]
    [frame]
        begin=0
        end=200
        image="units/undead/{BASE_IMAGE}-die-1.png"
    [/frame]
    [frame]
        begin=200
        end=400
        image="units/undead/{BASE_IMAGE}-die-2.png"
    [/frame]
    [frame]
        begin=400
        end=600
        image="units/undead/{BASE_IMAGE}-die-3.png"
    [/frame]
[/death]
[/comment]
[attack]
    name=touch
    icon=attacks/touch-zombie.png
    type=impact
    range=melee
    damage=6
    number=2
    [specials]
        {WEAPON_SPECIAL_PLAGUE}
    [/specials]
    [animation]
        direction=se,sw,ne,nw
        [frame]
            begin=-200
            end=100
            image="units/undead/{BASE_IMAGE}-attack.png"
            sound=zombie-attack.wav
        [/frame]
    [/animation]
    [animation]
        direction=n
        [frame]
            begin=-200
            end=100
            image="units/undead/{BASE_IMAGE}-attack-n.png"
            sound=zombie-attack.wav
        [/frame]
    [/animation]
    [animation]
        direction=s
        [frame]
            begin=-200
            end=100
            image="units/undead/{BASE_IMAGE}-attack-s.png"
            sound=zombie-attack.wav
        [/frame]
    [/animation]
[/attack]
#enddef
[unit]
    {UNIT_BODY_WALKING_CORPSE zombie smallfoot 4 18}
    [movement_costs]
        deep_water=4
    [/movement_costs]
    [variation]
        variation_name=drake
        {UNIT_BODY_WALKING_CORPSE zombie-drake drakefoot 4 23}
        [movement_costs]
            deep_water=4
        [/movement_costs]
    [/variation]
    [variation]
        variation_name=swimmer
        {UNIT_BODY_WALKING_CORPSE zombie-swimmer swimmer 4 18}
        [movement_costs]
            forest=4
            hills=4
        [/movement_costs]
    [/variation]
    [variation]
        variation_name=troll
        {UNIT_BODY_WALKING_CORPSE zombie-troll largefoot 4 21}
        [movement_costs]
            deep_water=4
        [/movement_costs]
    [/variation]
    [variation]
        variation_name=wose
        {UNIT_BODY_WALKING_CORPSE zombie-wose treefolk 3 26}
        [movement_costs]
            deep_water=3
        [/movement_costs]
    [/variation]
    [variation]
        variation_name=saurian
        {UNIT_BODY_WALKING_CORPSE zombie-saurian lizard 4 16}
        [movement_costs]
            deep_water=4
        [/movement_costs]
    [/variation]
    [variation]
        variation_name=mounted
        {UNIT_BODY_WALKING_CORPSE zombie-mounted mounted 5 21}
        [movement_costs]
            deep_water=4
        [/movement_costs]
    [/variation]
    [variation]
        variation_name=dwarf
        {UNIT_BODY_WALKING_CORPSE zombie-dwarf dwarvishfoot 3 21}
        [movement_costs]
            deep_water=3
        [/movement_costs]
    [/variation]
[/unit]
#undef UNIT_BODY_WALKING_CORPSE
