/*
ACTOR HellCloneTruelegrune : HellClone4 //unused
{ 
Health 2500
+Boss
PainChance 7
Damagefactor 0.4
DamageFactor "Legendary", 0.3
DamageFactor "Legendary1", 0.3
DamageFactor "LegendaryPlayer", 0.3
DamageFactor "LegendaryGuru", 0.2
DamageFactor "LegendaryGuruPlayer", 0.17
DamageFactor "PlayerNemesisPlasma", 0.3
DamageFactor "TrueLegendaryDamage", 0.4
DamageFactor "TrueLegendaryPlayer", 0.4
DamageFactor "PyroShot", 0.17
Speed 45
DropItem "PortableMedkit" 120
DropItem "ArmorPlate" 120
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "LegendaryRune" 128 1
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "BackPack" 122 1
DropItem "CellPack" 128 100
DropItem "CellPack", 200 100
DropItem "BFG10K " 100 1
DropItem "BFG9500" 100 1
DropItem "HellsExpensiveContract", 256
DropItem "HellsExpensiveContract", 256
DropItem "DivineContract", 256
Tag "\c[z1]BFG \c[i7]Hell\c[a2]Clone\c- \c[l5](True legendary rune)\c-"
States
	{
	Spawn:
		PB10 A 10 A_Look
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		PB10 A 10 A_Look
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		Loop
	See:
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		PB10 AABB 2 A_Chase
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
		PB10 CCDD 2 A_Chase
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		Loop
	Strafing:
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		PB10 AABB 3 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		PB10 CCDD 3 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Missile:
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_Jump(128,"BFG15K")
	Normal:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_PlayWeaponSound("weapons/charge15k")
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		PB10 E 25 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 30 A_PlaySound("weapons/bfg15kcooldown")     
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		Goto See
	BFG15K:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_PlaySound("weapons/charge15k")
		PB10 E 10 A_FaceTarget
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		PB10 E 6 A_FaceTarget
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG9500Ball",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG9500Ball",34,0,0)
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 20 A_PlaySound("weapons/bfg15kcooldown")
		Goto See
	Pain:
		TNT1 A 0 A_Jump(128,"PainMissile")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 G 3 A_Pain
		Goto See
	PainMissile:
		PB10 G 1
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 G 3 A_Pain
		Goto Missile
	Death:
		TNT1 A 0
		PB10 H 5 A_Scream
		PB10 I 5 A_Fall
		PB10 J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		PB10 K 5
		PB10 L 5
		PB10 M 5
		PB10 N -1
		Stop
	XDeath:
		PB10 O 3
		PB10 P 3 A_XScream
		PB10 Q 3 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
		PB10 R 3 A_Fall
		PB10 STUV 3
		PB10 W -1 
		Stop
Raise:
		Stop
	}
}

ACTOR HellCloneTruelegrune2 : HellCloneTruelegrune //unused
{
Health 2850
Scale 1.2
Speed 60
+Boss
PainChance 6
Damagefactor 0.15
DamageFactor "Legendary", 0.13
DamageFactor "LegendaryPlayer", 0.13
DamageFactor "LegendaryGuru", 0.13
DamageFactor "LegendaryGuruPlayer", 0.13
DamageFactor "PlayerNemesisPlasma", 0.13
DamageFactor "TrueLegendaryDamage", 0.13
DamageFactor "TrueLegendaryPlayer", 0.13
DamageFactor "PyroShot", 0.05
Tag "\c[z1]BFG \c[i7]Hell\c[a2]Clone\c- \c[l5](Upgraded True legendary rune)\c-"
}



ACTOR HellCloneTruelegrune2withterminator : HellCloneTruelegrune //unused
{ 
Health 4500
Scale 1.3
Speed 70
+Boss
+LookAllAround
PainChance 5
Species "Void"
Damagefactor 0.15
DamageFactor "Legendary", 0.13
DamageFactor "LegendaryPlayer", 0.13
DamageFactor "LegendaryGuru", 0.13
DamageFactor "LegendaryGuruPlayer", 0.13
DamageFactor "PlayerNemesisPlasma", 0.13
DamageFactor "TrueLegendaryDamage", 0.13
DamageFactor "TrueLegendaryPlayer", 0.13
DamageFactor "PyroShot", 0.03
DropItem "PortableMedkit" 120
DropItem "ArmorPlate" 120
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "LegendaryRune" 128 1
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "BackPack" 122 1
DropItem "CellPack" 128 100
DropItem "CellPack", 200 100
DropItem "BFG10K " 100 1
DropItem "BFG9500" 100 1
DropItem "DivineContract" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256 
DropItem "SuperArmorBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
Tag "\c[z1]BFG \c[i7]Hell\c[a2]Clone\c- (\c[l5]Upgraded True legendary rune\c- + \crTerminator Sphere\c-)\c-"
States
	{
	Spawn:
	    TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		PB10 A 10 A_Look
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		PB10 A 10 A_Look
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		Loop
	See:
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		PB10 AABB 2 A_Chase
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
		PB10 CCDD 2 A_Chase
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		Loop
	Strafing:
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		PB10 AABB 3 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		PB10 CCDD 3 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Missile:
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_Jump(128,"BFG15K")
	Normal:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_PlayWeaponSound("weapons/charge15k")
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		PB10 E 25 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("ThamuzDTBFG10KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredDarkCydestroyerRail", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("CardinalDTBFG10KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 30 A_PlaySound("weapons/bfg15kcooldown")     
		Goto See
	BFG15K:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_PlaySound("weapons/charge15k")
		PB10 E 10 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		PB10 E 6 A_FaceTarget
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG9500Ball",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG9500Ball",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("ThamuzDTBFG10KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("GreenSuperBall",34,0,0)
		PB10 E 10 A_FaceTarget
		PB10 F 15 Bright A_CustomMissile("CardinalDTBFG10KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 20 A_PlaySound("weapons/bfg15kcooldown")
		Goto See
	Pain:
		TNT1 A 0 A_Jump(128,"PainMissile")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 G 3 A_Pain
		Goto See
	PainMissile:
		PB10 G 1
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 G 3 A_Pain
		Goto Missile
	Death:
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"DeathFinal")
		TNT1 A 0
		PB10 H 5 A_Scream
		PB10 I 5 A_Fall
		PB10 J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		PB10 K 5
		PB10 L 5
		PB10 M 5
		PB10 N -1
		Stop
		DeathFinal:
		PB10 P 35 A_XScream
		PB10 P 35 A_SpawnItemEx("BlueLightning")
		PB10 P 15 A_SpawnItemEx("RedLightning")
		TNT1 A 0 A_SpawnItemEx("HellCloneTruelegrune2withterminator2",0,0,64,random(1,8),0,2,random(0,360),0,0)
		Stop
	XDeath:
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"DeathFinal")
		PB10 O 3
		PB10 P 3 A_XScream
		PB10 Q 3 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
		PB10 R 3 A_Fall
		PB10 STUV 3
		PB10 W -1 
		Stop
Raise:
		Stop
	}
}


ACTOR HellCloneTruelegrune2withterminator2 : HellCloneTruelegrune //unused
{ 
Health 6166
Scale 1.35
Speed 70
+Boss
+LookAllAround
PainChance 4
Damagefactor 0.15
DamageFactor "PDTBFG", 0.03
DamageFactor "PDTBFGTracer", 0.03
DamageFactor "PlayerDevTracer", 0.0
DamageFactor "Extreme", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor "FreezerBurn", 0.0
DamageFactor "Fire", 0.0
DamageFactor "Crush", 0.0
DamageFactor "Suicide", 0.0
DamageFactor "Telefrag", 0.0
DamageFactor "Massacre", 0.0
DamageFactor "Ice", 0.0
DamageFactor "PDTBFGTracer", 0.03
DamageFactor "CDTBFG", 0.0
DamageFactor "DBFG10K", 0
DamageFactor "C0mm4nder", 0.0
DamageFactor "DBFG2",0.0
DamageFactor "Legendary", 0.13
DamageFactor "LegendaryPlayer", 0.13
DamageFactor "LegendaryGuru", 0.13
DamageFactor "LegendaryGuruPlayer", 0.13
DamageFactor "PlayerNemesisPlasma", 0.13
DamageFactor "TrueLegendaryDamage", 0.13
DamageFactor "TrueLegendaryPlayer", 0.13
DamageFactor "PyroShot", 0.01
DropItem "PortableMedkit" 120
DropItem "ArmorPlate" 120
DropItem "BeastSoulSphere"
DropItem "Terminator"
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "LegendaryRune" 128 1
DropItem "Backpack" 200 50
DropItem "Backpack" 200 50
DropItem "Backpack" 200 50
DropItem "Backpack" 200 50
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "NewCell" 200 50
DropItem "BackPack" 122 1
DropItem "CellPack" 128 100
DropItem "CellPack", 200 100
DropItem "BFG10K " 100 1
DropItem "BFG9500" 100 1
DropItem "DivineContract" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256 
DropItem "SuperArmorBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
Tag "\c[z1]BFG \c[i7]Hell\c[a2]Clone\c- (\c[l5]Upgraded True legendary rune\c- + \crUpgraded Terminator Sphere\c-)\c-"
var int user_music;
States
	{
	Spawn:
	    TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		PB10 A 10 A_Look
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		PB10 A 10 A_Look
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		Loop
	See:
	    TNT1 A 0 A_JumpIf(user_music == 1,3)
	    TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,1744)
	    TNT1 A 0 A_SetUserVar("user_music",1)
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		PB10 AABB 2 A_Chase
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
		PB10 CCDD 2 A_Chase
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		Loop
	Strafing:
		TNT1 A 0 A_PlayWeaponSound("weapons/bfg15kidle")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		PB10 AABB 3 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		PB10 CCDD 3 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Missile:
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_Jump(128,"BFG15K")
	Normal:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_PlayWeaponSound("weapons/charge15k")
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		PB10 E 25 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("CardinalDTBFG10KBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
		PB10 F 3 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall", 30, 0, Random(-4, 4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 30 A_PlaySound("weapons/bfg15kcooldown")     
		Goto See
	BFG15K:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_PlaySound("weapons/charge15k")
		PB10 E 10 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		PB10 E 6 A_FaceTarget
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("EmpoweredCydestroyerBFG9500Ball",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("CardinalDTBFG10KBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		PB10 E 5 A_FaceTarget
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("MiniNemesisBFGBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 Bright A_PlaySound("weapons/bfg15kfire")
		PB10 F 6 Bright A_CustomMissile("LegAnniDTBFGBall",34,0,0)
		PB10 E 10 A_FaceTarget
		PB10 F 15 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",34,0,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 E 20 A_PlaySound("weapons/bfg15kcooldown")
		Goto See
	Pain:
		TNT1 A 0 A_Jump(128,"PainMissile")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 G 3 A_Pain
		Goto See
	PainMissile:
		PB10 G 1
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		PB10 G 3 A_Pain
		Goto Missile
	Death:
		TNT1 A 0
		PB10 H 5 A_Scream
		PB10 I 5 A_Fall
		PB10 J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		PB10 K 5
		PB10 L 5
		PB10 M 5
		PB10 N -1
		Stop
	XDeath:
		PB10 O 3
		PB10 P 3 A_XScream
		PB10 Q 3 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
		PB10 R 3 A_Fall
		PB10 STUV 3
		PB10 W -1 
		Stop
Raise:
		Stop
	}
}

ACTOR BazookaPsychoManiacDivinepowerSphere : BazookaPsychoManiacIt //Reworked
{
Health 2805
//+Nogravity too fast
DropItem "PortableMedCell", 200, 1
DropItem "StimKit", 180, 2
DropItem "RocketAmmo", 180
DropItem "HealthFlask", 200, 6
DropItem "ArmorPlate", 160
Dropitem "MarineDemonicSquadBeacon", 60, 1
DropItem "HandGrenadeAmmo", 120, 1
DropItem "MineAmmo", 90, 1
DropItem "AmmoPack", 160, 1
DropItem "ShieldSphere", 64, 1
DropItem "HellseconomicContract", 128
DropItem "HellsExpensiveContract", 90
DropItem "HellsExpensiveContract", 256
DropItem "HellsExpensiveContract", 256
DropItem "DivineContract", 256
Damagefactor 0.55
Damagefactor "Explosion", 0.05
Tag "\c[j9]Bazooka \c[w3]PsychoManiac\c- \c[d8](Divine Power Sphere)\c-"
States
	{
	Spawn:
		BPYC A 10 A_Look
		Loop
	Idle:
		BPYC AAAA 1 A_Wander
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC BBBB 1 A_Wander
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		BPYC CCCC 1 A_Wander
		TNT1 A 0 A_Look
		BPYC DDDD 1 A_Wander
		TNT1 A 0 HealThing(random(2,3))
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		BPYC AAAA 1 A_Wander
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC BBBB 1 A_Wander
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		BPYC CCCC 1 A_Wander
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC DDDD 1 A_Wander
		TNT1 A 0 HealThing(random(2,3))
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		Loop
	See:
	    TNT1 A 0 A_GiveInventory("LegendaryRuneDamageForEnemiesGiver",1)
	    TNT1 A 0 A_JumpIf(user_rage == 1,"SeeRage")
		BPYC AAAABBBB 1 A_Chase
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		BPYC CCCCDDDD 1 A_Chase
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_Jump(10,"Heal")
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		Loop
	SeeRage:
		BPYC AAAABBBB 1 A_Chase
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		BPYC CCCCDDDD 1 A_Chase
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_Jump(30,"Teleport")
		TNT1 A 0 A_Jump(40,"Heal")
		TNT1 A 0 A_SpawnItemEx("FootStep2",0,0,5,0,0,-20)
		TNT1 A 0 A_JumpIf(user_rage == 0, "See")
		Loop
	RageMissile:
	    BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	    TNT1 A 0 A_Jump(120,"TeleportAttack","TankCannon")
		Goto Normal
	Missile:
	    TNT1 A 0
		TNT1 A 0 A_JumpIf(user_rage == 1,"RageMissile")
		TNT1 A 0 A_Jump(50,"TankCannon")
	Normal:
		BPYC A 0 A_PlaySound("efglunatic/sight",CHAN_VOICE,1,0,0.5)
	    BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_Changeflag(NOPAIN,1)
		BPYC EEEEEE 2 A_GiveInventory("SpecOpsStrafing",1)
		TNT1 A 0 A_PlaySound("RPG/Fire",CHAN_WEAPON,1,0,0.5)
		BPYC F 6 Bright A_CustomMissile("PychoManiacRPGRocket",40,10,frandom(-1.0,1.0))
		BPYC EEEEEE 2 A_GiveInventory("SpecOpsStrafing",1)
	Reload:
		TNT1 A 0 A_PlaySound("Bazooka/Load",6,1,0,ATTN_NONE)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_Changeflag(NOPAIN,0)
		Goto See
	TankCannon:
	    BPYC A 0 A_PlaySound("efglunatic/sight",CHAN_VOICE,1,0,0.5)
	    BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		TNT1 A 0 A_Changeflag(NOPAIN,1)
	    BPYC E 1 A_PlaySound("TankCannon/load",CHAN_WEAPON,1,0,0.5)
		BPYC EEEEEEEEEE 2 A_GiveInventory("SpecOpsStrafing",1)
		TNT1 A 0 A_PlaySound("tank/fire",7,1,0,ATTN_NONE)
		BPYC F 6 Bright A_CustomMissile("PychoManiacTankShot",40,10,frandom(-1.0,1.0))
		BPYC EEEEEE 3 A_GiveInventory("SpecOpsStrafing",1)
		Goto Reload
	Teleport:
	    TNT1 A 0 A_Jump(128,"TeleportAlt")
	    TNT1 A 0 A_FaceTarget
	    BPYC A 1 Bright A_UnSetShootable
		BPYC A 0 A_PlayWeaponSound("boss/teleport")
		TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
	    BPYC AAAAAAAAAA 2 Bright A_FadeOut(0.1,0)
		TNT1 A 0 A_Stop
	    BPYC A 2 Bright
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    BPYC A 1 Bright A_PlayWeaponSound("boss/teleport")
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	    BPYC AAAAAAAAAA 2 Bright A_FadeIn(0.1)
	    BPYC A 1 Bright A_SetShootable
	    Goto See
	TeleportAlt:
	    TNT1 A 0 A_FaceTarget
	    BPYC A 1 Bright A_UnSetShootable
		BPYC A 0 A_PlayWeaponSound("boss/teleport")
		TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	    BPYC AAAAAAAAAA 2 Bright A_FadeOut(0.1,0)
		TNT1 A 0 A_Stop
	    BPYC A 2 Bright
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    BPYC A 1 Bright A_PlayWeaponSound("boss/teleport")
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
	    BPYC AAAAAAAAAA 2 Bright A_FadeIn(0.1)
	    BPYC A 1 Bright A_SetShootable
	    Goto See
	TeleportAttack:
	    TNT1 A 0 A_FaceTarget
		TNT1 A 0 A_Jump(128,"TeleportAttackAlt")
	    BPYC E 1 Bright A_UnSetShootable
		TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
	    BPYC EEEEEEEEEE 1 Bright A_FadeOut(0.1,0)
		TNT1 A 0 A_Stop
	    BPYC A 2 Bright
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    BPYC A 1 Bright A_PlayWeaponSound("boss/teleport")
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	    BPYC EEEEEEEEEE 1 Bright A_FadeIn(0.1)
	    BPYC E 1 Bright A_SetShootable
	    Goto Normal
	TeleportAttackAlt:
	    TNT1 A 0 A_FaceTarget
	    BPYC E 1 Bright A_UnSetShootable
		TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	    BPYC EEEEEEEEEE 1 Bright A_FadeOut(0.1,0)
		TNT1 A 0 A_Stop
	    BPYC A 2 Bright
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    BPYC A 1 Bright A_PlayWeaponSound("boss/teleport")
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
	    BPYC EEEEEEEEEE 1 Bright A_FadeIn(0.1)
	    BPYC E 1 Bright A_SetShootable
	    Goto Normal
	Heal:
		BPYC A 5
		TNT1 A 0 A_Jump(40,"Heal2")
		TNT1 A 0 A_Jump(15,"Heal3")
		TNT1 A 0 A_Jump(5,"Heal4")
		TNT1 A 0 HealThing(10)
		TNT1 A 0 A_PlaySound("pickups/flask",0,1.0,0)
		GoTo See
	Heal2:
		TNT1 A 0
		TNT1 A 0 HealThing(25)
		TNT1 A 0 A_PlaySound("pickups/pstimpack",0,1.0,0)
		GoTo See
	Heal3:
		TNT1 A 0
		TNT1 A 0 HealThing(50)
		TNT1 A 0 A_PlaySound("MedCell/Use",0,1.0,0)
		GoTo See
	Heal4:
		TNT1 A 0
		TNT1 A 0 HealThing(200)
		TNT1 A 0 A_PlaySound("MedCellPack/Use",0,1.0,0)
		GoTo See
	Pain:
	    TNT1 A 0
		TNT1 A 0 A_JumpIf(user_rage == 1,2)
		TNT1 A 0 A_Jump(50,"TriggerRage")
		TNT1 A 0 A_Jump(40,"PainMissile")
	    BPYC G 3 A_Pain
		BPYC G 2
		TNT1 A 0 A_Jump(20,"Heal")
		Goto see
	PainMissile: 
		TNT1 A 0
		TNT1 A 0 A_Jump(30,"PainRage")
        BPYC G 3 Bright
        BPYC G 0 A_Pain
	    BPYC G 3 Bright
        Goto Missile
	TriggerRage:
	    TNT1 A 0 A_Changeflag(NOPAIN,1)
	    BPYC G 1 A_Pain
		TNT1 A 0 A_PlaySound("efgzombie/protection",CHAN_BODY,1,0,0.5)
	    BPYC G 6 ACS_NamedExecuteAlways("LunaticRage",0)
		TNT1 A 0 A_Changeflag(NOPAIN,0)
		Goto SeeRage
	PainRage: 
		TNT1 A 0
		TNT1 A 0 A_SetUserVar("user_missile",0)
		TNT1 A 0 A_Changeflag(NOPAIN,1)
        BPYC G 2 Bright
        BPYC G 0 A_Pain
	    BPYC G 1 Bright
	RageAttack:
		TNT1 A 0 A_JumpIf(user_missile >= 3, "Reload")
	    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
		BPYC A 0 A_PlaySound("efglunatic/sight",CHAN_VOICE,1,0,0.5)
	    BPYC E 1 A_FaceTarget(45)
		BPYC EEEEEE 2 A_GiveInventory("SpecOpsStrafing",1)
		TNT1 A 0 A_PlaySound("RPG/Fire",CHAN_WEAPON,1,0,0.5)
		BPYC F 6 Bright A_CustomMissile("PychoManiacRPGRocket",40,10,frandom(-1.0,1.0))
		BPYC EEEE 2 A_GiveInventory("SpecOpsStrafing",1)
		TNT1 A 0 A_PlaySound("Bazooka/Load",6,1,0,ATTN_NONE)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		BPYC E 1 A_GiveInventory("SpecOpsStrafing",1)
		BPYC E 1 A_FaceTarget(45)
		Loop
	Death:
	    TNT1 A 0 A_StopSound(6)
		TNT1 A 0 A_StopSound(7)
		BPYC H 5
		BPYC I 5 A_Scream
		BPYC J 5 A_Fall
		TNT1 A 0 A_SpawnItemEx("Bazooka",0,0,8,random(0,8),random(0,8),2,random(0,360),0,201)
		BPYC KLM 5
		TNT1 A 0 A_SpawnItem("BodyCrash",0,0,0,0)
		BPYC N 63000 CanRaise
		Stop
	XDeath:
	    TNT1 A 0 A_StopSound(6)
		TNT1 A 0 A_StopSound(7)
		TNT1 A 0
		TNT1 A 0 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		BPYC O 5 A_GiveInventory("XDeathCheck",1)
		BPYC P 5 A_XScream
		BPYC Q 5 A_Fall
		TNT1 A 0 A_SpawnItemEx("Bazooka",0,0,8,random(0,8),random(0,8),2,random(0,360),0,201)
		BPYC RSTUV 5
		BPYC W 63000 CanRaise
		Stop
Raise:
		Stop
	}
}
*/

