ACTOR LegendaryBarrelFake : ExplosiveBarrel 30335
{
Scale 1.2
DamageType "Legendary"
DamageFactor "Legendary", 0.0
DamageFactor "Legendary1", 0.0
Tag "LegendaryBarrel"
States
	{
	Spawn:
		LB4R AB 8 Bright A_SpawnItemEx("LHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,64)
		Loop
	Death:
		TNT1 A 0 Bright
		TNT1 A 1 Bright A_StopSound
		TNT1 A 0 Bright A_UnSetSolid
		TNT1 A 0 Bright A_UnSetShootable
		TNT1 A 0 Bright Radius_Quake(7,105,0,140,0)
		TNT1 A 0 Bright A_SpawnItemEx("BlueParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE) 
		TNT1 AAA 0 Bright A_CustomMissile("BlueKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 0 A_CustomMissile("SmokeFX2",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,0)
		TNT1 A 0 Bright A_PlaySoundEx("legendary/fakestrike","Voice",0,2)
		TNT1 A 70 Bright A_SpawnItemEx("LegendaryBarrelStrike",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		Stop
	}
}

Actor RandomLegDrops : RandomSpawner
{
DropItem "LegendarySphere", 256, 40
DropItem "LegendaryArmor", 256, 40
DropItem "LegendaryShuffleSphere", 256, 30
DropItem "LegendaryRune", 256, 20
DropItem "RandomLegDropsMKII", 256, 20
DropItem "LegendaryUltrasphere", 256, 20
DropItem "LegTimeFreezeSphere", 256, 25
DropItem "LegAmmoSphere", 256, 25
DropItem "XtraBlurSphereSpawner", 256, 20
}

Actor RandomLegDropsMKII : RandomSpawner
{
DropItem "LegDemonRune", 256, 15
DropItem "TrueLegendaryUltraSphere", 256, 15
DropItem "TrueLegendarySphere", 256, 20
DropItem "TrueLegendaryArmor", 256, 20
DropItem "TrueLegAmmoSphere", 256, 20
}

Actor RandomLegAmmos : RandomSpawner
{
DropItem "LDemonAmmo", 256, 10
DropItem "LegendaryShell" 256, 10
DropItem "LegendaryLMGBulletMag" 256, 10
DropItem "LegendaryCell" 256, 10
DropItem "DCell" 256, 5
}

Actor RandomLegBoxes : RandomSpawner
{
DropItem "LDemonAmmoBox", 256, 10
DropItem "LegendaryShellBox" 256, 10
DropItem "LegendaryBulletBox" 256, 10
DropItem "LegendaryCellPack" 256, 10
DropItem "DCellPack" 256, 5
}

ACTOR EnragedLegendaryBarrelFake : ExplosiveBarrel 30335
{
Scale 1.2
DamageType "Legendary"
DamageFactor "Legendary", 0.0
DamageFactor "Legendary1", 0.0
Tag "EnragedLegendaryBarrel"
States
	{
	Spawn:
		EB4R AB 8 Bright A_SpawnItemEx("EnragedHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,64)
		Loop
	Death:
		TNT1 A 0 Bright
		TNT1 A 1 Bright A_StopSound
		TNT1 A 0 Bright A_UnSetSolid
		TNT1 A 0 Bright A_UnSetShootable
		TNT1 A 0 Bright Radius_Quake(7,105,0,140,0)
		TNT1 A 0 Bright A_SpawnItemEx("RedParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE) 
		TNT1 AAA 0 Bright A_CustomMissile("EKaboomLN",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 0 A_CustomMissile("SmokeFX2",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,0)
		TNT1 A 0 Bright A_PlaySoundEx("enraged/fakestrike","Voice",0,2)
		TNT1 A 70 Bright A_SpawnItemEx("ELegendaryStrike",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		Stop
	}
}

Actor RandomELegDrops : RandomSpawner
{
DropItem "EnragedLegendarySphere", 256, 40
DropItem "EnragedLegendaryArmor", 256, 40
DropItem "EnragedLegendaryShuffleSphere", 256, 30
DropItem "LegendaryRune", 256, 20
DropItem "EnragedLegendaryRune", 256, 10
DropItem "RandomLegDropsMKII", 256, 25
DropItem "EnragedLegendaryUltrasphere", 256, 15
DropItem "EnragedLegendaryPowerShard", 256, 25
DropItem "LegAmmoSphere", 256, 25
DropItem "XtraBlurSphereSpawner", 256, 25
}

Actor RandomELegAmmos : RandomSpawner
{
DropItem "ILDemonAmmo", 256, 10
DropItem "EnragedLegendaryShell" 256, 10
DropItem "EnragedLegendaryLMGBulletMag" 256, 10
DropItem "LegendaryCell" 256, 10
DropItem "DCell" 256, 6
}

Actor RandomELegBoxes : RandomSpawner
{
DropItem "ILDemonAmmo", 256, 10
DropItem "EnragedLegendaryShellBox" 256, 10
DropItem "EnragedLegendaryBulletBox" 256, 10
DropItem "LegendaryCellPack" 256, 10
DropItem "DCellPack" 256, 6
}

ACTOR NemesisBarrelFake : ExplosiveBarrel
{
+Boss
Scale 1.2
DamageFactor "Legendary", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "PlayerNemesisPlasma", 0.0
//DropItem "RandomNDrops" 142
//DropItem "RandomNAmmos" 142
//DropItem "RandomNBoxes" 142
Tag "NemesisBarrel"
States
	{
	Spawn:
		LB0R AABB 4 Bright A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
		Loop
	Death:
		TNT1 A 0 Bright
		TNT1 A 1 Bright A_StopSound
		TNT1 A 0 Bright A_UnSetSolid
		TNT1 A 0 Bright A_UnSetShootable
		TNT1 A 0 Bright Radius_Quake(7,105,0,140,0)
		TNT1 A 0 Bright A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE) 
		TNT1 AAA 0 Bright A_CustomMissile("WhiteNemesisKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX4",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,0)
		TNT1 A 0 Bright A_PlaySound("nemesis/fakestrike","Voice",0,2)
		Stop
	}
}

ACTOR NukeBarrelFake : ExplosiveBarrel
{
  +Boss
  Obituary "%o was totally vaporized by a Nuke."
  Tag "NukeBarrel"
  Scale 1.2
  States
  {
  Spawn:
    GEXP A -1
    Loop
  Death:
		TNT1 A 0 Bright
		TNT1 A 1 Bright A_StopSound
		TNT1 A 0 Bright A_UnSetSolid
		TNT1 A 0 Bright A_UnSetShootable
		TNT1 A 0 Bright Radius_Quake(7,105,0,140,0)
		TNT1 A 0 Bright A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE) 
		TNT1 AAA 0 Bright A_CustomMissile("WhiteNemesisKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX4",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,0)
		TNT1 A 0 Bright A_PlaySound("nuke/fakestrike","Voice",0,2)
    Stop
  }
}