//===========================================================================
//
// Mancubus
//
//===========================================================================
ACTOR Fatso2 replaces Fatso //67
{
	Game Doom
	SpawnID 112
	Health 600
	Radius 48
	Height 64
	Mass 1000
	Speed 8
	PainChance 80
	Monster
	+FLOORCLIP
	+BOSSDEATH
	SeeSound "fatso/sight"
	PainSound "fatso/pain"
	DeathSound "fatso/death"
	ActiveSound "fatso/active"
	Obituary "$OB_FATSO"
DropItem "DropSpawner5", 96
	DropItem "DeadClip7Inv", 148
	States
	{
	Spawn:
		FATT AB 15 A_Look
		Loop
	See:
		FATT AABBCCDDEEFF 4 A_Chase
		Loop
	Missile:
		FATT G 20 A_FatRaise
		FATT H 10 BRIGHT A_FatAttack1
		FATT IG 5
		FATT H 10 BRIGHT A_FatAttack2
		FATT IG 5
		FATT H 10 BRIGHT A_FatAttack3
		FATT IG 5
		Goto See
	Pain:
		FATT J 3
		FATT J 3 A_Pain
		Goto See

	Pain.FLASHBANGFREEZE:
TNT1 A 0 A_ChangeFlag("NOPAIN", true)
		FATT J 3
		FATT J 175 A_Pain
TNT1 A 0 A_ChangeFlag("NOPAIN", false)
		Goto See

    Death:
//TNT1 A 0 A_GiveToTarget("MoneySystem", 600)
		FATT K 6
		FATT L 6 A_Scream
		FATT M 6 A_NoBlocking
		FATT NOPQRS 6
		FATT T -1 A_BossDeath    
	     Stop





	 Raise:
		FATT R 5
		FATT QPONMLK 5
		Goto See
	}
}


/*
//===========================================================================
//
// Mancubus fireball
//
//===========================================================================
ACTOR FatShot2: Fatshot
{
	Game Doom
	SpawnID 153
	Radius 6
	Height 8
	Speed 20
	Damage 8
	Projectile 
	+RANDOMIZE
	RenderStyle Add
	Alpha 1
	SeeSound "fatso/attack"
	DeathSound "fatso/shotx"
	States
	{
	Spawn:
		MANF AB 4 BRIGHT
		Loop
	Death:
		MISL B 8 BRIGHT
		MISL C 6 BRIGHT
		MISL D 4 BRIGHT
		Stop
	}
}
*/


//Visual FX

ACTOR NewFatShot: FatShot Replaces FatShot
{
//+CLIENTSIDEONLY
States
 {
 Spawn:
 MANF AAAA 1 BRIGHT A_CustomMissile("D3_ImpTrail",random(-4,4),random(-4,4),0,10,0)
 MANF BBBB 1 BRIGHT A_CustomMissile("D3_ImpTrail",random(-4,4),random(-4,4),0,10,0)
 Loop

 Death:
 MISL B 8 BRIGHT
 MISL C 6 BRIGHT
 MISL D 4 BRIGHT
 Stop
 }
}