ACTOR HackroidZombieEnraged : HackroidZombieSpawn
{
Health 4000
Scale 1.2
Speed 55
DamageFactor 0.06
DamageFactor "Legendary", 0.08
DamageFactor "LegendaryPlayer", 0.08
DamageFactor "LegendaryGuru", 0.08
DamageFactor "LegendaryGuruPlayer", 0.08
DamageFactor "PlayerNemesisPlasma", 0.08
DamageFactor "TrueLegendaryDamage", 0.13
DamageFactor "TrueLegendaryPlayer", 0.13
Tag "\c[p7]Hackroid Zombie\c- \c[g5](Enraged)\c-"
}

ACTOR HackroidAssaultCaptainEnraged : HackroidAssaultCaptainSpawn
{
Health 4200
Scale 1.2
Speed 60
DamageFactor 0.06
DamageFactor "Legendary", 0.1
DamageFactor "LegendaryPlayer", 0.1
DamageFactor "LegendaryGuru", 0.1
DamageFactor "LegendaryGuruPlayer", 0.1
DamageFactor "PlayerNemesisPlasma", 0.1
DamageFactor "TrueLegendaryDamage", 0.13
DamageFactor "TrueLegendaryPlayer", 0.13
Tag "\c[i7]Hackroid Assault Captain\c- \c[g5](Enraged)\c-"
}

