ACTOR ZamasuGodNecromancer
{ 
Health 55000
PainChance 40
Speed 35
Scale 1.15
Radius 20 
Height 56 
Mass 200 
Bloodcolor "White"
MONSTER
+FLOAT
+NOGRAVITY
+NOTARGET
+BOSS
+AVOIDMELEE
+NOTIMEFREEZE
+MISSILEMORE
+MISSILEEVENMORE
+NOICEDEATH
+DONTGIB
+NOTELEFRAG
+QUICKTORETALIATE
+DONTHARMSPECIES
+NORADIUSDMG
+BOSSDEATH
Species "CacoDemon"
Species "LegMage"
Obituary "%Mwhahaha you are a LOSER AGAIN!!."
DamageFactor 0.1 //550.000 effective hp
DamageFactor "Legendary", 0.1
DamageFactor "LegendaryPlayer", 0.1
DamageFactor "LegendaryGuru", 0.05
DamageFactor "LegendaryGuruPlayer", 0.05
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "TrueLegendaryDamage", 0.14
DamageFactor "TrueLegendaryPlayer", 0.14
DamageFactor "Cursed", 0.13
DamageFactor "Hackroid", 0.14
DropItem "BossLifeEssence" 256
DropItem "BossArmorBonusMax" 256
DropItem "LegendaryPowerSphere" 65 1
DropItem "LegTimeFreezeSphere" 80 1
DropItem "LegendarySphere" 150 1
DropItem "NemesisRune" 56 1
DropItem "OccultSpellbook" 256
DropItem "LDemonAmmoBox" 256
DropItem "LDemonAmmo" 256
DropItem "BigDustMana" 256 100
DropItem "BigDustMana" 128 100
DropItem "Zamasu Plasmatic Cannon" 100
DropItem "ZamasuGodRune", 256, 1
SeeSound "BlackLord/Sight" 
PainSound "BlackLord/Pain" 
DeathSound "BlackLord/Death" 
ActiveSound "BlackLord/Active" 
Tag "\c[s5]Zamasu\c- \c[w2]God-\c \c[s5]Necromancer\c-"
var int user_music;
var int user_delay;
var int user_hollowsummons;
var int user_mastertid;
States 
   { 
Spawn:
	TNT1 A 0
	TNT1 A 0 NoDelay A_SpawnItemEx("ZamasuBoss360Cube2",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("ZamasuBoss360Cube2",0,0,0,0,0,0,120,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("ZamasuBoss360Cube2",0,0,0,0,0,0,240,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("ConstantAngelSwings",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
Idle:
	TNT1 A 0
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 A 10 Bright A_Look
	Loop
Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("cacodemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
  See: 
	TNT1 A 0 ACS_ExecuteAlways(5,0,0,0,0)
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6729,1011)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 AA 3 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 AB 3 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 BB 3 Bright A_Chase
	97A3 A 0 A_Jump(30,"Teleport")
	Loop
  Teleport:
	97A3 A 1 Bright A_UnSetShootable
	97A3 AAAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 AAAAAAAAAA 1  A_FadeOut(0.1,0)
	97A3 A 2 
	97A3 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	97A3 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	97A3 A 1 A_PlayWeaponSound("boss/teleport")
	97A3 AAAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 AAAAAAAAAA 1 A_FadeIn(0.1)
	97A3 A 1 Bright A_SetShootable
	Goto See	
  Missile:
	TNT1 A 0 A_Jump(120,"BFG10k","Storm","ChargeRAGE","Felhverst","SpammerGod","SummonZamasuZombie","SummonZamasuImp","SummonZamasuSoul")
  BFG10k:
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 G 1 Bright A_FaceTarget
	TNT1 DE 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 G 1 Bright A_FaceTarget
	TNT1 DE 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 0 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	97A3 F 1 Bright A_CustomMissile("Nemesis10kProjectile",41,0,random(-24,24))
	Goto See
  Storm:
	97A3 F 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	97A3 F 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	97A3 F 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	97A3 DE 1 Bright A_FaceTarget
	97A3 F 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	Goto See
  ChargeRAGE:
    97A3 E 0 A_SetInvulnerable
	97A3 E 0 A_FaceTarget
	TNT1 A 0 Radius_Quake(8,60,0,20,0)
	97A3 AAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
    97A3 E 3 Bright A_FaceTarget
	97A3 AAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
    97A3 E 3 Bright A_FaceTarget
	97A3 AAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
    97A3 F 3 Bright A_FaceTarget
	97A3 AAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
    97A3 F 3 Bright A_FaceTarget
	97A3 AAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 E 0 A_SetUserVar("user_delay",0)
	97A3 E 0 A_Stop
	97A3 E 3 Bright A_SpawnItemEx("LegRedThunderCharge",64,0,0)
  ThunderCharge:
  	97A3 FFF 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	97A3 F 0 A_JumpIf(user_delay >= 57,"ThunderDone")
	97A3 F 0 A_SetUserVar("user_delay",user_delay+1)
	97A3 F 3 Bright A_Stop
	Loop
  ThunderDone:
	97A3 E 3 Bright A_FaceTarget
	97A3 F 3 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 3 Bright A_FaceTarget
	97A3 F 3 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 3 Bright A_FaceTarget
	97A3 F 3 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 3 Bright A_FaceTarget
	97A3 F 3 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_UnSetInvulnerable
	Goto See
  Felhverst:
	97A3 E 1 Bright A_SetInvulnerable
	TNT1 A 0 A_PlaySound("BlackLord/Active")
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
    97A3 E 5 Bright A_FaceTarget
	97A3 E 3 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 3 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_FaceTarget
	97A3 F 1 Bright A_CustomMissile("NemRedThunderBall",5,0,0)
	97A3 E 1 Bright A_UnSetInvulnerable
    Goto See
	SummonZamasuZombie:
    TNT1 A 0 A_JumpIf(user_hollowsummons >= 2,"RageLightning")
	TNT1 A 0 A_PlaySound("LegMage/Active")
    TNT1 A 0 A_FaceTarget
    97A3 FF 5 Bright A_SpawnItemEx("VexedNemesisColonel",random(35,140),0,0,0,0,0,random(0,360))
	TNT1 A 0 A_SetUserVar(user_hollowsummons,user_hollowsummons+1)
	Goto See
	SummonZamasuImp:
    TNT1 A 0 A_JumpIf(user_hollowsummons >= 1,"RageLightning")
	TNT1 A 0 A_PlaySound("LegMage/Active")
    TNT1 A 0 A_FaceTarget
    97A3 FF 5 Bright A_SpawnItemEx("VexedNemesisAnnihilatorImp",random(35,140),0,0,0,0,0,random(0,360))
	TNT1 A 0 A_SetUserVar(user_hollowsummons,user_hollowsummons+1)
	Goto See
	SummonZamasuSoul:
    TNT1 A 0 A_JumpIf(user_hollowsummons >= 1,"RageLightning")
	TNT1 A 0 A_PlaySound("LegMage/Active")
    TNT1 A 0 A_FaceTarget
    97A3 FF 5 Bright A_SpawnItemEx("VexedNemesisPyroZombie",random(35,140),0,0,0,0,0,random(0,360))
	TNT1 A 0 A_SetUserVar(user_hollowsummons,user_hollowsummons+1)
	Goto See
  Pain: 
  SpammerGod:
	TNT1 A 0 A_PlaySound("sentient/fire")
	97A3 E 1 Bright A_FaceTarget
	97A3 E 1 Bright A_SetInvulnerable
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner",0,0,0,0)	
    97A3 F 1 Bright A_CustomMissile("NemesisSentientPlasma",5,0,0)
	97A3 E 1 Bright A_unSetInvulnerable
	Goto See
  Pain: 
	TNT1 A 0 A_Jump(35,"Teleport")
	97A3 C 2 Bright 
	97A3 C 2 Bright A_Pain 
	TNT1 A 0 A_Jump(128,"Missile")
	Goto See 
  Death: 
	TNT1 A 0 A_Jump(128,"AlwaysDrop")
	97A3 HHHH 5 Bright
	97A3 HHHHHHHH 2 Bright
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",82,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",123,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",164,0,random(-24,24))
	97A3 H 5 Bright A_FaceTarget
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",82,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",123,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",164,0,random(-24,24))
	97A3 H 5 Bright A_FaceTarget
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",41,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",82,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",123,0,random(-24,24))
	97A3 H 0 Bright A_CustomMissile("NemesisLightningBolt",164,0,random(-24,24))
	97A3 HIJKLMNOP 15 Bright
	97A3 P 5 Bright A_FaceTarget
	97A3 P 5 Bright A_FaceTarget
	97A3 P 5 Bright A_FaceTarget
	D969 PONMLKJIH 5 Bright
	TNT1 A 0 A_SpawnItemEx("ZamasuSoul",0,0,16,0,0,0,0,32)
	Stop 
   } 
}