ACTOR BrutalCyberCobra : Cyberdemon
{
Health 40000
PainChance 4
PainChance "PDTBFG", 10
PainChance "SoulToxic", 10
PainChance "FatFlamer", 7
PainChance "FiendFire", 7
PainChance "Explosion", 7
Species "BrutalCybers"
Monster
Speed 25
+Boss
+noicedeath
+NOFEAR
+NORADIUSDMG
+NOEXTREMEDEATH
+MISSILEMORE
+MISSILEEVENMORE
+LookAllAround
+QUICKTORETALIATE
DropItem "DivineContract" 256
DropItem "BossLifeEssence" 256 25
DropItem "BossArmorBonusMax" 256 1
DropItem "GreaterDemonicEnergy" 128 200
DropItem "MissileBox" 128 20
DropItem "HackroidRifle" 90 1
DropItem "1337ASG" 90 1
Obituary "The Brutal Cyber Cobra wrecked %o."
DamageFactor "Cyber10K", 0.0
DamageFactor "PDTBFG", 0.4
DamageFactor "PDTBFGTracer", 0.4
DamageFactor "Ice", 0.2
DamageFactor "PyroShot", 0.15
DamageFactor "PlayerBHole", 0.15
DamageFactor "Cursed", 0.3
DamageFactor "Hackroid", 0.4
DamageFactor "Legendary", 0.35
DamageFactor "PlayerNemesisPlasma", 0.375
DamageFactor "TrueLegendaryDamage", 0.4
DamageFactor "TrueLegendaryPlayer", 0.4
DamageFactor 0.4
Tag "\c[s0]Brutal Cyber Cobra\c-"
SeeSound "monsters/clsee"
PainSound "monsters/cyberlordpain"
DeathSound "monsters/cldie"
var int user_music;
var int user_Healinglimit;
States 
{    
Spawn:
		TNT1 A 0
Idle:
		ALMA A 10 A_Look
		ALAA A 10 A_Look
		Loop
See: 
		TNT1 A 0 A_JumpIf(user_music == 1,3)
		TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,758,999)
		TNT1 A 0 A_SetUserVar("user_music",1)
        ALMA A 3 A_Playsound("monsters/clhoof")
        ALMA ABB 3 A_Chase		
        ALMA C 3 A_Playsound("monsters/clhoof") 
        ALMA CDD 3 A_Chase 		 
        Loop 
Missile:
        TNT1 A 0 A_Jump(128,"Seekers","NukeShots","Grenadier","SuperBalls","HackroidShots","CommanderBFG","CynetikBall")
		TNT1 A 0 A_JumpIfCloser(400,"Grenadier")
Normal:
        ALMA E 8 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CyberLordRocket", 40, 26, 0)
        ALMA F 5 Bright A_CustomMissile("DarkCyber15K", 40, -26, 0)
        ALMA E 5 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("DarkCyber15K", 40, 26, 0)
        ALMA F 5 Bright A_CustomMissile("CyberLordRocket", 40, -26, 0)
        ALMA E 5 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CyberLordRocket", 40, 26, 0)
        ALMA F 4 Bright A_CustomMissile("DarkCyber15K", 40, -26, 0)
        ALMA E 4 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("DarkCyber15K", 40, 26, 0)
        ALMA F 3 Bright A_CustomMissile("CyberLordRocket", 40, -26, 0)
        ALMA E 3 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CyberLordRocket", 40, 26, 0)
        ALMA F 3 Bright A_CustomMissile("DarkCyber15K", 40, -26, 0)
        ALMA E 3 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("DarkCyber15K", 40, 26, 0)
        ALMA F 3 Bright A_CustomMissile("CyberLordRocket", 40, -26, 0)
        ALMA E 3 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CyberLordRocket", 40, 26, 0)
        ALMA F 3 Bright A_CustomMissile("DarkCyber15K", 40, -26, 0)
		ALMA E 2 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("DarkCyber15K", 40, 26, 0)
        ALMA F 2 Bright A_CustomMissile("CyberLordRocket", 40, -26, 0)
        ALMA E 2 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CyberLordRocket", 40, 26, 0)
        ALMA F 2 Bright A_CustomMissile("DarkCyber15K", 40, -26, 0)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("DarkCyber15K", 40, 26, 0)
        ALMA F 1 Bright A_CustomMissile("CyberLordRocket", 40, -26, 0)
        ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CyberLordRocket", 40, 26, 0)
        ALMA F 1 Bright A_CustomMissile("DarkCyber15K", 40, -26, 0)
        ALMA E 5 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, 26, 0)
        ALMA F 1 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, -26, 0)
		ALMA E 0 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("AltMolochBFG2704", 40, 26, 0)
        ALMA F 1 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, -26, 0)
        ALMA E 5 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("AltMolochBFG2704", 40, 26, 0)
        ALMA F 1 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, -26, 0)
		ALMA E 12
		TNT1 A 0 A_Jump(128,"NukeShots","SuperBalls","EmpoweredShots","SuperLasers","HackroidShots","CommanderBFG","CynetikBall")
        Goto See