Actor VexedNemesisDoomSlayerBloodlusted : VexedNemesisDoomSlayerIt
{
Health 5000
Scale 1.2
DamageFactor 0.1
DamageFactor "TrueLegendaryDamage", 0.15
DamageFactor "TrueLegendaryPlayer", 0.15
Tag "\c[w2]Vexed\c- \c[v9]Nemesis \c[w2]DoomSlayer\c- \c[g5](Bloodlusted)\c-"
Translation "0:255=%[0.00,0.00,0.00]:[2.00,1.00,1.00]"
}

Actor VexedNemesisHitlerBloodlusted : VexedNemesisHitlerNoArmorIt
{
Health 6000
DamageFactor 0.1
DamageFactor "TrueLegendaryDamage", 0.15
DamageFactor "TrueLegendaryPlayer", 0.15
Tag "\c[w2]Der Prototyp Vexed Nemesis Fuhrer Klon\c- \c[g5](Bloodlusted)\c-"
Translation "0:255=%[0.00,0.00,0.00]:[2.00,1.00,1.00]"
}

Actor VexedNemesisChainsawZombieBloodlusted : VexedNemesisChainsawZombieIt
{
Health 3500
DamageFactor 0.2
Tag "\c[w2]vexed Nemesis Chainsaw Zombie\c- \c[g5](Bloodlusted)\c-"
Translation "0:255=%[0.00,0.00,0.00]:[0.80,0.35,0.35]"
}

ACTOR ObliteratorEndGame : Obliterator 
{
  DropItem "LifeEssence" 256
  DropItem "ArmorBonusMax" 256
  DropItem "BossLifeEssence" 256 25
  DropItem "BossArmorBonusMax" 256 1
  DropItem "DemonAmmoBox" 256 200
  DropItem "Explosive Minigun" 256 1
  DropItem "Demon Tech Devastator" 256 1
  DropItem "Demon Tech Shotgun" 256 1
  DropItem "BFG10K " 256 1
  DropItem "ExplosiveDemonTechRifle" 64 1
  DropItem "HellfireUltrasphere" 256 1
  DropItem "HellfireArmor" 256 1
  DropItem "LegendaryRune" 256 1
  DropItem "EFG9000" 128 1
  DropItem "TerminatorItem" 80 1
  DamageFactor 0.4
}

ACTOR DeathAssassinIt : DeathAssassin
{ 
Health 725 // 300
DropItem "PortableEnhancedMedCellPack" 100
DropItem "ArmorPlate" 120
DropItem "ExtraArmorIt" 120
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "NewShell" 256 8
DropItem "DemonAmmo" 162 80
DropItem "BackPack" 70 1
DropItem "Quad Barrel Shotgun" 80 1
DropItem "Demon Tech Rifle" 80 1
DropItem "Rocket Launcher" 80 1
DropItem "MarineSquadBeacon" 20 1
DamageFactor 0.7
DamageFactor "Legendary", 0.4
DamageFactor "LegendaryPlayer", 0.4
DamageFactor "PlayerNemesisPlasma", 0.3
DamageFactor "TrueLegendaryDamage", 0.3
DamageFactor "TrueLegendaryPlayer", 0.3
}

