Actor HellFrostCardinal // The HellFrostCardinal has claimed the battlefield!!!
{
//Creator: Nemesiscaptain(uwu)and Makarov
//Origin: Infinity Gods
//Sprite: HFCS
//Title: "HellFrostCardinal"
Monster
Radius 40
Height 110
Scale 1.1
Mass 2500
Health 16500
Speed 15
FloatSpeed 8
PainChance 15
+MISSILEEVENMORE
+LOOKALLAROUND
+QUICKTORETALIATE
+BOSS
+BOSSDEATH
+FLOAT
+NOGRAVITY
+DONTHARMSPECIES
+DONTHURTSPECIES
-FLOORCLIP
Species "Cybers"
Damagefactor 0.24
DamageFactor "Ice", 0.00
Damagefactor "Divine", 0.00
DamageFactor "Explosion", 0.00
DamageFactor "Crush", 0.00
DamageFactor "Acid", 0.00
DamageFactor "Fire", 0.00
DamageFactor "Poison", 0.00
DamageFactor "PoisonCloud", 0.00
DamageFactor "PyroShot", 0.00
DamageFactor "PlayerPyro", 0.00
DamageFactor "NuclearFire", 0.00
DamageFactor "BFG9500Ball", 0.00
DamageFactor "BFGSplash", 0.00
DamageFactor "UpBFG9500Ball", 0.00
DamageFactor "UpBFGSplash", 0.00
DamageFactor "PDTBFG", 0.00
DamageFactor "PDTBFGTracer", 0.00
DamageFactor "PlayerDevBall", 0.00
DamageFactor "PlayerDevBall2", 0.00
DamageFactor "PlayerDevTracer", 0.00
DamageFactor "PlayerDBFG10K2", 0.00
DamageFactor "PlayerDBFGSplash2", 0.00
DamageFactor "Player", 0.00
DamageFactor "PlayerHellfire", 0.00
DamageFactor "SuperWeapon", 0.00
DamageFactor "PlayerDTRG", 0.00
DamageFactor "DTRailgun", 0.00
DamageFactor "PDTPuff", 0.00
DamageFactor "RailG", 0.00
DamageFactor "PyroShot", 0.00
DamageFactor "PlayerPyro", 0.00
DamageFactor "PlayerBHole", 0.00
DamageFactor "PlayerDBFG", 0.00
DamageFactor "PlayerDBFG2", 0.00
DamageFactor "Legendary", 0.00
DamageFactor "Legendary1", 0.00
DamageFactor "LegendaryPlayer", 0.20
DamageFactor "LegendaryGuru", 0.20
DamageFactor "LegendaryGuruPlayer", 0.20
DamageFactor "PlayerNemesisPlasma", 0.20
DamageFactor "Cursed", 0.50
DamageFactor "Hackroid", 0.50
DamageFactor "TrueLegendaryDamage", 0.20
DamageFactor "TrueLegendaryPlayer", 0.20
//No Infighting
DamageFactor "UltimateLegendary", 0.0
DamageFactor "LegendaryZombie", 0.0
DamageFactor "LACGrenade", 0.0
DamageFactor "LSSGGrenade", 0.0
DamageFactor "ZExplosiveBullets", 0.0
DamageFactor "MiniRocket", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "SoapOpera", 0.0
DamageFactor "HTZombie", 0.0
DamageFactor "ZGrenade", 0.0
DamageFactor "ZombieCannon", 0.0
DamageFactor "GeneralTracer", 0.0
DamageFactor "BloodSkull", 0.0
DamageFactor "BloodElemental", 0.0
DamageFactor "Broat", 0.0
DamageFactor "SatanGuard", 0.0
DamageFactor "CurseComet", 0.0
DamageFactor "HelementalComet", 0.0
DamageFactor "DementedTerminator", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "UBDTR", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "Commander", 0.0
DamageFactor "CerChainguns", 0.0	
DamageFactor "CerEnergyBall", 0.0
DamageFactor "Hell", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "DBFGSplash2", 0.0
// Drops
DropItem "BossLifeEssence" 256 25
DropItem "BossArmorBonusMax" 256 1
DropItem "GreaterDemonicEnergy" 128 200
DropItem "DemonicChalice" 128
DropItem "SkullOfPower" 128
DropItem "FreezerBFG" 256
DropItem "Freezer Rifle" 256
DropItem "LegendaryUltrasphere" 64
DropItem "LegendaryRune" 64
DropItem "D-BFG" 256
Dropitem "GreaterCorruptedEnergy" 256 32
Dropitem "GreaterCorruptedEnergy" 128 24
Dropitem "CorruptedEnergy" 256 10
Dropitem "CorruptedEnergy" 256 10
Dropitem "CorruptedEnergy" 256 10
SeeSound "FreezedCyberDemon/See"
ActiveSound "cyber/active"
PainSound "monsters/cyberlordpain"
DeathSound "monsters/darkcyberdie"
Bloodcolor "DarkBlue"
Obituary "%o was extinguished by the dual fury of frost and flame unleashed by the HellFrostCardinal."
Tag "\c[o7]HellFrost Cardinal\c-"
var int user_music;
var int user_missile;
States
	{
  Spawn:
  	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS A 4 A_Look
	Loop
  Idle:
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_ChangeFlag("NODAMAGE",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS AA 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS BB 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS AA 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS BB 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_Jump(52,"Teleport")
	Loop
  See:
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_ChangeFlag("NODAMAGE",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,2125,1006)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_Jump(100,"Rush")
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS AA 3 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS BB 3 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS AA 3 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS BB 3 A_Chase
	TNT1 A 0 A_Jump(52,"Teleport")
	Loop
  Rush:
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS A 2 A_SpawnItemEx("HellFrostCardinalGhostA",0,0,0,0,0,0,0,128)
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS A 2 A_SpawnItemEx("HellFrostCardinalGhostA",0,0,0,0,0,0,0,128)
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS B 2 A_SpawnItemEx("HellFrostCardinalGhostB",0,0,0,0,0,0,0,128)
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS B 2 A_SpawnItemEx("HellFrostCardinalGhostB",0,0,0,0,0,0,0,128)     
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS A 2 A_SpawnItemEx("HellFrostCardinalGhostC",0,0,0,0,0,0,0,128)
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS A 2 A_SpawnItemEx("HellFrostCardinalGhostC",0,0,0,0,0,0,0,128)
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS B 2 A_SpawnItemEx("HellFrostCardinalGhostD",0,0,0,0,0,0,0,128)
	HTCS AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS B 2 A_SpawnItemEx("HellFrostCardinalGhostD",0,0,0,0,0,0,0,128)     
	TNT1 A 0 A_Jump(38,"Teleport")
	TNT1 A 0 A_Jump(75,"See")   
    Loop
  Teleport:
	HFCS C 1 A_UnSetShootable
	TNT1 AAAAAA 0 A_SpawnItemEx("FreezedCyberFlameSpawner")
	TNT1 AAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	HFCS CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	HFCS CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	HFCS CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	HFCS C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAAAA 0 A_SpawnItemEx("FreezedCyberFlameSpawner")
	TNT1 AAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	HFCS CCCCCCCCCCC 1 A_FadeIn(0.1)
	HFCS C 1 A_SetShootable
	Goto See
  Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_Jump(256,"Seekers","Railgun","BFG10K","DTBFG10K","DBFG","FreezeBFG","CryoShot")
  Seekers:
	HFCS CCCCCCCC 1 A_FaceTarget(45)
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
	HFCS C 6 A_FaceTarget
    HFCS D 6 Bright A_CustomMissile("FreezedCyberHomer",56,-26,0)
    HFCS C 6 A_FaceTarget
    Goto See
  Railgun:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	HFCS CCCCCCCCCCCCCCCCCCCCC 1 Bright A_FaceTarget(45)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CCCCCCCCC 1 Bright A_FaceTarget
	HFCS D 10 Bright A_CustomMissile("BlueAnniRail",56,-26,0)
	HFCS CC 15
	TNT1 A 0
	Goto See
  BFG10K:
	TNT1 A 0 A_PlaySound("Weapons/dbfgcharge2")
	HFCS CCCCC 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_CustomMissile("T3DBFG10kShot",45,-26,Random(4,-4))
	TNT1 A 0 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	HFCS CCCCC 4
	Goto See	
  DTBFG10K:
  	TNT1 A 0 A_PlaySound("Cardinal/9k")
	HFCS CCCCCC 5 A_FaceTarget
	TNT1 A 0 A_CustomMissile("T3DBFG10KBall",45,-26,0)
  	TNT1 A 0 A_PlaySound("Cardinal/9k")
	HFCS CCCCCC 5 A_FaceTarget
	TNT1 A 0 A_CustomMissile("T3DBFG10KBall",45,-26,0)
	HFCS CC 4
	Goto See
  DBFG:
    TNT1 A 0 A_PlaySound("Weapons/dbfgcharge")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	HFCS CCCCCCCCCCCCCCCCCCCCCCC 5 A_FaceTarget
    TNT1 AA 0 A_PlaySound("Weapons/dbfgfire", CHAN_AUTO)
	TNT1 A 0 A_CustomMissile("T3DBFGBall",45,-26,0,CMF_AIMOFFSET)
    TNT1 A 0 A_PlaySound("Weapons/dbfgcooldown")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HFCS CCCCC 4
	Goto See
  FreezeBFG:
    TNT1 A 0 A_PlaySound("devastator/charge")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	HFCS CCCCCCCCCCCCCCCCCCC 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("devastator/fire",1)
	TNT1 A 0 A_CustomMissile("MonsterFreezerBall",45,-26,0,CMF_AIMOFFSET)
	TNT1 A 0 A_SetUserVar("user_taunt",1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HFCS CCCCC 4
	Goto See
  CryoShot:
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	HFCS CCCCCCC 4 A_FaceTarget
	HFCS C 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/PCNNF",CHAN_WEAPON)
	HFCS D 4 Bright A_CustomMissile("ZombieCryoShot",40,20,0,CMF_TRACKOWNER)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam",6)
	TNT1 AAA 0 A_ChangeFlag(NOPAIN,0)
	Goto See
  Pain:	
	TNT1 A 0 A_Jump(128,"Summon")
	HFCS E 10 A_Pain
	Goto See
  Summon:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_SpawnItemEx("FreezedCyberInvilFlameSpawner")
	TNT1 A 0 A_Jump(100,"CryoDemons","FreezerBehemoths")
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,-45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,-22,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,22,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 25 A_SpawnItemEx("FreezedCyberInvilFlameSpawner")
	TNT1 A 0 A_UnSetInvulnerable
	Goto See
  CryoDemons:
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,-45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,-22,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,22,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("CryoImpSummoner",58,-26,45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 25 A_SpawnItemEx("FreezedCyberInvilFlameSpawner")
	TNT1 A 0 A_UnSetInvulnerable
	Goto See
  FreezerBehemoths:
	HFCS C 1 A_CustomMissile("FreezerBehemothSummoner",58,-26,-45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 3 A_FaceTarget
	HFCS C 1 A_CustomMissile("FreezerBehemothSummoner",58,-26,45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	HFCS C 25 A_SpawnItemEx("FreezedCyberInvilFlameSpawner")
	TNT1 A 0 A_UnSetInvulnerable
	Goto See
  Pain.Legendary:
  Pain.LegendaryPlayer:
  Pain.LegendaryGuruPlayer:
	HFCS E 1 A_Pain
	TNT1 A 0 A_Jump(200,"Teleport")	
	Goto Summon
  Death:
    TNT1 A 0
	TNT1 A 0 A_Scream
	TNT1 A 0 A_Fall
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud1", random(10,80), 0, random(0,360), 2, random(0,360))
	HFCS EEEEEE 2 A_CustomMissile("KaboomCyan", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud1", random(10,80), 0, random(0,360), 2, random(0,360))
	HFCS FFFFFF 2 A_CustomMissile("KaboomCyan", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud1", random(10,80), 0, random(0,360), 2, random(0,360))
	HFCS GGGGGG 2 A_CustomMissile("KaboomCyan", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud1", random(10,80), 0, random(0,360), 2, random(0,360))
	HFCS HHHHHH 2 A_CustomMissile("KaboomCyan", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud1", random(10,80), 0, random(0,360), 2, random(0,360))
	HFCS IIIIII 2 A_CustomMissile("KaboomCyan", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud1", random(10,80), 0, random(0,360), 2, random(0,360))
	HFCS JJJJJJ 2 A_CustomMissile("KaboomCyan", random(20,80), random(20,-20), random(0,360), 2, random(0,360))
	TNT1 AAAAAAAA 0 A_CustomMissile("SmokeFX3", Random(20,80), 0, random(0,360), 2, random(0,360))	
	TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("CyberIceSpike",random(-256,256),random(-256,256),0,0,0,0,0,SXF_ABSOLUTEPOSITION|SXF_NOCHECKPOSITION,0)
	TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("CyberIceSpike",random(-256,256),random(-256,256),0,0,0,0,0,SXF_ABSOLUTEPOSITION|SXF_NOCHECKPOSITION,0)
	TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("CyberIceSpike",random(-256,256),random(-256,256),0,0,0,0,0,SXF_ABSOLUTEPOSITION|SXF_NOCHECKPOSITION,0)
	HFCS KL 5
	TNT1 A -1 A_KillMaster
	Stop
	}
}

Actor INFHellFrostCardinal : HellFrostCardinal
{
Tag "\c[o7]HellFrost Cardinal\c-"
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("SimpleProgSys") == 0,2)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RuneTier3SpawnCheck") == 2,1)
	Goto Remove
  Idle:
    TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	HTCS A 4 A_Look
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

ACTOR HellFrostCardinalGhostA
{
Scale 1.1
Radius 20
Height 56
Speed 0
Alpha 0.7
PROJECTILE
RENDERSTYLE Translucent
+NOTIMEFREEZE
+NOINTERACTION
+CLIENTSIDEONLY
+NONETID
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	HTCS A 2 A_FadeOut(0.1,1)
	Loop
  Toaster:
	TNT1 A 1
	Stop
	}
}

ACTOR HellFrostCardinalGhostB : HellFrostCardinalGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	HTCS B 2 A_FadeOut(0.1,1)
	Loop
    }
}

ACTOR HellFrostCardinalGhostC : HellFrostCardinalGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	HTCS A 2 A_FadeOut(0.1,1)
	Loop
    }
}

ACTOR HellFrostCardinalGhostD : HellFrostCardinalGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	HTCS B 2 A_FadeOut(0.1,1)
	Loop
	}
}  	  
	
	
	
   
	
  
  
	
  



	
  

  
	

  
	
	
  
	