actor BatFamiliar 3107
{
spawnid 236
	//$Category "ZDoom Monster pack"
    Health 10
    Radius 12
    Height 24
    Speed 14
    PainChance 200
    accuracy -1 // Never make it champion.
    MONSTER 
    +NOGRAVITY
    +FLOAT
	Species "DemonSide"
    SeeSound "batfam/idle"
    PainSound "batfam/pain"
    DeathSound "batfam/death"
    ActiveSound "batfam/idle"
    MeleeSound "batfam/idle"
    HitObituary "%o was scratched by a bat familiar"
    MISSILEHEIGHT 0
    MeleeDamage 1
	
    States
    {
    Spawn:
        BFAM ABCB 3 A_Look
        Loop
    See:
        BFAM ABCB 3 A_Chase
        Loop
    Melee:
        BFAM A 3 A_FaceTarget
        BFAM B 3 A_MeleeAttack
        BFAM CB 3 A_FaceTarget
        Goto See
    Pain:
        BFAM A 2
        BFAM A 2 A_Pain
        Goto See
		
    Death:
        BFAM D 0 A_Die
        BFAM D 0 A_NoBlocking 
        BFAM D 5 A_Scream
        BFAM E 5
        BFAM FDEF 5
        Goto Death+5
    Crash:
		BFAM G 0 A_SetFloorClip
        BFAM G 6 A_PlaySound("batfam/crash")
        BFAM H 7
        BFAM I 8
        BFAM J 1
        Stop
    }
}