ACTOR VoidAssassin : DeathAssassinIt 
{ 
Health 3750
Speed 45
Scale 1.2
+Boss
+NOFEAR
Mass 400
PainChance 12
MeleeDamage 65
MeleeRange 30
Damagefactor 0.3
DamageFactor "Legendary", 0.25
DamageFactor "LegendaryPlayer", 0.25
DamageFactor "LegendaryGuru", 0.25
DamageFactor "LegendaryGuruPlayer", 0.25
DamageFactor "PlayerNemesisPlasma", 0.2
DamageFactor "TrueLegendaryDamage", 0.3
DamageFactor "TrueLegendaryPlayer", 0.3
DamageFactor "PlayerDevBall", 0.15
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PyroShot", 0.07
DamageFactor "PlayerDTRG", 0.13
DropItem "NemesisHealthBonusMax" 256 25
DropItem "NemesisHealthBonusMax" 256 25
DropItem "PortableEnhancedMedCellPack" 256
DropItem "nemesissphere" 130
DropItem "LightnemesisArmor" 135
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "NewShell" 256 8
DropItem "DemonAmmo" 162 80
DropItem "BackPack" 70 1
DropItem "Nemesis Sawed-Off Shotgun", 128, 1
DropItem "Nemesis Rifle", 128, 1
DropItem "Nemesis Plasmatic Cannon", 128, 1
DropItem "DivineContract" 256 1
DropItem "VoidSoul" 256
Obituary "%o was Assassinated by Death Slayer."
Tag "\c[u9]Dark Void\c- \c[s0]Slayer\c-"
var int user_music;
States
	{
	Spawn:
		DASA A 10 A_Look
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		DASA Z 10 A_Look
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		Loop
	See:
		TNT1 A 0 A_JumpIf(user_music == 1,3)
	    TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,952,900)
	    TNT1 A 0 A_SetUserVar("user_music",1)
		DASA AABB 2 A_Chase
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
		DASA CCDD 2 A_Chase
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Jump(46,"Phase")
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		Loop
	Strafing:
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		DASA AABB 3 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Jump(20,"EnhancedMedCellPack")
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA CCDD 3 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Phase:
        TNT1 A 0 A_PlaySound("phaseimp/teleport")
        DASA E 2 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
        DASA E 1 A_SetTranslucent(0.75)
        DASA E 1 A_SetTranslucent(0.55)
        DASA E 1 A_SetTranslucent(0.35)
		DASA E 1 A_SetTranslucent(0.15)
		DASA E 1 A_SetTranslucent(0.10)
        Goto Phased
	UnPhase:
        TNT1 A 0 A_PlaySound("phaseimp/teleport")
		DASA E 1 A_SetTranslucent(0.10)
		DASA E 1 A_SetTranslucent(0.15)
        DASA E 1 A_SetTranslucent(0.35)
        DASA E 1 A_SetTranslucent(0.55)
        DASA E 1 A_SetTranslucent(0.75)
		TNT1 A 0 A_SetTranslucent(1)
        DASA E 2 A_FaceTarget	
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
        Goto See
	Phased:
        DASA AABBCCDDAABBCCDDAABBCCDDAABBCCDD 1 A_ExtChase(0,0)
        DASA AABBCCDDAABBCCDD 1 A_Chase
		TNT1 A 0 A_Jump(24,"UnPhase")
        Goto Phased+32
	Pause:
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		DASA A 20 A_PlaySound("weapons/demontechsteam")
		Goto See
	PauseNoDTR:
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Melee:
		DASA EE 2 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
        TNT1 A 0 A_SetTranslucent(1)
		TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
	    TNT1 A 0 ThrustThingZ(0,20,0,1)
	    DASA E 2 A_Recoil(-24)
        DASA E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
        DASA E 3 A_MeleeAttack
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
        DASA E 5 A_FaceTarget	
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
        Goto See
	Missile:
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_SetTranslucent(1)
		TNT1 A 0 A_JumpIfCloser(500,"NemesisQuad")
		TNT1 A 0 A_Jump(64,"NemesisBall")
		TNT1 A 0 A_Jump(20,"EnhancedMedCellPack")
	Normal: 
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA E 2 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_CustomMissile("NemesisRifleShotEnemy",35,0,random(-8,8),0)
		DASA F 2 Bright A_PlaySound("weapons/demontechfire",CHAN_WEAPON)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(20,"Pause")
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpidRefire
		Goto Normal+1
	NemesisBall:
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA E 12 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA F 6 Bright A_CustomMissile("NemDoomSlayerCannonBall", 30, 0, 0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		DASA E 10 A_PlaySound("legendarycannon/up")
		TNT1 A 0 A_Jump(30,"PauseNoDTR")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpidRefire
		Goto NemesisBall+1
	NemesisQuad:
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA E 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("weapons/qsgfire")
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("NemesisRifleShotEnemy",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA E 15 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("weapons/qsgopen")
		DASA E 4 A_PlaySound("weapons/qsgshellslide")	
		DASA E 4 A_GiveInventory("HellCloneStrafing",1)
		DASA E 6 A_PlaySound("weapons/qsgclose")	
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_Jump(20,"EnhancedMedCellPack")
		Goto See
		EnhancedMedCellPack:
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		DASA E 15 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
		TNT1 A 0 HealThing(300)
		TNT1 A 0 A_PlaySound("pickups/flask",0,1.0,0)
		GoTo See
	Pain:
		TNT1 A 0 A_Jump(87,"PainMissile")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		DASA G 3 A_Pain
		TNT1 A 0 A_Jump(20,"EnhancedMedCellPack")
		Goto See
	PainMissile:
		DASA G 1
		DASA G 3 A_Pain
		TNT1 A 0 A_Jump(100,"EnhancedMedCellPack")
		Goto Missile
	Death:
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"Death3")
		TNT1 A 0
		DASA H 5 A_Scream
		DASA I 5 A_Fall
		DASA J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		DASA J 5
		DASA L -1
		Stop
	XDeath:
	    TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"Death3")
		DASA O 3
		DASA P 3 A_XScream
		DASA Q 3 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
		DASA R 3 A_Fall
		DASA STUV 3
		DASA W -1 
		Stop
		Death3:
		DASA H 35 A_Scream
		TNT1 A 1 A_SpawnItemEx("NemesisLightning")
	TNT1 A 1 A_SpawnItemEx("DarkVoidAssassinVoidSouls",0,0,64,random(1,8),0,2,random(0,360),0,0)
	Stop
		Raise:
		Stop
	}
}

ACTOR DarkVoidAssassin : VoidAssassin 
{ 
Health 3750
Speed 45
Scale 1.2
+Boss
+NOFEAR
Mass 400
PainChance 12
MeleeDamage 65
MeleeRange 30
Damagefactor 0.25
DamageFactor "Legendary", 0.25
DamageFactor "LegendaryPlayer", 0.25
DamageFactor "LegendaryGuru", 0.1
DamageFactor "LegendaryGuruPlayer", 0.1
DamageFactor "PlayerNemesisPlasma", 0.15
DamageFactor "TrueLegendaryDamage", 0.25
DamageFactor "TrueLegendaryPlayer", 0.25
DamageFactor "PlayerDevBall", 0.15
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PyroShot", 0.07
DropItem "NemesisHealthBonusMax" 256 25
DropItem "NemesisHealthBonusMax" 256 25
DropItem "PortableEnhancedMedCellPack" 256
DropItem "nemesissphere" 130
DropItem "LightnemesisArmor" 135
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "NewShell" 256 8
DropItem "DemonAmmo" 162 80
DropItem "BackPack" 70 1
DropItem "Nemesis Sawed-Off Shotgun", 128, 1
DropItem "Nemesis Rifle", 128, 1
DropItem "Nemesis Plasmatic Cannon", 128, 1
DropItem "DivineContract" 256 1
DropItem "VoidSoul" 256
Obituary "%o was Assassinated by \c[u9]Dark Void\c- \c[s0]Slayer\c-."
Tag "\c[u9]Dark Void\c- \c[s0]Slayer\c-"
Translation "0:255=%[0.00,0.00,0.00]:[1.13,0.08,0.79]"
var int user_music;
States
	{
Death:
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"Death3")
		TNT1 A 0
		DASA H 5 A_Scream
		DASA I 5 A_Fall
		DASA J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		DASA J 5
		DASA L -1
		Stop
	XDeath:
	    TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"Death3")
		DASA O 3
		DASA P 3 A_XScream
		DASA Q 3 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
		DASA R 3 A_Fall
		DASA STUV 3
		DASA W -1 
		Stop
		Death3:
		DASA H 35 A_Scream
		TNT1 A 1 A_SpawnItemEx("NemesisLightning")
	TNT1 A 1 A_SpawnItemEx("DarkVoidAssassinVoidSouls",0,0,64,random(1,8),0,2,random(0,360),0,0)
	Stop
		Raise:
		Stop
	}
}

ACTOR DarkVoidAssassinEndGame : DarkVoidAssassin 
{ 
Health 3750
Speed 45
Scale 1.2
Damagefactor 0.18
}


