ACTOR BattleLord //Not as good as in GC but hey he lives!
{
//Creator: Complex Doom CF 3.0 Team
//Origin: Complex Doom CF 3.0 Aprilfools
//Sprite: LORD
//Title: "Battlelord"
Monster
Health 9666
Radius 38
Height 64
Mass 5555
Speed 10
MaxStepHeight 384
MinMissileChance 100//160
PainChance 7
Painchance "Crush", 256
Painchance "Mine", 256
Painchance "Explosion", 256
PainChance "NuclearFire", 256
Painchance "SatanGuard", 0
Species "Cybers"
DamageFactor "Player", 0.05
DamageFactor "Players", 0.05
DamageFactor "PDTPuff", 0.05
DamageFactor "PyroShot", 0.05
DamageFactor "PlayerPyro", 0.05
DamageFactor "PlayerBHole", 0.05
DamageFactor "PlayerDBFG", 0.05
DamageFactor "PlayerDBFG2", 0.05
DamageFactor "PlayerDevBall", 0.05
DamageFactor "PlayerDevBall2", 0.05
DamageFactor "PlayerDevTracer", 0.05
DamageFactor "BFGSplash", 0.5
DamageFactor "PDTBFG", 0.5
DamageFactor "PDTBFGTracer", 0.5
DamageFactor "Legendary", 0.015
DamageFactor "LegendaryPlayer", 0.015
DamageFactor "SuperWeapon", 0.0
DamageFactor "LegendaryGuru", 0.015
DamageFactor "LegendaryGuruPlayer", 0.015
DamageFactor 0.75
//No infighting
DamageFactor "SatanGuard", 0.0
Damagefactor "Moloch", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "SoapOpera", 0.0 
Damagefactor "ZombieDev", 0.0
DamageFactor "Hell", 0.0
DamageFactor "HFCyber", 0.0
DropItem "BossLifeEssence", 128
DropItem "BossArmorBonusMax", 128
DropItem "Backpack", 200
DropItem "MissileBox" 96, 100
DropItem "Missile" 196, 5
DropItem "AmmoSphere" 100, 5
Dropitem "RapidRocketlauncher", 128
Dropitem "HellStormLauncher", 128
Dropitem "HellsExpensiveContract", 128
SeeSound "BattleLord/see"
PainSound "BattleLord/pain"
DeathSound "BattleLord/die"
Obituary "%o could not go up against the Battlelord's weapons."
Tag "\ceBattlelord\c-"
+BOSS
+NOFEAR
+BOSSDEATH
+NOICEDEATH
+NOTIMEFREEZE
+NOTARGET
+DONTMORPH
+TELESTOMP
+NOTELEFRAG
+NORADIUSDMG
+MISSILEMORE
+MISSILEEVENMORE
+QUICKTORETALIATE
+NEVERRESPAWN
+DROPOFF
+DONTHURTSPECIES
+DONTHARMSPECIES
var int user_currenthp;
States
	{
	Spawn:
		LORD A 10 A_Look
		TNT1 A 0 A_JumpIfHealthLower(ACS_NamedExecuteWithResult("Hem_SpawnHealth"),"Idle")
		Loop
	Idle:
		TNT1 A 0 A_UnHideThing
		TNT1 A 0 A_TakeInventory("Tic",999999)
		TNT1 A 0 A_ChangeFlag(NOPAIN,0)
		LORD AA 3 A_Wander
		TNT1 A 0 A_Look
		LORD BB 3 A_Wander
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItem("BeefyStep",0,0,0,0)
		LORD CC 3 A_Wander
		TNT1 A 0 A_Look
		LORD DD 3 A_Wander
		TNT1 A 0 A_Look
		TNT1 A 0 A_SpawnItem("BeefyStep",0,0,0,0)
		TNT1 A 0 Healthing(1)
		TNT1 A 0 A_GiveInventory("InfightingCheck",1)
		Loop
	See:
		TNT1 A 0 A_UnHideThing
		LORD AABB 3 A_Chase
		TNT1 A 0 A_SpawnItem("BeefyStep",0,0,0,0)
		LORD CCDD 3 A_Chase
		TNT1 A 0 A_SpawnItem("BeefyStep",0,0,0,0)
		TNT1 A 0 A_ChangeFlag(NOPAIN,0)
		TNT1 A 0 A_JumpIfInventory("Tic",88,"Idle")
		TNT1 A 0 A_GiveInventory("Tic",1)
		TNT1 A 0 A_GiveInventory("InfightingCheck",1)
		Loop
	Missile:
		TNT1 A 0 A_UnHideThing
		TNT1 A 0 A_TakeInventory("Tic",999999)
		TNT1 A 0 A_Jump(128,2)
		TNT1 A 0 A_JumpIfTargetInLOS("HellStormMini",90,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,1500)
		TNT1 A 0 A_Jump(128,2)
		TNT1 A 0 A_JumpIfTargetInLOS("HellStorm",90,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,250)
		TNT1 A 0 A_Jump(120,"Grenadier")
	Normal:
 		LORD EEEE 5 Bright A_FaceTarget(45)
		TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	NormalLoop:
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire",6,0.7)
		TNT1 A 0 A_PlaySound("MiniRocketFire",7,1.0,0)
		LORD E 4 Bright A_CustomMissile("BLMiniRocket",38,30,frandom(-2.0,2.0),CMF_OFFSETPITCH,frandom(-0.5,0.5))
		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire",6,0.7)
		TNT1 A 0 A_PlaySound("MiniRocketFire",7,1.0,0)
		LORD F 4 Bright A_CustomMissile("BLMiniRocket",38,30,frandom(-2.0,2.0),CMF_OFFSETPITCH,frandom(-0.5,0.5))
 		LORD F 1 Bright A_SpidRefire
		TNT1 A 0 A_GiveInventory("MonsterStrafe")
 		Loop
	Grenadier:
	 	LORD G 1 Bright A_JumpIfCloser(800,1)
		Goto Normal
		TNT1 A 0 A_ChangeFlag(NOPAIN,0)
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
 		LORD H 6 A_CustomMissile("CyberLordGrenade",40,26,random(-2,2),CMF_AIMOFFSET,4.328125)
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
 		LORD H 6 A_CustomMissile("CyberLordGrenade",40,26,random(-2,2),CMF_AIMOFFSET,4.328125)
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
 		LORD H 6 A_CustomMissile("CyberLordGrenade",40,26,random(-2,2),CMF_AIMOFFSET,4.328125)
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
 		LORD H 6 A_CustomMissile("CyberLordGrenade",40,26,random(-2,2),CMF_AIMOFFSET,4.328125)
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
 		LORD H 6 A_CustomMissile("CyberLordGrenade",40,26,random(-2,2),CMF_AIMOFFSET,4.328125)		
 		Goto See
	HellStorm:
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 Bright A_PlaySound("HellStorm/Fire",6)
 		LORD H 6 A_CustomMissile("MHellStormBomb",40,26,frandom(-2.0,2.0),CMF_TRACKOWNER|CMF_OFFSETPITCH,4.328125)
 		LORD G 6 Bright A_Facetarget
 		LORD G 6 A_Facetarget
		LORD G 6
 		Goto See
	HellStormMini:
		TNT1 A 0 A_ChangeFlag(NOPAIN,0)
 		LORD G 6 Bright A_Facetarget
 		TNT1 A 0 A_PlaySound("HellStorm/Fire",6)
		TNT1 AAAAAAAA 0 A_CustomMissile("MHellStormBomb1",40,26,random(-11,11),CMF_TRACKOWNER|CMF_OFFSETPITCH,frandom(-3.0,3.0))
 		LORD H 6 Bright A_Facetarget
 		LORD G 6 A_Facetarget
 		LORD G 6 A_Facetarget
		LORD G 6
 		Goto See
	Pain:
		TNT1 A 0 A_Jump(64,"NoPainShield")
	PainShield:
		TNT1 A 0 A_GiveInventory("BigSuperZombieShieldSphere",1)
	NoPainShield:
		TNT1 A 0 A_Jump(87,"PainMissile")
		TNT1 A 0 A_ChangeFlag(NOPAIN,1)
		LORD I 4 A_Pain
		Goto See
	PainMissile:
		TNT1 A 0 A_ChangeFlag(NOPAIN,1)
		LORD I 4 A_Pain
		TNT1 A 0 A_Jump(128,"HellStorm")
		Goto Missile		
	Death:
		LORD I 10 A_Scream
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",random(-10,10),random(-10,10),random(20,60),0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud",random(10,80),0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		LORD IIIII 2 Bright A_CustomMissile("Kaboom",random(20,80),random(-20,20),random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",random(-10,10),Random(-10,10),random(20,60),0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud",random(10,80),0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		LORD JJJJJ 2 Bright A_CustomMissile("Kaboom",random(20,80),random(-20,20),random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",random(-10,10),Random(-10,10),random(20,60),0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud",random(10,80),0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		LORD KKKKK 2 Bright A_CustomMissile("Kaboom",random(20,80),random(-20,20),random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",random(-10,10),random(-10,10),random(20,60),0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud",random(10,80),0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		LORD LLLLL 2 Bright A_CustomMissile("Kaboom",random(20,80),random(-20,20),random(0,360),CMF_AIMDIRECTION,random(0,360))
		LORD M 10 A_Noblocking
		TNT1 A 0 A_KillMaster
		TNT1 A 0 A_BossDeath
		LORD N 63000 Canraise A_SetFloorClip
		"####" "#" 5 A_FadeOut(0.1,1)
		Wait
	}
}

Actor BLMiniRocket : MiniRocket
{
Damage 24
-STRIFEDAMAGE
+FORCERADIUSDMG
Damagetype "SatanGuard"
}