ACTOR DarkVoidBaron : PlaguedBruiserDemon
{ 
  Health 8000
  PainChance 7
  BloodColor "Purple"
  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.2
DamageFactor "TrueLegendaryDamage", 0.3
DamageFactor "TrueLegendaryPlayer", 0.3
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
  MeleeDamage 80
  Scale 1.15
  +Boss
  +LookAllAround
  +noicedeath
  +FASTMELEE
  +NOFEAR
  +NOTIMEFREEZE
  +NORADIUSDMG
  +BRIGHT
  +NOTARGET
  +MISSILEMORE
  Obituary "%o Had his soul taken to the Eternal Dark Void by the \c[u9]Dark Void Baron\c-."
  HitObituary "%o Had his soul taken to the Eternal Dark Void by the \c[u9]Dark Void Baron\c-."
  Tag "\c[u9]Dark Void Baron\c-"
  Translation "0:255=%[0.00,0.00,0.00]:[0.23,0.00,0.49]"
  var int user_music;
  States
  {
  Spawn:
    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB AA 5 A_Look
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBI AA 5 A_Look
	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)
	PLBB AABB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB CCDD 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	TNT1 A 0 A_Jump(70,"Rush")
	Loop
  Rush:
	TNT1 A 0 A_UnHideThing
	TNT1 A 0 A_SetTranslucent(1)
	PLBB A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB A 1 A_Chase
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB B 1 A_Chase
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB C 1 A_Chase
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	PLBB D 1 A_Chase
	PLBB D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	TNT1 A 0 A_Jump(84,"See")
	Loop
  Missile:
	TNT1 A 0 A_Jump(128,"LargeBall","Comets","LargeComet")
	TNT1 A 0 A_Jump(64,"LargeComets","SuperFloorFire","FinalAttack")
  Normal:
    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB EF 6 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB G 1 A_CustomMissile("CommanderAntiMatterMissile",32,0,0)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,-0)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,-5)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,-5)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,5)
	PLBB G 5 A_CustomMissile("CommanderAntiMatterMissile",32,0,5)
	PLBB HI 6 A_FaceTarget	
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB J 1 A_CustomMissile("CommanderAntiMatterMissile",32,0,0)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,-0)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,-5)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,-5)
	TNT1 A 0 A_CustomMissile("CommanderAntiMatterMissile",32,0,5)
	PLBB J 5 A_CustomMissile("CommanderAntiMatterMissile",32,0,5)
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_Jump(100,"Comets")
	Goto See
  LargeBall:
    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB EF 10 A_FaceTarget
	PLBB G 5 A_CustomMissile("CommanderPyroShot",32,0,0)
	PLBB HI 6 A_FaceTarget
	PLBB J 5 A_CustomMissile("CommanderPyroShot",32,0,0)
	PLBB EF 6 A_FaceTarget
	PLBB G 5 A_CustomMissile("CommanderPyroShot",32,0,0)
	TNT1 A 0 A_Jump(100,"Comets","LargeComet")
	Goto See
  Comets:
    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB KL 10 A_FaceTarget  
	PLBB M 2 A_CustomMissile("CyberCommanderPurpleStar",32,0,0)
	TNT1 A 0 A_CustomMissile("CyberCommanderPurpleStar",32,0,10)
	PLBB M 4 A_CustomMissile("CyberCommanderPurpleStar",32,0,-10)
	TNT1 A 0 A_Jump(128,"See","Normal")
	PLBB LKL 7 A_FaceTarget  
	PLBB M 2 A_CustomMissile("CyberCommanderPurpleStar",32,0,0)
	TNT1 A 0 A_CustomMissile("CyberCommanderPurpleStar",32,0,10)
	PLBB M 4 A_CustomMissile("CyberCommanderPurpleStar",32,0,-10)
	Goto See
  LargeComet:
    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB KL 10 A_FaceTarget  
	PLBB M 10 A_CustomMissile("PurpleBFG3500Ball",32,0,0)
	TNT1 A 0 A_Jump(128,"See","LargeBall")
	PLBB LKL 10 A_FaceTarget  
	PLBB M 10 A_CustomMissile("PurpleBFG3500Ball",32,0,0)
	Goto See
  LargeComets:
    TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("superbaron/scream")
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	PLBB L 12
	PLBB M 2 A_CustomMissile("PurpleBFG3500Ball",32,0,0)
	TNT1 A 0 A_CustomMissile("PurpleBFG3500Ball",32,0,12)
	PLBB M 16 A_CustomMissile("PurpleBFG3500Ball",32,0,-12)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(100,"SuperFloorFire")
	Goto See
  SuperFloorFire:
    TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("superbaron/scream")
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 6 A_SpawnItemEx("PlagueAttackFireSpawner")  
	PLBB KL 10 Bright A_FaceTarget 	
	PLBB M 0 A_Custommissile("PBruiserFireSpawner",16,0,0)
	PLBB M 0 A_Custommissile("PBruiserFireSpawner",16,0,8)
	PLBB M 0 A_Custommissile("PBruiserFireSpawner",16,0,-8)
	PLBB M 0 A_Custommissile("PBruiserFireSpawner",16,0,16)
	PLBB M 0 A_Custommissile("PBruiserFireSpawner",16,0,-16)
	PLBB M 8 Bright A_FaceTarget
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
	FinalAttack:
    TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 10 A_SpawnItemEx("PlagueAttackFireSpawner")  
	TNT1 A 0 A_FaceTarget
	PLBB K 7 A_SpawnItemEx("PlagueAttackFireSpawner") 
	TNT1 A 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	PLBB L 6 A_FaceTarget
	PLBB M 10 A_CustomMissile("CyberCommanderDoomsdayCannon",32,0,0)
	PLBB M 10 A_FaceTarget
	Goto See
  Melee:
	PLBB EF 8 A_FaceTarget
	PLBB G 7 A_MeleeAttack
	Goto See
  Pain:
	PLBB N 4 A_Pain
	TNT1 A 0 A_Jump(80,"Missile")
	Goto See
  Death: 
	PLBD A 7
	PLBD B 6 A_Scream 
	PLBD D 5 A_Fall 
	TNT1 AAAA 0 A_CustomMissile("SmokeFX", Random(30,60), 0, random(0,360), 2, random(0,360))  
	TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("PlagueBruiserPoisonCloudLarge",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	PLBD EFGHIJKL 4 A_SpawnItemEx("PlagueDeathParticleSpawner", Random(10,-10), Random(10,-10), Random(30,60), 0, 0, 0, 0, 128)  
	TNT1 A 0 A_ChangeFlag("BRIGHT",0)
	PLBD MNOP 4
	PLBD QRST 3
	PLBD V 3 A_SpawnItem("BodyCrash")
	PLBD W -1 A_KillMaster
	Stop 
  Raise:
	Stop
	}
}

ACTOR DarkVoidBaronEndGame : DarkVoidBaron
{ 
  Health 8000
  PainChance 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" 128
DropItem "DarkVoidArmor" 130 1
}