ACTOR CyberBishop : Cyberlord
{
//Creator: NaturalxCF
//Origin: Nexus Infinity
//Sprite: CYBI
//Title: "Cyber Bishop" 
Health 8000
Speed 20
PainChance 10
MinMissileChance 160
DamageFactor "PDTBFG", 0.1
DamageFactor "PDTBFGTracer", 0.3
DamageFactor "PlayerDevBall", 0.05
DamageFactor "PlayerDevBall2", 0.05
DamageFactor "PlayerDevTracer", 0.05
DamageFactor 0.5
DropItem "BossLifeEssence" 256 25
DropItem "BossArmorBonusMax" 256 1
DropItem "PlasmaEnergy" 256 20
DropItem "GreaterPlasmaEnergy" 250
DropItem "BFG10K " 178 1
DropItem "BFG9500" 180 1
Obituary "%o was killed by CyberBishop."
Tag "\c[i6]Cyber Bishop\c-"
+MISSILEMORE
+MISSILEEVENMORE
States
{
  Spawn:
    CYBI AB 10 A_Look
    Loop
  See:
    CYBI A 3 A_Metal
    CYBI ABBCC 3 A_Chase
    CYBI D 3 A_Metal
    CYBI D 3 A_Chase
    Loop
  Missile:
	TNT1 A 0 A_Jump(128,"M79","BFG9K","BFG10K","Homers")
	TNT1 A 0 A_Jump(8,"Nukes")
    CYBI E 6 A_FaceTarget
    CYBI F 0 A_custommissile("CyberLordRocket",64,-24,0)
    CYBI F 0 A_custommissile("CyberLordRocket",64,24,0)
    CYBI F 0 A_custommissile("CyberLordRocket",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 12 A_custommissile("CyberLordRocket",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 12 A_FaceTarget
    CYBI F 0 A_custommissile("CyberLordRocket",64,-24,0,CMF_AIMDIRECTION,-2)
    CYBI F 0 A_custommissile("CyberLordRocket",64,24,0,CMF_AIMDIRECTION,-2)
    CYBI F 0 A_custommissile("CyberLordRocket",64,32,0)
    CYBI F 12 A_custommissile("CyberLordRocket",64,-32,0)
    CYBI E 12 A_FaceTarget
    CYBI F 0 A_custommissile("CyberLordRocket",64,-24,0)
    CYBI F 0 A_custommissile("CyberLordRocket",64,24,0)
    CYBI F 0 A_custommissile("CyberLordRocket",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 12 A_custommissile("CyberLordRocket",64,-32,0,CMF_AIMDIRECTION,-2)
    Goto See
  Homers:
    CYBI E 6 A_FaceTarget
    CYBI F 0 A_custommissile("CyberLordHomer",64,-24,0)
    CYBI F 0 A_custommissile("CyberLordHomer",64,24,0)
    CYBI F 0 A_custommissile("CyberLordHomer",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 12 A_custommissile("CyberLordHomer",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 12 A_FaceTarget
    CYBI F 0 A_custommissile("CyberLordHomer",64,-24,0,CMF_AIMDIRECTION,-2)
    CYBI F 0 A_custommissile("CyberLordHomer",64,24,0,CMF_AIMDIRECTION,-2)
    CYBI F 0 A_custommissile("CyberLordHomer",64,32,0)
    CYBI F 12 A_custommissile("CyberLordHomer",64,-32,0)
    CYBI E 12 A_FaceTarget
    CYBI F 0 A_custommissile("CyberLordHomer",64,-24,0)
    CYBI F 0 A_custommissile("CyberLordHomer",64,24,0)
    CYBI F 0 A_custommissile("CyberLordHomer",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 12 A_custommissile("CyberLordHomer",64,-32,0,CMF_AIMDIRECTION,-2)
    Goto See
  M79:
    CYBI EEEEE 8 A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("M79/Fire")
    CYBI F 0 A_custommissile("ZM79Grenade",64,-24,0)
    CYBI F 0 A_custommissile("ZM79Grenade",64,24,0)
    CYBI F 0 A_custommissile("ZM79Grenade",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 12 A_custommissile("ZM79Grenade",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 12
    Goto See
  BFG9K:
	TNT1 A 0 A_PlaySound("weapons/bfgf")
    CYBI EEEEE 5 A_FaceTarget
    CYBI F 0 A_custommissile("SentientBFG9500Ball",64,-24,0)
    CYBI F 0 A_custommissile("SentientBFG9500Ball",64,24,0)
    CYBI F 0 A_custommissile("SentientBFG9500Ball",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 12 A_custommissile("SentientBFG9500Ball",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 12
    Goto See
  BFG10k:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
    CYBI EEEEE 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    CYBI F 0 A_custommissile("Cardinal10K",64,-24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,24,0)
    CYBI F 0 A_custommissile("Cardinal10K",64,32,0,CMF_AIMDIRECTION,-2)
    CYBI F 8 A_custommissile("Cardinal10K",64,-32,0,CMF_AIMDIRECTION,-2)
    CYBI E 12
    Goto See
  Pain:
    CYBI A 10 A_Pain
    Goto See
  Death:
	CYBI G 10 A_Scream
	CYBI 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))
	CYBI 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))
	CYBI 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))		
	CYBI 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))
	CYBI 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))
	CYBI 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))	
	CYBI NO 5
	CYBI O -1 A_BossDeath
	Stop
  }
}