ACTOR VoidAssassinVoidSouls : VoidAssassin 
{ 
Health 7200
Speed 65
Scale 1.4
+Boss
+noicedeath
+FASTMELEE
+NOFEAR
+NOTIMEFREEZE
+NORADIUSDMG
+NOEXTREMEDEATH
+LookAllAround
Species "Void"
Mass 700
PainChance 7
MeleeDamage 175
MeleeRange 40
Damagefactor 0.15
DamageFactor "Legendary", 0.2
DamageFactor "LegendaryPlayer", 0.2
DamageFactor "LegendaryGuru", 0.15
DamageFactor "LegendaryGuruPlayer", 0.2
DamageFactor "PlayerNemesisPlasma", 0.13
DamageFactor "TrueLegendaryDamage", 0.25
DamageFactor "TrueLegendaryPlayer", 0.25
DamageFactor "PlayerDevBall", 0.1
DamageFactor "PlayerDevTracer", 0.1
DamageFactor "PyroShot", 0.03
DamageFactor "PlayerBHole", 0.03
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256 
DropItem "SuperArmorBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "PortableEnhancedMedCellPack" 150
DropItem "nemesissphere" 128
DropItem "nemesisArmor" 256
DropItem "NemesisorvexedpowerShard" 200
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "NewShell" 256 8
DropItem "DemonAmmo" 162 80
DropItem "BackPack" 256 1
DropItem "BackPack" 256 1
DropItem "Nemesis Sawed-Off Shotgun", 128, 1
DropItem "Nemesis Rifle", 128, 1
DropItem "Rocket Launcher" 80 1
DropItem "Nemesis Plasmatic Cannon", 128, 1
DropItem "VoidSoul" 256
DropItem "VoidSoul" 200
DropItem "VoidSoul" 90
DropItem "VoidSoul" 30
DropItem "DivineContract" 256
Obituary "%o was Assassinated by Death Slayer."
Tag "\c[u9]Void\c- \c[s0]Slayer\c- \c[v9](Empowered By \c[u9]Void Souls\c-\c[v9])\c-"
var int user_music;
States
	{
	Spawn:
		DASA A 10 A_Look
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA Z 10 A_Look
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		Loop
	See:
		TNT1 A 0 A_JumpIf(user_music == 1,3)
	    TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,818,900)
	    TNT1 A 0 A_SetUserVar("user_music",1)
		DASA AABB 2 A_Chase
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
		DASA CCDD 2 A_Chase
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Jump(46,"Phase")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		Loop
	Strafing:
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA AABB 3 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA CCDD 3 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Phase:
        TNT1 A 0 A_PlaySound("phaseimp/teleport")
        DASA E 2 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
        DASA E 1 A_SetTranslucent(0.75)
        DASA E 1 A_SetTranslucent(0.55)
        DASA E 1 A_SetTranslucent(0.35)
		DASA E 1 A_SetTranslucent(0.15)
		DASA E 1 A_SetTranslucent(0.05)
        Goto Phased
	UnPhase:
        TNT1 A 0 A_PlaySound("phaseimp/teleport")
		DASA E 1 A_SetTranslucent(0.05)
		DASA E 1 A_SetTranslucent(0.15)
        DASA E 1 A_SetTranslucent(0.35)
        DASA E 1 A_SetTranslucent(0.55)
        DASA E 1 A_SetTranslucent(0.75)
		TNT1 A 0 A_SetTranslucent(1)
        DASA E 2 A_FaceTarget	
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
        Goto See
	Phased:
        DASA AABBCCDDAABBCCDDAABBCCDDAABBCCDD 1 A_ExtChase(0,0)
        DASA AABBCCDDAABBCCDD 1 A_Chase
		TNT1 A 0 A_Jump(24,"UnPhase")
        Goto Phased+32
	Pause:
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		DASA A 20 A_PlaySound("weapons/demontechsteam")
		Goto See
	PauseNoDTR:
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	Melee:
		DASA EE 2 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
        TNT1 A 0 A_SetTranslucent(1)
		TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
	    TNT1 A 0 ThrustThingZ(0,20,0,1)
	    DASA E 2 A_Recoil(-24)
        DASA E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
        DASA E 3 A_MeleeAttack
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
        DASA E 5 A_FaceTarget	
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
        Goto See
	Missile:
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_SetTranslucent(1)
		TNT1 A 0 A_JumpIfCloser(500,"SuperNemesisQuad")
		TNT1 A 0 A_Jump(84,"NemesisBall")
	Normal: 
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA E 2 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_CustomMissile("Nemesis10kProjectile",35,0,random(-8,8),0)
		DASA F 2 Bright A_PlaySound("weapons/demontechfire",CHAN_WEAPON)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(20,"Pause")
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpidRefire
		Goto Normal+1
	NemesisBall:
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA E 12 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA F 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DASA E 17 A_FaceTarget
		DASA F 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		DASA E 10 A_PlaySound("legendarycannon/up")
		TNT1 A 0 A_Jump(30,"PauseNoDTR")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpidRefire
		Goto NemesisBall+1
	SuperNemesisQuad:
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA E 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_PlaySound("weapons/qsgfire")
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 AAAAAAAAAAAA 0 Bright A_CustomMissile("NemesisCyberNobleBall3",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		DASA E 15 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_PlaySound("weapons/qsgopen")
		DASA E 4 A_PlaySound("weapons/qsgshellslide")	
		DASA E 4 A_GiveInventory("HellCloneStrafing",1)
		DASA E 6 A_PlaySound("weapons/qsgclose")	
		TNT1 A 0 A_GiveInventory("HellCloneStrafing",1)
		Goto See
	Pain:
		TNT1 A 0 A_Jump(87,"PainMissile")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		DASA G 3 A_Pain
		Goto See
	PainMissile:
		DASA G 1
		DASA G 3 A_Pain
		TNT1 A 0 A_Jump(100,"EnhancedMedCellPack")
		Goto Missile
	Death:
		TNT1 A 0
		DASA H 5 A_Scream
		DASA I 5 A_Fall
		DASA J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		DASA J 5
		DASA L -1
		Stop
		XDeath:
	    TNT1 A 0
		DASA H 5 A_Scream
		DASA I 5 A_Fall
		DASA J 5 A_SpawnItem("BodyCrash",0,0,0,0)
		DASA J 5
		DASA L -1
		Stop
		Raise:
		Stop
	}
}

ACTOR DarkVoidAssassinVoidSouls : VoidAssassinVoidSouls 
{ 
Health 7200
Speed 65
Scale 1.4
+Boss
+noicedeath
+FASTMELEE
+NOFEAR
+NOTIMEFREEZE
+NORADIUSDMG
+NOEXTREMEDEATH
+LookAllAround
Species "Void"
Mass 700
PainChance 7
MeleeDamage 175
MeleeRange 40
Damagefactor 0.15
DamageFactor "Legendary", 0.2
DamageFactor "LegendaryPlayer", 0.2
DamageFactor "LegendaryGuru", 0.15
DamageFactor "LegendaryGuruPlayer", 0.2
DamageFactor "PlayerNemesisPlasma", 0.13
DamageFactor "TrueLegendaryDamage", 0.25
DamageFactor "TrueLegendaryPlayer", 0.25
DamageFactor "PlayerDevBall", 0.1
DamageFactor "PlayerDevTracer", 0.1
DamageFactor "PyroShot", 0.03
DamageFactor "PlayerBHole", 0.03
DamageFactor "PlayerDTRG", 0.1
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256 
DropItem "SuperArmorBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "PortableEnhancedMedCellPack" 150
DropItem "nemesissphere" 128
DropItem "nemesisArmor" 256
DropItem "NemesisorvexedpowerShard" 200
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 200 1
DropItem "MineAmmo" 100 1
DropItem "NewShell" 256 8
DropItem "DemonAmmo" 162 80
DropItem "BackPack" 256 1
DropItem "BackPack" 256 1
DropItem "Nemesis Sawed-Off Shotgun", 128, 1
DropItem "Nemesis Rifle", 128, 1
DropItem "Rocket Launcher" 80 1
DropItem "Nemesis Plasmatic Cannon", 128, 1
DropItem "VoidSoul" 256
DropItem "VoidSoul" 200
DropItem "VoidSoul" 90
DropItem "VoidSoul" 30
DropItem "DivineContract" 256
Obituary "%o was Assassinated by Death Slayer."
Tag "\c[u9]Void\c- \c[s0]Slayer\c- \c[v9](Empowered By \c[u9]Void Souls\c-\c[v9])\c-"
Translation "0:255=%[0.00,0.00,0.00]:[0.43,0.18,0.69]"
}

