Actor Clusterfucker 5466
{
	Radius 64
	Height 178
	Mass 500
	Health 3550
	Speed 12
	Gravity 0.010
    PainChance "Kick", 255
	Scale 0.7
	
	meleerange 190
	
	Monster
	
	+Boss
	
	+SOLID
	+JUMPDOWN
	+QUICKTORETALIATE
	+TELESTOMP
	+SLIDESONWALLS
	+DONTMORPH
	+PUSHABLE
	+NOFEAR
	+FOILINVUL
	+DONTSQUASH
	+Floatbob
	+NORADIUSDMG
	+MISSILEEVENMORE
	+Float
	+ForceXYBillboard
	+AvoidMelee
	+bossdeath
	
	MaxStepHeight 64
	MaxDropOffHeight 1024
	damagefactor "Cut", 0.1
	damagefactor "Blood", 0.0 damagefactor "BlueBlood", 0.0 damagefactor "GreenBlood", 0.0
	damagefactor "Avoid", 0.0
	
	HitObituary "%o wanted me to credit the people I stole these sprites from."
	Obituary "%o wanted to see all the details."

	SEESOUND "Cluster/Sight"
	ACTIVESOUND "none"
	DEATHSOUND "Cluster/Death"

	States
	{
	Spawn:		
		CFCK A 1 A_LOOK
		NULL A 0 A_Giveinventory("Charging",1)
		Loop
	See:
		TNT1 A 0 A_PlaySound("arachnophyte/engine")
		CFCK AAA 1 A_Chase
		NULL A 0 A_Recoil(-2)
		NULL A 0 A_FaceTarget(32)
		Loop
	Melee:
		CFCK A 1 A_Facetarget
		NULL A 0 A_Recoil(32)
		CFCK A 1 A_Facetarget
		Goto Missile
	Missile:
		NULL A 0 A_FaceTarget
		NULL A 0 A_Jump(256,"rocketshot","baronshot","Stomp")
	BaronShot:
		NULL AAAAAAA 0 A_Custommissile("Baronball",random(0,64),random(-64,64))
		Goto See
	RocketShot:
		NULL AAAAAAA 0 A_Custommissile("Rocket",random(0,64),random(-64,64))
		Goto See
	Stomp:
		CFCK AAAA 5 ThrustthingZ(0,64,0,0)
		CFCK A 10
		CFCK AAAA 1 ThrustThingZ(0,128,1,0)
	StompDown:
		CFCK A 1 ThrustThingZ(0,100,1,0)
		NULL A 0 A_JumpIf(z > floorz && velz != 0, "StompDown")
		Goto StompCrash
	StompCrash:
		CFCK A 1 A_Playsound("cyber/hoof",0,255,0,ATTN_NONE)
		NULL AAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_CustomMissile("Baronball", 16.0, 0, random (0, 360),CMF_TRACKOWNER|CMF_AIMDIRECTION, random (0, 10))
		NULL AAAAAAA 0 A_CustomMissile ("BoinkleBoom", 56.0, 0, random (0, 360),CMF_TRACKOWNER|CMF_AIMDIRECTION, random (-90, 315))
		TNT1 A 0 A_PlaySound("arachnophyte/engine")
		CFCK A 10
		TNT1 A 0 A_PlaySound("arachnophyte/engine")
		CFCK A 5 ThrustthingZ(0,32,0,1)	
		TNT1 A 0 A_PlaySound("arachnophyte/engine")
		Goto See
	Pain.kick:
		CFCK A 5 ThrustthingZ(0,64,0,1)
		Goto Ouchin
	Ouchin:
		CFCK A 5 
		NULL A 0 A_JumpIf(z > floorz && velz != 0, "Ouchin")
		Goto See
	Death:
		CFCK A 0 A_SetGravity(1.0)
		CFCK AAAAAAAAAAAA 1 A_CustomMissile ("BoinkleBoom", 56.0, 0, random (0, 360),CMF_TRACKOWNER|CMF_AIMDIRECTION, random (0, 315))
		CFCK A 1 A_Scream
		CFCK A 1 A_Bossdeath
		Goto Falling
	Falling:
		CFCK AAAAAAAAAAAA 1 A_CustomMissile ("BoinkleBoom", 56.0, 0, random (0, 360),CMF_TRACKOWNER|CMF_AIMDIRECTION, random (0, 315))
		NULL A 0 A_JumpIf(z > floorz && velz != 0, "Falling")
		TNT1 AAAAAAAAAAAAAAAAAA 0 A_CustomMissile ("BoinkleBoom", 56.0, 0, random (0, 360),CMF_TRACKOWNER|CMF_AIMDIRECTION, random (0, 315))
		Stop
	}
}