Actor CultistNemesisExile : Archvile
{
Obituary "%o was depurified by an Cultist Nemesis Exile."
Health 1500
Radius 20 
Height 56 
Mass 500
Speed 18
PainChance 5
Bloodcolor Black
Species "Viles"
DamageFactor "VileFires", 0.0
DropItem "BossLifeEssence" 210
DropItem "BossArmorBonusMax" 210
DropItem "HellionRegen" 200 1
DropItem "BigDustMana" 128 100
DropItem "OccultSpellbook" 128
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DamageFactor 0.6
DamageFactor "PlayerNemesisPlasma", 0.3
DamageFactor "Explosion", 0.2
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "PDTPuff", 0.4
DamageFactor "RailG", 0.3
DamageFactor "PlayerPyro", 0.1
DamageFactor "SoulToxic", 0.0
DamageFactor "DarkDemoEx", 0.0
Monster
SeeSound "ImpureVile/Sight" 
PainSound "ImpureVile/Pain" 
DeathSound "ImpureVile/Death" 
ActiveSound "ImpureVile/Active"
Tag "\c[v9]Cultist Nemesis Exile\c-"
+FLOORCLIP
+NOTARGET
+MISSILEMORE
+QUICKTORETALIATE
+NOINFIGHTING
States 
{ 
  Spawn: 
    N07A A 10 A_Look 
    Loop 
  See:
	TNT1 A 0 A_Jump(82,"Rush")
    N07A A 0 A_SpawnItem("HumanishStep",0,0,0,0)
    N07A AABBCC 2 A_VileChase
    TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
    N07A DDEEFF 2 A_VileChase
    Loop
   Rush:
	TNT1 A 0 A_SpawnItemEx("IMVGhostA",0,0,0,0,0,0,0,128)
	N07A A 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostA",0,0,0,0,0,0,0,128)	
	N07A A 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostB",0,0,0,0,0,0,0,128)
	N07A B 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostB",0,0,0,0,0,0,0,128)
	N07A B 1 A_VileChase	
	TNT1 A 0 A_SpawnItemEx("IMVGhostC",0,0,0,0,0,0,0,128)
	N07A C 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostC",0,0,0,0,0,0,0,128)
	N07A C 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostD",0,0,0,0,0,0,0,128)
	N07A D 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostD",0,0,0,0,0,0,0,128)
	N07A D 1 A_VileChase	
	TNT1 A 0 A_SpawnItemEx("IMVGhostE",0,0,0,0,0,0,0,128)
	N07A E 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostE",0,0,0,0,0,0,0,128)
	N07A E 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostF",0,0,0,0,0,0,0,128)
	N07A F 1 A_VileChase
	TNT1 A 0 A_SpawnItemEx("IMVGhostF",0,0,0,0,0,0,0,128)
	N07A F 1 A_VileChase
	TNT1 A 0 A_JumpIfTargetinLOS("Missile")
	TNT1 A 0 A_Jump(32,"See")
	Loop
  Missile:
    TNT1 A 0 A_Jump(128,"ImpureSouls")
	TNT1 A 0 A_JumpIfCloser(896,2)
    TNT1 A 0 A_Jump(256,"ImpureSouls")
    TNT1 A 0 A_FaceTarget
    N07A G 10 Bright A_PlaySound("exile/voidstart")
    N07A H 8 Bright A_VileTarget("NemesisExileFire2")
    N07A IJKL 8 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("exile/voidend")
	TNT1 A 0 A_JumpIfTargetInLOS(2)
	TNT1 A 0 A_Jump(256,2)
	TNT1 A 0 A_VileTarget("NemesisExileFire2")
    N07A O 8 Bright A_VileAttack
    N07A P 20 Bright
    Goto See
  ImpureSouls:
    N07A HIJ 8 Bright A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A J 5 Bright A_CustomMissile("NemesisExileSkullShot",34,0,frandom(-4,4))
	TNT1 A 0 A_FaceTarget
    N07A KL 20 Bright
    Goto See
  Pain: 
    N07A M 5 
    N07A M 5 A_Pain 
    TNT1 A 0 A_Jump(256,"Rush")
    Goto See 
  Death:
    N07A MN 6 A_SpawnItemEx("BlackGibbedGenerator",0,0,0,0,0,0,0,128,0)
    N07A O 5 A_Scream
    N07A P 5 A_Fall
    N07A QRS 5
	N07A T 4 A_SpawnItem("BodyCrash",0,0,0,0)
    N07A UV 4
    N07A V -1
    Stop
  Heal:
    N07M AAA 10 Bright
    Goto See
  } 
}