ACTOR DivineChair : LegendaryChair //In Soviet Russia, the chair sits on you!
{
//Creator: Makarov
//Origin: Infinity Gods
//Sprite: DIVC
//Title: "DivineChair"
Health 1500
Speed 65
Radius 10
Height 34
Mass 0x7FFFFFFF
PainChance 255
Species "Chair"
Obituary "%o tried to sit on sacred ground and paid the price."
HitObituary "%o hit the Divine Chair... and the Chair hit back harder."
//Divine Damage Factors
DamageFactor 0.15
DamageFactor "Ice", 0.035
  Damagefactor "Divine", 0.0
  DamageFactor "Explosion", 0.0001
  DamageFactor "PlayerDTRG", 0.0001
  DamageFactor "DTRailgun", 0.0001
  DamageFactor "PDTPuff", 0.0001
  DamageFactor "RailG", 0.0001
  DamageFactor "PyroShot", 0.0001
  DamageFactor "PlayerPyro", 0.0001
  DamageFactor "PlayerBHole", 0.025
  DamageFactor "PlayerDBFG", 0.015
  DamageFactor "PlayerDBFG2", 0.015
  DamageFactor "Legendary", 0.2
  DamageFactor "LegendaryPlayer", 0.2
  DamageFactor "LegendaryGuru", 0.1
  DamageFactor "LegendaryGuruPlayer", 0.1
  DamageFactor "PlayerNemesisPlasma", 0.15
  DamageFactor "Cursed", 0.135
  DamageFactor "Hackroid", 0.2
  DamageFactor "TrueLegendaryDamage", 0.2
  DamageFactor "TrueLegendaryPlayer", 0.2
//Drops
DropItem "RandomSuperPowerUp" 256
DropItem "DivineArmorItem" 256
DropItem "DivineContract" 256
DropItem "TrueLegendaryrune" 256
DropItem "Nemesis Rifle", 256
DropItem "NemesisBackpack" 256 1
DropItem "NemesisBackpack" 256 1
DropItem "NemesisBackpack" 256 1
SeeSound ""
PainSound ""
DeathSound "legchair/death"
ActiveSound ""
monster
Tag "\c[d8]Divine Chair\c-"
+NORADIUSDMG
+QUICKTORETALIATE
-PIERCEARMOR
+MISSILEEVENMORE
+NOTARGET
+BOSS
+MISSILEMORE
+LOOKALLAROUND
+FLOORCLIP
+DONTMORPH
+BOSSDEATH
+NOICEDEATH
+DONTGIB
+NOTIMEFREEZE
+CANTSEEK
+DONTRIP
+NOFEAR
+DONTHARMSPECIES
+DONTHURTSPECIES
+NOBLOOD
-COUNTKILL
+FLOAT
+NOGRAVITY
var int user_music;
var int user_delay;
States
{
  Spawn:
	TNT1 A 0
  Spawnloop:
	DIVC A 1 A_Look
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,64)
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("explosivebarrel",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0
	Stop
  See:
	DIVC A 1
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,64)
	loop
  Pain:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,820,910)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_PlaySound("ESuicide/Scream",5,1.0,1)
  CHAAAAAAAAARGE:
	TNT1 A 0 A_GiveInventory("LegSuicideJumping",1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Recoil(-5)
	DIVC A 1 A_Chase
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Recoil(-5)
	DIVC A 1 A_Chase
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Recoil(-5)
	DIVC A 1 A_Chase
	Loop
  Melee:
	TNT1 A 0 A_StopSound(5)
	TNT1 A 0 A_Stop
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE,64)
	goto Death
  Death:
	TNT1 A 0 A_StopSound(CHAN_VOICE)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)		
	TNT1 A 0 A_PlaySoundEx("Black/Blast","Voice",0,2)
	TNT1 AAAA 0 A_SpawnItemEx("NemesisSuicideBomberBurst",32,0,0,2)
	TNT1 A 0 A_SpawnItem("NemesisDeathBall")
	TNT1 A 0 A_SpawnItem("VexedNemesisNuke")
	stop
	}
}