Actor VoidReaper : DeathRev
{
Health 6250
Scale 1.4
Mass 1000
PainChance 7
Speed 40
Species "Void"
+Boss
+LookAllAround
+noicedeath
+FASTMELEE
+NOFEAR
+NOTIMEFREEZE
+NORADIUSDMG
Tag "\ctDark Void \cm\c[a4]Reaper\c-"
Damagefactor 0.35
DamageFactor "C0mm4nder", 0.0
DamageFactor "Legendary", 0.2
DamageFactor "LegendaryPlayer", 0.2
DamageFactor "LegendaryGuru", 0.2
DamageFactor "LegendaryGuruPlayer", 0.2
DamageFactor "PlayerNemesisPlasma", 0.15
DamageFactor "TrueLegendaryDamage", 0.25
DamageFactor "TrueLegendaryPlayer", 0.25
DamageFactor "PlayerDevBall", 0.1
DamageFactor "PlayerDevTracer", 0.1
DamageFactor "PyroShot", 0.03
DamageFactor "Explosion", 0.05
DamageFactor "PlayerBHole", 0.03
DamageFactor "PlayerDTRG", 0.15
DropItem "TrueLegendaryRune", 80
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 128
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 128
DropItem "NemesispowerShard" 200
DropItem "nemesissphere" 128
DropItem "CommanderSuperSphere" 256
DropItem "VoidSoul" 256
DropItem "VoidSoul" 256
DropItem "DivineContract" 256
DropItem "DarkVoidArmor" 130 1
Obituary "%o was destroyed by \ctDark Void \cm\c[a4]Reaper\c-."
Translation "0:255=%[0.00,0.00,0.00]:[0.63,0.07,1.19]"
var int user_music;
States
	{
  Spawn:
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	DATH A 10 A_Look
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	Loop
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1745,900)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_StopSound(CHAN_WEAPON)
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	DATH AABB 2 A_Chase
    TNT1 A 0 A_SpawnItem("BonyStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	DATH CCDD 2 A_Chase
    TNT1 A 0 A_SpawnItem("BonyStep",0,0,0,0)
    Loop
  Missile:
	TNT1 A 0 A_JumpIfCloser(400,"ExSSG")
    TNT1 A 0 A_Jump(128,"Missiles","Railgun")
    TNT1 A 0 A_Jump(64,"Summon","Resurrect","Summon")
  ExMinigun:
	DATH EEE 5 A_FaceTarget
    TNT1 A 0 A_PlaySound("sentient/fire")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_CustomMissile("PurpleZDemonTechProjectile2",78,-16,random(-5,5))
	DATH F 3 Bright A_CustomMissile("CommanderExplosiveTracer",78,16,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_CustomMissile("CommanderExplosiveTracer",78,-16,random(-4,4))
	DATH G 4 Bright A_CustomMissile("NemesisRocket",78,16,random(-4,4))
	TNT1 A 0 A_SpidRefire
	Goto ExMinigun+3
  Missiles:
	DATH III 15 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	DATH J 8 Bright A_CustomMissile("CommanderPyroShot", 78, 0, 0)
	DATH II 5 A_FaceTarget
	DATH J 8 Bright A_CustomMissile("CommanderPyroShot", 78, 0, 0)
	DATH I 8 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	DATH J 4 Bright A_CustomMissile("CommanderPyroShot", 78, 0, 0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	DATH I 8 A_FaceTarget
	Goto See
  ExSSG:
	DATH I 10 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_PlaySound("ExpSSG/Fire")
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("DarkCydestroyerGrenade",Random(26,29),0,Random(8,-8),0)
	DATH J 5 Bright A_CustomBulletAttack(13.8,9.6,10,Random(1,4)*3)
	DATH I 5 A_FaceTarget
	Goto See
  Railgun:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
    DATH II 15 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	DATH II 10 Bright A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	DATH II 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	DATH II 10 Bright A_FaceTarget
    DATH J 10 Bright A_CustomMissile("CommanderGeneralPurpleDBFGBall", 73, 0, 0)
    DATH J 10
    Goto See
  Summon:
    TNT1 A 0 A_Jump(128,"Summoner")
 FSummoner:
    DATH H 1 Bright A_SetInvulnerable
	TNT1 A 0 A_PlaySound("Death/Summon")
	DATH HHHHHHHHHHHHHHHHH 2 Bright A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("Famine",0,0,20,30,0,0,180,0)
	TNT1 A 0 A_SpawnItemEx("Famine",0,0,20,30,0,0,360,0)
	DATH H 24 Bright
	DATH H 1 Bright A_UnSetInvulnerable
	Goto See
 Summoner:
    DATH H 1 Bright A_SetInvulnerable
	TNT1 A 0 A_PlaySound("Death/Summon")
	DATH HHHHHHHHHHHHHHHHH 2 Bright A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("Nightshade",0,0,20,30,0,0,180,0)
	TNT1 A 0 A_SpawnItemEx("Nightshade",0,0,20,30,0,0,360,0)
	DATH H 24 Bright
	DATH H 1 Bright A_UnSetInvulnerable
	Goto See
  Resurrect:
	DATH H 1 Bright A_SetInvulnerable
	TNT1 A 0 A_PlaySound("Death/Resurrect")
	DATH HHHHHHHHHHHHHHHHH 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("brain/spit")
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,0,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,20,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,40,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,60,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,80,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,100,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,120,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,140,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,160,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,180,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,200,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,220,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,240,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,260,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,280,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,300,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,320,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,340,0)
	TNT1 A 0 A_CustomMissile("VelociratorResRadius",10,0,360,0)
	DATH H 1 Bright A_UnSetInvulnerable
    Goto See	
  Pain:
    TNT1 A 0 A_StopSound(CHAN_WEAPON)
	DATH H 2
	DATH H 2 A_Pain
	TNT1 A 0 A_Jump(80,"Missile")
	Goto See
  Death:
    TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"DeathEndgame")
    TNT1 A 0 A_StopSound(CHAN_WEAPON)
	DATH K 5
	DATH L 6 A_Scream
	DATH MNOP 5
	TNT1 A 0 A_Noblocking
	TNT1 A 0 A_SpawnItem("BodyCrash",0,0,0,0)
	DATH QRSTU 5 
	DATH V -1
	Stop
  DeathEndgame:
    TNT1 A 0 A_StopSound(CHAN_WEAPON)
	TNT1 A 0 A_SpawnItemEx("VoidMinionsBeacon",0,0,8,random(0,8),random(0,8),2,random(0,360),0,32)
	DATH K 5
	DATH L 6 A_Scream
	DATH MNOP 5
	TNT1 A 0 A_Noblocking
	TNT1 A 0 A_SpawnItem("BodyCrash",0,0,0,0)
	DATH QRSTU 5 
	DATH V -1
	Stop
  Raise:
     Stop
	}
}

Actor VoidReaperEndGame : VoidReaper
{
Health 6250
Scale 1.4
Damagefactor 0.2
DropItem "TrueLegendaryRune", 80
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "NemesispowerShard" 200
DropItem "nemesissphere" 128
DropItem "CommanderSuperSphere" 256
DropItem "VoidSoul" 256
DropItem "DivineContract" 256
DropItem "DarkVoidArmor" 120 1
}

