actor LowerImpBall : DoomImpBall
{
    Scale 0.65
    Translation "173:191=192:207", "231:233=80:95", "208:223=80:95"
    Damage (random(1, 3) * 5)
}

actor ImpEncounter1 : HDoomMonster replaces DoomImp
{
	Health 60
	Radius 20
	Height 56
	Mass 100
	Speed 8
	PainChance 200
	HitObituary "$OB_IMPHIT"
	Obituary "$OB_IMP"
    SeeSound "impse/see"
    PainSound "impse/hurt"
    DeathSound "impse/faint"
	+FLOORCLIP
    States
    {
	Spawn:
        TROO AB 10 A_Look
        loop
    See:
        TROO AABBCCDD 3 A_Chase
        loop
    Melee:
    Missile:
        TROO EE 8 A_FaceTarget
        TROO F 6 A_CustomMissile("LowerImpBall", 32, 0)
        goto See
    Pain:
        TROO G 2
        TROO G 2 A_Pain
        goto See
    Faint:
        TROO I 8
        TROO J 8 A_Scream
        TROO K 6 A_NoBlocking
        TROO LMNO 6
        TROO KP 5
        TROO Q -1
        stop
    }
}

actor ImpEncounter2 : ImpEncounter1 replaces Zombieman
{
    Health 30
    DropItem "Clip"
    +MISSILEMORE
    +MISSILEEVENMORE
    States
    {
    Spawn:
        PTRO AB 10 A_Look
        loop
    See:
        PTRO AABBCCDD 3 A_Chase
        loop
    Melee:
    Missile:
        PTRO EE 8 A_FaceTarget
        PTRO F 6 A_CustomMissile("LowerImpBall", 32, 0)
        goto See
    Pain:
        PTRO G 2
        PTRO G 2 A_Pain
        goto See
	Faint:
        PTRO I 8
        PTRO J 8 A_Scream
        PTRO K 6 A_NoBlocking
        PTRO LMNO 6
        PTRO KP 5
        PTRO Q -1
        stop
    }
}

actor ImpEncounter3 : ImpEncounter1 replaces ShotgunGuy
{
    Health 40
    DropItem "Shell"
    PainChance 170
    +MISSILEMORE
    +MISSILEEVENMORE
    States
    {
    Spawn:
        STRO AB 10 A_Look
        loop
    See:
        STRO AABBCCDD 3 A_Chase
        loop
    Melee:
    Missile:
        STRO EE 8 A_FaceTarget
        TNT1 A 0 A_CustomMissile("LowerImpBall", 32, 0, -22)
        TNT1 A 0 A_CustomMissile("LowerImpBall", 32, 0, 22)
        STRO F 6 A_CustomMissile("LowerImpBall", 32, 0)
        goto See
    Pain:
        STRO G 2
        STRO G 2 A_Pain
        goto See
    Faint:
        STRO I 8
        STRO J 8 A_Scream
        STRO K 6 A_NoBlocking
        STRO LMNO 6
        STRO KP 5
        STRO Q -1
        stop
    }
}

actor ImpEncounter4 : ImpEncounter1 replaces ChaingunGuy
{
    Health 80
    DropItem "Clip", 2
    PainChance 170
    +MISSILEMORE
    +MISSILEEVENMORE
    States
    {
    Spawn:
        CTRO AB 10 A_Look
        loop
    See:
        CTRO AABBCCDD 3 A_Chase
        loop
    Melee:
    Missile:
        CTRO EE 8 A_FaceTarget
        CTRO F 6 A_CustomMissile("LowerImpBall", 32, 0)
        TNT1 A 0 A_CPosRefire
        goto Missile+1
    Pain:
        CTRO G 2
        CTRO G 2 A_Pain
        goto See
    Faint:
        CTRO I 8
        CTRO J 8 A_Scream
        CTRO K 6 A_NoBlocking
        CTRO LMNO 6
        CTRO KP 5
        CTRO Q -1
        stop
    }
}
