////////////////////////////////////
// HERETIC UNDEAD KNIGHT ENHANCED //
////////////////////////////////////

ACTOR KnightAxe~ : KnightAxe replaces KnightAxe
{
  Game Heretic
  SpawnID 127
  Radius 10
  Height 8
  Speed 9
  FastSpeed 18
  Damage 2
  Projectile
  -NOBLOCKMAP
  -ACTIVATEIMPACT
  -ACTIVATEPCROSS
  +WINDTHRUST
  +THRUGHOST
  DeathSound "hknight/hit"
  States
  {
  Spawn:
    TNT1 A 0 A_CustomMissile("AxetrailA",0,0,0,2)
    SPAX A 3 BRIGHT A_PlaySound("hknight/axewhoosh")
	TNT1 A 0 A_CustomMissile("AxetrailB",0,0,0,2)
    SPAX B 3 BRIGHT 
	TNT1 A 0 A_CustomMissile("AxetrailC",0,0,0,2)
	SPAX C 3 BRIGHT
    Loop
  Death:
    TNT1 A 0 A_SpawnItem("AxeFlash")
    SPAX DEF 6 BRIGHT
    Stop
  }
}

ACTOR AxeTrailA: DoomImpBall
{
	Seesound ""
	Deathsound ""
	+NOCLIP
	Speed 0
	Alpha 0.5
	States
	{
	Spawn:
		SPAX A 1 BRIGHT A_FadeOut(0.04)
		loop
	}
}

ACTOR AxeTrailB: DoomImpBall
{
	Seesound ""
	Deathsound ""
	+NOCLIP
	Speed 0
	Alpha 0.5
	States
	{
	Spawn:
		SPAX B 1 BRIGHT A_FadeOut(0.04)
		loop
	}
}

ACTOR AxeTrailC: DoomImpBall
{
	Seesound ""
	Deathsound ""
	+NOCLIP
	Speed 0
	Alpha 0.5
	States
	{
	Spawn:
		SPAX C 1 BRIGHT A_FadeOut(0.04)
		loop
	}
}

ACTOR AxeFlash : Baseflare
{
   Scale 0.5
   alpha 1
   +DONTSPLASH
   States
   {
   Spawn:
	FLAR C 6
   Death:
	FLAR C 1  A_FadeOut
	Loop
   }
}

ACTOR RedAxe~ : RedAxe replaces RedAxe
{
  Translation "209:224=145:160"
  States
  {
  Spawn:
    TNT1 A 0 
	TNT1 A 0 A_PlaySound("hknight/axewhoosh")
    SPAX ABC 3 BRIGHT A_DripBlood
    Loop
  Death:
    RAXE CCCCC 0 A_SpawnItem("Blood",0,2)
    RAXE CDE 6 BRIGHT
    Stop
  }
}