ACTOR LegendaryDesolator : Desolator //Wait this isn't butter, it's yellow poop!
{
//Creator: GDWolf
//Origin: Complex Very Strong Monsters
//Sprite: L9L3/L933
//Title: "Legendary Desolator"
  Health 6000
  PainChance 30
  PainChance "PDTBFG", 20
  PainChance "SoulToxic", 10
  PainChance "FatFlamer", 10
  PainChance "FiendFire", 10
  PainChance "Explosion", 70
  Species "Cybers"
  DropItem "BossLifeEssence" 200 25
  DropItem "BossArmorBonusMax" 200 1
  DropItem "PlasmaEnergy" 256 20
  DropItem "GreaterPlasmaEnergy" 250
  DropItem "BFG10K " 200
  DropItem "Railgun " 184 1
  Obituary "%o was overwhelmed by the Legendary Deasolator."
  DamageFactor "Cyber10K", 0.0
  DamageFactor "PDTBFG", 0.5
  DamageFactor "PDTBFGTracer", 0.8
  Tag "\c[z3]Legendary Desolator\c-"
  States 
  {    
  Spawn:
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	L9L3 AA 10 A_Look
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	L933 AA 10 A_Look
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
    Loop 
  See: 
 	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
    L9L3 A 3 A_Playsound("monsters/clhoof")
    L9L3 ABB 3 A_Chase	
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
    L9L3 C 3 A_Playsound("monsters/clhoof") 
    L9L3 CDD 3 A_Chase 		 
    Loop 
  Missile:
	TNT1 A 0 A_Jump(128,"Seekers","Railgun","10kTracer","15kBall",/*"DTBFG",*/"BFG9500")
  Normal:
    L9L3 E 12 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryRocket", 40, 26, 0)
    L9L3 F 8 Bright A_CustomMissile("LegendaryRocket", 40, -26, 0)
    L9L3 E 8 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryRocket", 40, 26, 0)
    L9L3 F 4 Bright A_CustomMissile("LegendaryRocket", 40, -26, 0)
    L9L3 E 4 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryRocket", 40, 26, 0)
    L9L3 F 2 Bright A_CustomMissile("LegendaryRocket", 40, -26, 0)
    L9L3 E 2 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryRocket", 40, 26, 0)
    L9L3 F 1 Bright A_CustomMissile("LegendaryRocket", 40, -26, 0)
	L9L3 E 1
	TNT1 A 0 A_Jump(128,"Seekers")
    Goto See
  Seekers:
	L9L3 E 12 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryHomingRocket", 40, 26, 0)
    L9L3 F 10 Bright A_CustomMissile("LegendaryHomingRocket", 40, -26, 0)
    L9L3 E 7 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryHomingRocket", 40, 26, 0)
    L9L3 F 7 Bright A_CustomMissile("LegendaryHomingRocket", 40, -26, 0)
    L9L3 E 4 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryHomingRocket", 40, 26, 0)
    L9L3 F 4 Bright A_CustomMissile("LegendaryHomingRocket", 40, -26, 0)
    L9L3 E 2 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryHomingRocket", 40, 26, 0)
    L9L3 F 2 Bright A_CustomMissile("LegendaryHomingRocket", 40, -26, 0)
	L9L3 E 1
	Goto See
  Railgun:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	L9L3 EE 10 A_FaceTarget
	L9L3 E 10 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 10 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 3 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 5 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 3 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 3 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 2 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 3 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 2 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 2 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 2 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 1 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberRail", 40, 26, 0)
    L9L3 F 1 Bright A_CustomMissile("LegendaryCyberRail", 40, -26, 0)
	L9L3 E 1
	Goto See
  10kTracer:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	L9L3 E 18 A_FaceTarget
	L9L3 E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 6 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 6 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 5 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 5 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 4 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 4 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 3 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 3 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 3 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 3 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 2 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    TNT1 A 0 A_CustomMissile("Legendary10kprojectile", 40, 26, random(-4,4))
    L9L3 F 2 Bright A_CustomMissile("Legendary10kprojectile", 40, -26, random(-4,4))
    L9L3 E 2 A_FaceTarget
	L9L3 E 2
	TNT1 A 0 A_Jump(64,"BFG9500")
	Goto See
  15kBall:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	L9L3 E 18 A_FaceTarget
	L9L3 E 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 6 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
	L9L3 F 6 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 4 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 4 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 4 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 4 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 3 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 3 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 3 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 3 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
	L9L3 F 2 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 2 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 2 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 2 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 1 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 1 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 1 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 1 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegendaryCyberBFG15KBall", 40, 26, random(-4,4))
    L9L3 F 1 Bright A_CustomMissile("LegendaryCyberBFG15KBall", 40, -26, random(-4,4))
    L9L3 E 1 A_FaceTarget
	L9L3 E 12
	TNT1 A 0 A_Jump(64,"BFG9500")
	Goto See
  BFG9500:
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	L9L3 E 15 A_FaceTarget
	L9L3 E 12 A_FaceTarget
	L9L3 F 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegCyberBFG9500Ball", 40, 26, 0)
    L9L3 F 4 Bright A_CustomMissile("LegCyberBFG9500Ball", 40, -26, 0)
	L9L3 E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	L9L3 E 15 A_FaceTarget
	L9L3 E 12 A_FaceTarget
	L9L3 F 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegCyberBFG9500Ball", 40, 26, 0)
    L9L3 F 4 Bright A_CustomMissile("LegCyberBFG9500Ball", 40, -26, 0)
	L9L3 E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	L9L3 E 15 A_FaceTarget
	L9L3 E 12 A_FaceTarget
	L9L3 F 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegCyberBFG9500Ball", 40, 26, 0)
    L9L3 F 4 Bright A_CustomMissile("LegCyberBFG9500Ball", 40, -26, 0)
	L9L3 E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	L9L3 E 15 A_FaceTarget
	L9L3 E 12 A_FaceTarget
	L9L3 F 6 A_FaceTarget
    TNT1 A 0 A_CustomMissile("LegCyberBFG9500Ball", 40, 26, 0)
    L9L3 F 4 Bright A_CustomMissile("LegCyberBFG9500Ball", 40, -26, 0)
	L9L3 E 12
	Goto See
  Pain:
	TNT1 A 0 A_Jump(61,"PainMissile")
    L9L3 G 10 A_Pain
    Goto See
  PainMissile:
	L9L3 G 10 A_Pain
    Goto Missile
  Death:
	L9L3 G 10 A_Scream
	L9L3 H 10 A_NoBlocking
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
    L9L3 IIIII 2 Bright A_CustomMissile("BlueKaboom3", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
    L9L3 JJJJJ 2 Bright A_CustomMissile("BlueKaboom3", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)		
    L9L3 KKKKK 2 Bright A_CustomMissile("BlueKaboom3", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)		
    L9L3 LLLLL 1 Bright A_CustomMissile("BlueKaboom3", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
    L9L3 MMMMM 1 Bright A_CustomMissile("BlueKaboom3", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AAAA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAAAAAAA 0 A_CustomMissile("DeathBall2", Random(20,80), 0, random(0,360), 2, random(0,360))	
    L9L3 NO 5
	TNT1 A 0 A_BossDeath
    L9L3 P -1 A_KillMaster
    Stop		
  Crush:
	BOCR A -1 A_PlaySound("gib/squish")
	Stop
    }
}	