Seekers:
		ALMA E 12 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("SacroOverseerLightningBall", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("SacroOverseerLightningBall", 40, -26, 0)
        ALMA E 10 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("SacroOverseerLightningBall", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("SacroOverseerLightningBall", 40, -26, 0)
        ALMA E 10 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("SacroOverseerLightningBall", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("SacroOverseerLightningBall", 40, -26, 0)
        TNT1 A 0 Bright A_CustomMissile("SacroOverseerLightningBall", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("SacroOverseerLightningBall", 40, -26, 0)
        ALMA E 10 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("SacroOverseerLightningBall", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("SacroOverseerLightningBall", 40, -26, 0)
		ALMA E 12
		Goto See
CynetikBall:
		ALMA E 12 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CynetikBallEnemy", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("CynetikBallEnemy", 40, -26, 0)
        ALMA E 10 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CynetikBallEnemy", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("CynetikBallEnemy", 40, -26, 0)
        ALMA E 10 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CynetikBallEnemy", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("CynetikBallEnemy", 40, -26, 0)
        ALMA E 10 A_FaceTarget
		ALMA E 12
		Goto See
Grenadier:
		TNT1 A 0 A_Jump(128,"Normal","Seekers","NukeShots","SuperBalls","EmpoweredShots","SuperLasers","HackroidShots","CommanderBFG","CynetikBall")
        ALMA E 12 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
        TNT1 A 0 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("InsanityCydestroyerGrenade", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		ALMA E 12
		Goto See
EmpoweredShots:
        ALMA E 12 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("EmpoweredCyberBFG9500Ball", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("EmpoweredCydestroyerBFG15KBall", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("DarkAnniDTBFGBall", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("DarkAnniDTBFGBall", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		ALMA E 12
		Goto See
SuperLasers:
        ALMA E 12 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("TrueInsaneNoblelaser", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		ALMA E 12
		Goto See
HackroidShots:
        ALMA E 12 A_FaceTarget
        TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 3 A_FaceTarget
        TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 3 A_FaceTarget
        TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 3 A_FaceTarget
        TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 3 A_FaceTarget
        TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 3 A_FaceTarget
		TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 3 A_FaceTarget
		TNT1 AAAA 0 A_CustomMissile("1337SGTracer",Random(28,34),0,Random(6,-6),0)
	    ALMA F 2 Bright A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"1337ModdedBulletPuff")
		ALMA E 1 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 4 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 4 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 2 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 1 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 3 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 3 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 3 A_FaceTarget
		TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 3 A_FaceTarget
		TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		TNT1 A 0 Bright A_CustomMissile("1337ProjZ", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 3 Bright A_CustomMissile("1337ProjZ", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 1 A_FaceTarget
		ALMA E 12
		Goto See
SuperBalls:
		ALMA E 12 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("AltMolochBFG2704", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("InsanitySuperBall", 40, -26, 0)
        ALMA E 10 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("AltMolochBFG2704", 40, 26, 0)
        ALMA F 10 Bright A_CustomMissile("InsanitySuperBall", 40, -26, 0)
        ALMA E 10 A_FaceTarget
		ALMA E 12
		Goto See
CommanderBFG:
        ALMA E 20 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("CommanderPurpleDTBFG10KBall", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 10 Bright A_CustomMissile("CommanderPurpleDTBFG10KBall", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 10 A_FaceTarget
		ALMA E 12
		Goto See
NukeShots:
        ALMA E 20 A_FaceTarget
        TNT1 A 0 Bright A_CustomMissile("TerminatorEFGFusionNuke", 40, 26, 0, CMF_AIMOFFSET, 4.328125)
        ALMA F 10 Bright A_CustomMissile("TerminatorEFGFusionNuke", 40, -26, 0, CMF_AIMOFFSET, 4.328125)
		ALMA E 10 A_FaceTarget
		ALMA E 12
		Goto See
Pain:
		TNT1 A 0 A_Jump(100,"PainMissile")
        ALMA G 10 A_Pain
		TNT1 A 0 A_Jump(95,"Healing")
        Goto See
Healing:
        TNT1 A 0 A_JumpIf(user_Healinglimit >= 5,"See")
	    TNT1 A 0 A_SetUserVar(user_Healinglimit,user_Healinglimit+1)	
        TNT1 A 0 A_JumpIfInTargetInventory("NexusStrength",1,"TrueHealing")
        TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"TrueHealing")
        TNT1 A 0 A_ChangeFlag("NOPAIN",1)
        ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SetReflectiveInvulnerable
		TNT1 A 0 A_GiveInventory("Health",150)
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_GiveInventory("Health",75)
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_GiveInventory("Health",85)
		TNT1 A 0 A_SpawnItemEx("InsanityFlameSpawner")
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_GiveInventory("Health",85)
		TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_GiveInventory("Health",95)
		TNT1 A 0 A_SpawnItemEx("LegendaryCyberFlameSpawner")
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SpawnItem("DarkAnniFlameSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("Health",125)
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_UnSetReflectiveInvulnerable
		ALMA G 10 A_FaceTarget
        Goto Missile
TrueHealing:
        TNT1 A 0 A_ChangeFlag("NOPAIN",1)
        ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SetReflectiveInvulnerable
		TNT1 A 0 A_GiveInventory("Health",450)
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
		TNT1 A 0 A_GiveInventory("Health",275)
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 A_GiveInventory("Health",325)
		TNT1 A 0 A_SpawnItemEx("InsanityFlameSpawner")
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_GiveInventory("Health",355)
		TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_GiveInventory("Health",400)
		TNT1 A 0 A_SpawnItemEx("LegendaryCyberFlameSpawner")
		ALMA G 10 A_FaceTarget
		TNT1 A 0 A_SpawnItem("DarkAnniFlameSpawner",0,0,0,0)
		TNT1 A 0 A_GiveInventory("Health",425)
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TNT1 A 0 A_UnSetReflectiveInvulnerable
		ALMA G 10 A_FaceTarget
        Goto Missile
PainMissile:
		ALMA G 10 A_Pain
		TNT1 A 0 A_Jump(90,"Healing")
        Goto Missile
Death:
		ALMA G 10 A_Scream
		ALMA H 10 A_NoBlocking
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
        ALMA IIIII 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
        ALMA JJJJJ 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))		
        ALMA KKKKK 2 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)		
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
        ALMA LLLLL 1 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
        ALMA MMMMM 1 Bright A_CustomMissile("Kaboom", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
		TNT1 AAAA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
		TNT1 AAAAAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
		TNT1 AAAAAAAA 0 A_CustomMissile("SmokeFX3", Random(20,80), 0, random(0,360), 2, random(0,360))	
		TNT1 A 0 A_PlaySound("DMBall/Impact",0,1.0,0,ATTN_NONE)
	    TNT1 A 0 A_SpawnItemEx("BlackDeathSequence")
		TNT1 AA 0 A_SpawnItemEx("DCellPack",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 AA 0 A_SpawnItemEx("NewCellPack",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 AA 0 A_SpawnItemEx("NewCell",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("SphereOfPower",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("SuperCrate",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("BFG10K ",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Demon Tech Rifle",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Demon Tech BFG10K",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Truelegendaryrune",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("HackroidSphere",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("DemonicChalice",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("SkullOfPower",0,0,64,random(1,8),0,2,random(0,360),0,0)
        ALMA NO 5
        ALMA P -1 A_KillMaster
        Stop
AlwaysDrop:
		TNT1 A 0 A_SpawnItem("Grenade Launcher",0,12)
		Goto Death+3		
Crush:
	    BOCR A -1 A_PlaySound("gib/squish")
	    Stop
        }
}	

Actor INFBrutalCyberCobra : BrutalCyberCobra
{
Tag "\c[s0]Brutal Cyber Cobra\c-"
States
{
Spawn:
		TNT1 A 0
	    TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("SimpleProgSys") == 0,2)
        TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RuneTier3SpawnCheck") == 2,1)
		Goto Remove
Idle:
		ALMA A 10 A_Look
		ALAA A 10 A_Look
		Loop
Remove:
		TNT1 A 1
		TNT1 A 0 A_SpawnItemEx("cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
		TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
		TNT1 A 0
		Stop
	}
}