Actor NemesisBeheadedKamikaze //Wait... this guy cant suicide?? HUH?!!
{
MONSTER
Health 1250
Height 56
Radius 20
Mass 150
Speed 29
BloodColor "Black"
MeleeRange 44
MeleeThreshold 100
MaxTargetRange 1200
painchance 20
Painchance "Legendary", 0
Painchance "Legendary1", 0
Species "LegendaryZombie"
DamageType "Legendary"
DamageFactor "PlayerDTRG", 0.5
DamageFactor "PDTBFG", 0.25
DamageFactor "PDTBFGTracer", 0.25
DamageFactor "PlayerDevBall", 0.125
DamageFactor "PlayerDevBall2", 0.125
DamageFactor "PlayerDevTracer", 0.125
DamageFactor "PlayerDBFG2", 0.65
DamageFactor "PlayerDBFG10K2", 0.65
DamageFactor "PlayerDBFGSplash2", 0.65
DamageFactor "LegendaryPlayer", 0.3
DamageFactor "LegendaryGuruPlayer", 0.3
DamageFactor 0.5
//No Infighting
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LACGrenade", 0.0
DamageFactor "LSSGGrenade", 0.0
DamageFactor "GeneralTracer", 0.0
DamageFactor "ZombieCannon", 0.0
DamageFactor "ZombieRocket", 0.0
DamageFactor "Hell", 0.0
DamageFactor "EMGEx", 0.0
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "Explosion", 0.2
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "PDTPuff", 0.4
DamageFactor "RailG", 0.3
DamageFactor "T3rm", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "Fuck", 0.0
DropItem "LegAmmoSphere", 93
DropItem "LegendarySphere", 64
DropItem "LegendaryRune" 64
DropItem "Legendary C4" 70 1
Seesound "suicide/sit"
Attacksound "shotguy/death"
Painsound "shotguy/pain"
Deathsound "shotguy/death"
Obituary "You were blown up by \c[g3]Nemesis Beheaded Kamikaze\c-"
Tag "\c[g3]Nemesis Beheaded Kamikaze\c-"
+NOFEAR
+BOSS
+BOSSDEATH
+NOICEDEATH
+NOTIMEFREEZE
+NOTARGET
+NORADIUSDMG
+MISSILEMORE
+FLOORCLIP
+DONTHARMSPECIES
var int user_music;
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RawAnger") == 0,"Remove")
  SpawnLoop:
	NKAM A 10 Bright A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Demon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
  Idle:
	TNT1 A 0
	TNT1 A 0 A_StopSound(CHAN_VOICE)
	NKAM AA 2 Bright A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM AB 2 Bright A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM BB 2 Bright A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM CC 2 Bright A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM CD 2 Bright A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM DD 2 Bright A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	Loop
  See:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6805,3001)
	TNT1 A 0 A_SetUserVar("user_music",1)
	NKAM AA 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM AB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM BB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM CC 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM CD 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM DD 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	Loop
  Missile:
	TNT1 A 0
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	Goto Missile3
  Missile3:
	TNT1 A 0
	TNT1 A 0 A_CposRefire
	TNT1 A 0 A_PlaySound("suicide/scream",CHAN_VOICE,1.0,1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_GiveInventory("LegSuicideJumping",1)
	TNT1 A 0 A_Recoil(-15)
	NKAM ABCD 1 Bright A_JumpIfTargetInLOS("Melee",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,90,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Recoil(-15)
	NKAM ABCD 1 Bright A_JumpIfTargetInLOS("Melee",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,90,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Recoil(-15)
	NKAM ABCD 1 Bright A_JumpIfTargetInLOS("Melee",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,90,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Recoil(-15)
	TNT1 A 0 A_JumpIf(z - floorz >= 64,"ChargeStop")
	NKAM ABCD 1 Bright A_JumpIfTargetInLOS("Melee",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,90,0)
	Goto Missile2
  Missile2:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(velx != 0 || vely != 0,"Missile3")
	Goto ChargeStop
  ChargeStop:
	TNT1 A 0
	NKAM A 1 Bright A_Stop
	TNT1 A 0 A_StopSound(CHAN_VOICE)
	TNT1 A 0 A_JumpIfInTargetLOS("Melee",90,JLOSF_DEADNOJUMP,200)
	Goto See
  Melee:
	TNT1 A 0
	TNT1 A 0 A_StopSound(CHAN_VOICE)
	TNT1 A 0 A_Facetarget
	NKAM A 2 Bright A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	TNT1 A 0 A_CustomBulletAttack(0,0,1,10000,"LegSBomberAttack",44)
	TNT1 A 0 A_CustomMissile("SuperGayAttackBarrel",24,0,0,CMF_AIMDIRECTION)
	Goto Kill
  PainAttack:
	TNT1 A 0
	TNT1 A 0 A_StopSound(CHAN_VOICE)
	TNT1 A 0 A_Facetarget
	NKAM A 2 Bright A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	TNT1 A 0 A_CustomBulletAttack(10,10,100,10000,"LegSBomberAttack",2500)
	TNT1 A 0 A_CustomMissile("SuperGayAttackBarrel",24,0,0,CMF_AIMDIRECTION)
	Goto Kill
  Pain:
	TNT1 A 0
	TNT1 A 0 A_StopSound(CHAN_VOICE)
	NKAM A 3 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	NKAM A 3 Bright A_Pain
	TNT1 A 0 A_JumpIfInventory("Tic",3,"PainAttack")
	TNT1 A 0 A_GiveInventory("Tic",1)
	Goto See
  Death:
	TNT1 A 0
	TNT1 AAA 0 A_StopSound(CHAN_VOICE)
	TNT1 A 0 A_TakeInventory("Tic",999999)
	TNT1 A 0 A_CustomMissile("SuicideBomb",24,0,0,CMF_AIMDIRECTION)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,24,0,0,0,0,128) 
	TNT1 AAA 0 A_CustomMissile("Kaboom3",24,0,random(0,360),2,random(0,360))
	TNT1 AAA 0 A_CustomMissile("SmokeFX2",24,0,random(0,360),2,random(0,360))
	TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,24,Random(4,-4),Random(4,-4),Random(4,8),0,128)
	TNT1 A 0 A_SpawnItem("RocketEx",0,24)
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("weapons/rocklx",CHAN_BODY)
	NKAM E 5 Bright
	NKAM F 5 Bright A_Scream
	NKAM G 5 A_NoBlocking
	TNT1 A 0 A_SpawnItemEx("LegendaryArmor",0,0,8,random(0,8),random(0,8),2,random(0,360),0,128)
	//TNT1 A 0 A_SpawnItemEx("NuclearMissile",0,0,8,random(0,8),random(0,8),2,random(0,360),0,252)
	TNT1 A 0 A_SpawnItemEx("LegendaryRune",0,0,8,random(0,8),random(0,8),2,random(0,360),0,252)
	NKAM HIJKL 5
	NKAM M -1
	Stop
  Kill:
	TNT1 A 0
	TNT1 A 0 A_Die("Extreme")
	Goto XDeath
  XDeath:
	TNT1 A 0
	TNT1 AAA 0 A_StopSound(CHAN_VOICE)
	TNT1 A 0 A_TakeInventory("Tic",999999)
	TNT1 A 0 A_Stop
	NKAM A 5 Bright
	NKAM B 5 Bright A_XScream
	NKAM C 5 A_NoBlocking
	NKAM DEFGH 5
	NKAM I -1
	Stop
	}
}

Actor INFNemesisBeheadedKamikaze : NemesisBeheadedKamikaze
{
Tag "\c[g3]Nemesis Beheaded Kamikaze\c-"
States
{
  Spawn:
    TNT1 A 0 A_Jump(150,"Remove")
    TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RuneTier2SpawnCheck") == 2,1)
	Goto Remove
  Idle:
	NKAM A 10 Bright A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("LegendaryFiend",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}