Actor VoidKrieger : LegendaryKrieger
{
Health 8500
Mass 5000
PainChance 7
Speed 40
Species "Void"
+Boss
+LookAllAround
+noicedeath
+FASTMELEE
+NOFEAR
+NOTIMEFREEZE
+NORADIUSDMG
BloodColor "Purple"
Tag "\c[u9]Dark Void\c- \cm\c[a4]Krieger\c-"
Damagefactor 0.35
DamageFactor "C0mm4nder", 0.0
DamageFactor "Legendary", 0.2
DamageFactor "LegendaryPlayer", 0.2
DamageFactor "LegendaryGuru", 0.2
DamageFactor "LegendaryGuruPlayer", 0.2
DamageFactor "PlayerNemesisPlasma", 0.15
DamageFactor "TrueLegendaryDamage", 0.25
DamageFactor "TrueLegendaryPlayer", 0.25
DamageFactor "PlayerDevBall", 0.1
DamageFactor "PlayerDevTracer", 0.1
DamageFactor "PyroShot", 0.05
DamageFactor "Explosion", 0.05
DamageFactor "PlayerBHole", 0.03
DamageFactor "PlayerDTRG", 0.15
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "NemesispowerShard" 200
DropItem "nemesissphere" 128
DropItem "CommanderSuperSphere" 256
DropItem "VoidSoul" 256
DropItem "VoidSoul" 256
DropItem "DivineContract" 256
Translation "0:255=%[0.00,0.00,0.00]:[0.63,0.07,1.19]"
var int user_music;
States
	{
	Spawn:
	    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW A 3 Bright A_Look
		Loop
	Idle:
		TNT1 A 0 A_GiveInventory("ResetMonsterInvul",1)
		TNT1 A 0 A_ChangeFlag("FRIGHTENED",0)
		TNT1 A 0 A_ChangeFlag("NOFEAR",1)
		//TNT1 A 0 A_ChangeFlag("FRIENDLY",0)
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW AAAA 3 Bright A_Wander
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW BBBB 3 Bright A_Wander
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItemEx("DeathKnightStep",0,0,5,0,0,-20)
		ATHW CCCC 3 Bright A_Wander
		TNT1 A 0 A_Look
		ATHW DDDD 3 Bright A_Wander
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItemEx("DeathKnightStep",0,0,5,0,0,-20)
		Loop
	See:
		TNT1 A 0 A_GiveInventory("ResetMonsterInvul",1)
		TNT1 A 0 A_ChangeFlag("FRIGHTENED",0)
		TNT1 A 0 A_ChangeFlag("NOFEAR",1)
		//TNT1 A 0 A_ChangeFlag("FRIENDLY",0)
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_JumpIf(user_music == 1,3)
		TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1748,900)
		TNT1 A 0 A_SetUserVar("user_music",1)
		ATHW AAAA 3 Bright A_Chase
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		ATHW BBBB 3 Bright A_Chase
		TNT1 A 0 A_SpawnItemEx("DeathKnightStep",0,0,5,0,0,-20)
		ATHW CCCC 3 Bright A_Chase
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		ATHW DDDD 3 Bright A_Chase
		TNT1 A 0 A_SpawnItemEx("DeathKnightStep",0,0,5,0,0,-20)
		Loop
	Melee:
		TNT1 A 0 A_ChangeFlag(NOPAIN,1)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW FF 2 Bright A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW G 1 Bright A_PlaySound("weapons/hsgfire",CHAN_WEAPON,1.0,0)
		ATHW G 4 Bright A_PlaySound("weapons/hsgfire",7,1.0,0)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 AAAAAAAAAAAA 0 Bright A_CustomMissile("MonsterTracer2",Random(36,44),24,Random(6,-6),0)
		TNT1 AAAAAAAAAAAA 0 Bright A_CustomMissile("MonsterTracer2",Random(36,44),-24,Random(6,-6),0)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_CustomBulletAttack(15.4,10.6,20,Random(11,13),"LegModdedBulletPuff")
		ATHW I 1 Bright A_CustomBulletAttack(15.4,10.6,20,Random(3,5),"SSBulletPuff")
		TNT1 A 0 A_CustomBulletAttack(15.4,10.6,20,Random(11,13),"LegModdedBulletPuff")
		ATHW I 4 Bright A_CustomBulletAttack(15.4,10.6,20,Random(3,5),"SSBulletPuff")
		ATHW FF 5 Bright A_FaceTarget
		TNT1 AAAAAA 0 A_SpawnItemEx("SSGShellCasing",10,24,40,Random(2,4),Random(-3,-6),Random(3,6),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		TNT1 AAAAAA 0 A_SpawnItemEx("SSGShellCasing",10,-24,40,Random(2,4),Random(-3,-6),Random(3,6),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		ATHW FFFFF 1 A_Facetarget
		Goto See
	Missile:
	    TNT1 A 0 A_Jump(105,"CommanderSuperBalls","CommanderStarCombo")
		TNT1 A 0 A_ChangeFlag(NOPAIN,1)
		TNT1 A 0 A_PlaySound("weapons/charge15k",CHAN_WEAPON)
		ATHW FFFFF 7 Bright A_Facetarget
	Refire:
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire",5)
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 A_CustomMissile("CommanderExplosiveTracer",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("Commander10K",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("CommanderExplosiveTracer",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_SpawnItemEx("RifleCasing",10,24,40,Random(2,6),0,Random(1,3),Random(80,90),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW H 2 Bright A_Facetarget
		TNT1 A 0 A_PlaySound("weapons/bfg15kfire",6)
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 A_CustomMissile("CommanderExplosiveTracer",62,18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("Commander10K",random(36,44),0,Random(5,-5),0)
		TNT1 A 0 A_CustomMissile("CommanderExplosiveTracer",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_SpawnItemEx("RifleCasing",10,-24,40,Random(2,6),0,Random(1,3),Random(-80,-90),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		ATHW J 2 Bright A_Facetarget
		TNT1 A 0 A_MonsterRefire(230,"MissileEnd")
		TNT1 A 0 A_JumpIfCloser(400,"Melee")
		Loop
	MissileEnd:
		ATHW FFFFF 4 Bright A_Facetarget
		Goto See
	CommanderSuperBalls:
	    TNT1 A 0 A_PlaySound("weapons/charge15k",CHAN_WEAPON)
		ATHW FFFFF 7 Bright A_Facetarget
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 A_CustomMissile("PurpleBFG3500Ball",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("PurpleBFG3500Ball",62,-18,random(4,-8),CMF_TRACKOWNER)
		ATHW H 2 Bright A_Facetarget
		ATHW FFF 4 Bright A_Facetarget
		Goto See
	CommanderStarCombo:
	    TNT1 A 0 A_PlaySound("weapons/charge15k",CHAN_WEAPON)
		ATHW FFFFF 7 Bright A_Facetarget
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 A_CustomMissile("CyberCommanderPurpleStar",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("CyberCommanderPurpleStar",62,-18,random(4,-8),CMF_TRACKOWNER)
		ATHW H 2 Bright A_Facetarget
		ATHW FFFFF 7 Bright A_Facetarget
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 A_CustomMissile("CyberCommanderPurpleStar",62,-18,random(4,-8),CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("CyberCommanderPurpleStar",62,-18,random(4,-8),CMF_TRACKOWNER)
		ATHW H 2 Bright A_Facetarget
		ATHW FFF 4 Bright A_Facetarget
		Goto See
	Pain:
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_Pain
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		ATHW E 6 Bright
		Goto See
	Death:
	    TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"Death3")
		TNT1 A 0
		TNT1 A 0 A_TakeInventory("Tic",999999)
		ATHW A 35 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		TNT1 A 0 A_PlaySound("DeathKnight/step",5,1.0,0)
		ATHW E 105 A_Scream
		ATHW E 4 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		ATHW K 4 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		TNT1 A 0 A_PlaySound("DeathKnight/step",6,1.0,0)
		ATHW L 4 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		ATHW M 4 A_Fall
		TNT1 A 0 A_BossDeath
		TNT1 A 0 A_RemoveChildren
		TNT1 A 0 A_SpawnItemEx("AmmoSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,32)
		ATHW N -1
		Stop
	Death3:
		TNT1 A 0
		TNT1 A 0 A_SpawnItemEx("VoidMinionsBeacon",0,0,8,random(10,20),random(0,8),2,random(0,360),0,32)
		TNT1 A 0 A_TakeInventory("Tic",999999)
		ATHW A 35 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		TNT1 A 0 A_PlaySound("DeathKnight/step",5,1.0,0)
		ATHW E 105 A_Scream
		ATHW E 4 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		ATHW K 4 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		TNT1 A 0 A_PlaySound("DeathKnight/step",6,1.0,0)
		ATHW L 4 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
		ATHW M 4 A_Fall
		TNT1 A 0 A_BossDeath
		TNT1 A 0 A_RemoveChildren
		TNT1 A 0 A_SpawnItemEx("AmmoSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,32)
		ATHW N -1
		Stop
	}
}

Actor VoidKriegerEndGame : VoidKrieger
{
Health 8500
Mass 5000
Damagefactor 0.35
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256
DropItem "SuperArmorBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "SuperHealthBonus" 256 
DropItem "NemesispowerShard" 200
DropItem "nemesissphere" 128
DropItem "CommanderSuperSphere" 256
DropItem "VoidSoul" 256
DropItem "VoidSoul" 256
DropItem "DivineContract" 128
}

ACTOR PhaseWarlordVoidSoulsAbsorbed : PhaseWarlordIt
{ 
Health 9500
Speed 25
DropItem "BossLifeEssence" 256 
DropItem "BossArmorBonusMax" 256
Tag "\ctPhase Warlord\c- \c[u9](Souls of the Void Absorbed)\c-"
}

ACTOR PhaseOverlordVoidSoulsAbsorbed : PhaseOverlord3It
{ 
Health 9000
Speed 25
DropItem "BossLifeEssence" 256 
DropItem "BossArmorBonusMax" 256
Tag "\ctPhase Overlord\c- \c[u9](Souls of the Void Absorbed)\c-"
}

Actor PhaseExileVoidSoulsAbsorbed : PhaseExileIt
{
Health 7900
Speed 25
DropItem "BossLifeEssence" 256 
DropItem "BossArmorBonusMax" 256
Tag "\ctPhase Exile\c- \c[u9](Souls of the Void Absorbed)\c-"
}

ACTOR PhaseGhoulVoidSoulsAbsorbed : PhaseGhoulIt
{
Health 7650
Speed 25
DropItem "BossLifeEssence" 256 
DropItem "BossArmorBonusMax" 256
Tag "\ctPhase Ghoul\c- \c[u9](Souls of the Void Absorbed)\c-"
}

ACTOR RandomVoidMonsters : RandomSpawner
{
DropItem "TrueLegendaryCybruiserVoidPower", 256, 1
DropItem "TrueLegendaryArchonVoidPower", 256, 1
DropItem "TrueLegendaryDoomguyVoidPower", 256, 1
DropItem "TrueLegendaryChainsawZombieVoidPower", 256, 1
DropItem "TrueLegendaryCrusaderVoidPower", 256, 1
DropItem "TrueLegendaryNecromancerVoidPower", 256, 1
DropItem "TrueLegendaryKriegerVoidPower", 256, 1
+NOBLOCKMONST
}

Actor DimensionalPortal
{
Height 2
Radius 2
Speed 35
Scale 7.8
Renderstyle Translucent
Alpha 0.8
Damage (0)
+Ripper
+LookAllAround
+BloodlessImpact
+DontHurtSpecies
+DontHarmSpecies
Species "Void"
Damagetype "Void"
States
	{
	Spawn:
		TNT1 A 1
		TNT1 A 0 A_Stop
		TNT1 A 0 A_ScaleVelocity(0.0)
		TNT1 A 0 A_PlaySound("Warp/Spawn1",2,1.0,0)
		WPXH MLKJI 3 Bright
	Warping:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("Warp/Idle",3,1.0,0)
		WPXH AABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHH 1 Bright A_SpawnItemEx("WarpPortalFXGen",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("WarpedFXGen",0,0,0)
		TNT1 A 0 A_SpawnItemEx("RedLightning",0,0,0,random(1,4),0,0,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 A_PlaySound("Warp/Idle",0,1.0,0)
		WPXH ABCDEFGH 1 Bright A_CustomMissile("WarpShots",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
		WPXH AABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHH 1 Bright A_SpawnItemEx("WarpPortalFXGen",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("WarpedFXGen",0,0,0)
		TNT1 A 0 A_SpawnItemEx("NemesisLightning",0,0,0,random(1,4),0,0,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 A_PlaySound("Warp/Idle",0,1.0,0)
		WPXH ABCDEFGH 1 Bright A_CustomMissile("WarpShots",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
		WPXH AABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHH 1 Bright A_SpawnItemEx("WarpPortalFXGen",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("WarpedFXGen",0,0,0)
		TNT1 A 0 A_SpawnItemEx("RedLightning",0,0,0,random(1,4),0,0,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 A_PlaySound("Warp/Idle",0,1.0,0)
		WPXH ABCDEFGH 1 Bright A_CustomMissile("WarpShots",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
		WPXH IJKLM 3 Bright A_FadeOut(0.1,0)
		TNT1 A 0 A_PlaySound("Warp/Die",0,1.0,0)
		TNT1 A 1 A_SpawnItemEx("HEMRedFlare")
		Stop
	}
}

Actor DivineDimensionalPortal
{
Height 2
Radius 2
Speed 35
Scale 7.8
Renderstyle Translucent
Alpha 0.95
Damage (0)
+Ripper
+LookAllAround
+BloodlessImpact
+DontHurtSpecies
+DontHarmSpecies
Species "Divine"
Damagetype "Divine"
Translation "0:255=%[0.00,0.00,0.00]:[1.95,1.95,1.95]"
States
	{
	Spawn:
		TNT1 A 1
		TNT1 A 0 A_Stop
		TNT1 A 0 A_ScaleVelocity(0.0)
		TNT1 A 0 A_PlaySound("Warp/Spawn1",2,1.0,0)
		WPXH MLKJI 3 Bright
	Warping:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("Warp/Idle",3,1.0,0)
		WPXH AABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHH 1 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("WhiteNemesisKaboom",0,0,0)
		TNT1 A 0 A_SpawnItemEx("NemesisLightning",0,0,0,random(1,4),0,0,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 A_PlaySound("Warp/Idle",0,1.0,0)
		WPXH ABCDEFGH 1 Bright A_CustomMissile("NemesisCyberFlameSpawner2",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
		WPXH AABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHH 1 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("WhiteNemesisKaboom",0,0,0)
		TNT1 A 0 A_SpawnItemEx("NemesisLightning",0,0,0,random(1,4),0,0,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 A_PlaySound("Warp/Idle",0,1.0,0)
		WPXH ABCDEFGH 1 Bright A_CustomMissile("NemesisCyberFlameSpawner2",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
		WPXH AABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHH 1 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("WhiteNemesisKaboom",0,0,0)
		TNT1 A 0 A_SpawnItemEx("NemesisLightning",0,0,0,random(1,4),0,0,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 A_PlaySound("Warp/Idle",0,1.0,0)
		WPXH ABCDEFGH 1 Bright A_CustomMissile("NemesisCyberFlameSpawner2",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
		WPXH IJKLM 3 Bright A_FadeOut(0.1,0)
		TNT1 A 0 A_PlaySound("Warp/Die",0,1.0,0)
		TNT1 A 1 A_SpawnItemEx("NemesisCyberFlameSpawner2")
		Stop
	}
}


ACTOR RandomSuperBoss : RandomSpawner
{
DropItem "VoidReaper", 256, 1
DropItem "VoidKrieger", 256, 1
DropItem "DarkVoidBaron", 256, 1
DropItem "DarkVoidAssassin", 256, 1
}

ACTOR DamageTest1 : Cyberdemon
{
  Scale 1.0
  Health 10000
  PainChance 0
  Speed 5
  SeeSound "Clockwork/Sight"
  ActiveSound ""
  DeathSound "Clockwork/Death"
  Damagefactor 1.0
  RadiusDamagefactor 1.0
  +NOEXTREMEDEATH
  +NOPAIN
  +STANDSTILL
  Tag "\c[i7]Cyber Damage Test\c-"
  States 
  {    
  Spawn: 
	DESO A 10
	Loop 
  See: 
    DESO A 2 
    DESO A 2 
    DESO A 2 
    DESO B 2 
    DESO C 2 
    DESO C 2 
    DESO D 2 
    DESO D 2    
    Loop
  Missile:
    TNT1 A 0
	Goto See
Pain:
	TNT1 A 0
	Goto See
  Death:
	DESO D 10 A_Scream
    DESO D 10 A_NoBlocking 
	DESO D 5 A_KillMaster
	Stop  
  }
}

ACTOR DamageTest2 : DamageTest1
{
Health 1000
}

ACTOR DamageTest3 : DamageTest1
{
Health 20000
}

ACTOR DamageTest4 : DamageTest1
{
Health 50000
}

ACTOR DamageTest5 : DamageTest1
{
Health 100000
}

Actor TrueLegendaryDoomguyWithDivineForm : TrueLegendaryDoomguyIt
{
  DropItem "TrueLegendarySyringe" 120 1
  DropItem "LegAmmoSphere" 256
  DropItem "LegendaryPowerShard" 200
  DropItem "LegendaryRune" 228
  DropItem "LegendaryArmor" 200
  DropItem "ModdedBackPack" 256
  DropItem "LDemonAmmo" 256 200
  DropItem "TrueLegendaryBFGUpgrade" 100 1
  DropItem "TrueLegendaryRune" 256 1
  DropItem "TrueLegTimeFreezeSphere" 100 1
  DropItem "TrueLegAmmoSphere" 128 1
  DropItem "TrueLegendaryArmor" 120 1
  DropItem "LegendaryFusionCell" 55 1
  DropItem "Randomcontracttier4" 120 1
  DropItem "Randomcontracttier3" 120 1
  DropItem "Randomcontracttier2" 120 1
  DropItem "MysteriousBeacon" 80 1
States
  {
Death:
    TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"DivineTrasform")
	TNT1 A 0 A_ChangeFlag("Bright",0)
	TNT1 A 0 A_SpawnItemEx("RingOfRegenerationHalf",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCoachgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("LegendarySaber",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Assault Shotgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Plasmatic Rifle",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Plasmatic Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Behemoth Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Light Machine Gun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("LegendaryBFG10k",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("LegendaryQuadShotgunSpeed",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary BFG",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("True Legendary Railgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,128)
	TNT1 A 0 A_SpawnItemEx("True Legendary Plasmatic Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,128)
	TNT1 A 0 A_SpawnItemEx("LegendaryLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryBossLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryBossArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TLD0 H 5 A_Scream
	TLD0 I 5 A_NoBlocking
	TLD0 JK 5
	TLD0 L 5 A_SpawnItem("BodyCrash",0,0,0,0)
	TLD0 M 5
	TNT1 A 0 A_SpawnItemEx("LegDoomguySoulEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	TLD0 N 5 ACS_NamedExecuteAlways("DropDoll",0,75)
	TLD0 N 20
	TNT1 A 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	TLD0 N 1 A_SpawnItemEx("TrueLegendaryHeroSoul",0,0,16,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TELEFRAG)
	TLD0 N -1
	Stop
	DivineTrasform:
    TNT1 A 0 A_ChangeFlag("Bright",0)
	TNT1 A 0 A_SpawnItemEx("RingOfRegenerationHalf",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCoachgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("LegendarySaber",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Assault Shotgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Plasmatic Rifle",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Plasmatic Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Behemoth Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary Light Machine Gun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("LegendaryBFG10k",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("LegendaryQuadShotgunSpeed",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Legendary BFG",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("True Legendary Railgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,128)
	TNT1 A 0 A_SpawnItemEx("True Legendary Plasmatic Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,128)
	TNT1 A 0 A_SpawnItemEx("LegendaryLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryBossLifeEssence",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("LegendaryBossArmorBonusMax",0,0,12,random(0,8),random(0,8),2,random(0,360),0,200)
	TLD0 H 5 A_Scream
	TLD0 I 5 A_NoBlocking
	TLD0 JK 5
	TLD0 L 5 A_SpawnItem("BodyCrash",0,0,0,0)
	TLD0 M 5
	TNT1 A 0 A_SpawnItemEx("LegDoomguySoulEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	TLD0 N 5 ACS_NamedExecuteAlways("DropDoll",0,75)
	TLD0 N 20
	TNT1 A 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	TLD0 N 100
       TLD0 N 10 A_SpawnItemEx("NemesisLightning")
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 N 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 M 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 M 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 L 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	   TLD0 L 10 
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 K 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 K 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	   TLD0 J 10 
	   TLD0 J 0 A_SpawnItemEx("NemesisLightning")
	   TNT1 A 0 A_SpawnItem("MiniNemesisDeathBall")
	   TLD0 I 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 I 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	   TLD0 H 10 
	   TLD0 H 0 A_SpawnItemEx("NemesisLightning")
	   TNT1 A 0 A_SpawnItem("MiniNemesisDeathBall")
	   TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	   TLD0 H 10 
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
       TLD0 H 10
	   TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	   TLD0 H 10 
	   TLD0 H 0 A_SpawnItemEx("NemesisLightning")
	   TNT1 A 0 A_SpawnItem("NemesisDeathBall")
	   DLD0 A 10
	   DLD0 A 1 A_SpawnItemEx("DivineDoomguy",0,0,64,random(1,8),0,2,random(0,360),0,0)
	   Stop
	   }
}

Actor VitalityRuneResistanceForEnemies : PowerProtection
{
  DamageFactor "Normal", 0.75
}

Actor VitalityRuneResistanceForEnemiesGiver : PowerupGiver
{
  Inventory.MaxAmount 1
  Powerup.Duration -0x7FFFFFFD
  Powerup.Type "VitalityRuneResistanceForEnemies"
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.AUTOACTIVATE
}

Actor LegendaryRuneDamageForEnemies : PowerDamage
{
  DamageFactor "Normal", 1.5
}

Actor LegendaryRuneDamageForEnemiesGiver : PowerupGiver
{
  Inventory.MaxAmount 1
  Powerup.Duration -0x7FFFFFFD
  Powerup.Type "LegendaryRuneDamageForEnemies"
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.AUTOACTIVATE
}

Actor TrueLegendaryRuneResistanceForEnemies : PowerProtection
{
  DamageFactor "Normal", 0.65
}

Actor TrueLegendaryRuneDamageForEnemies : PowerDamage
{
  DamageFactor "Normal", 2.5
}

Actor TrueLegendaryRuneDamageForEnemiesGiver : PowerupGiver
{
  Inventory.MaxAmount 1
  Powerup.Duration -0x7FFFFFFD
  Powerup.Type "TrueLegendaryRuneDamageForEnemies"
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.AUTOACTIVATE
}

Actor TrueLegendaryRuneResistanceForEnemiesGiver : PowerupGiver
{
  Inventory.MaxAmount 1
  Powerup.Duration -0x7FFFFFFD
  Powerup.Type "TrueLegendaryRuneResistanceForEnemies"
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.AUTOACTIVATE
}

Actor UpgradedTrueLegendaryRuneDamageForEnemies : PowerDamage
{
  DamageFactor "Normal", 3.0
}

Actor UpgradedTrueLegendaryRuneDamageForEnemiesGiver : PowerupGiver
{
  Inventory.MaxAmount 1
  Powerup.Duration -0x7FFFFFFD
  Powerup.Type "UpgradedTrueLegendaryRuneDamageForEnemies"
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.AUTOACTIVATE
}