Actor HellRazerMKII
{
	Health 180
	Radius 20
	Height 56
	Mass 150
	Speed 8
	PainChance 120
	Monster
	SeeSound "HellRazer/grunt"
	PainSound "HellRazer/pain"
	DeathSound "HellRazer/death"
	ActiveSound "HellRazer/grunt"
	Obituary "%o was vaporized by a Hell Razer."
	DropItem "Railgun", 256, 1
	DropItem "NewCell", 256, 1
	DropItem "NewArmorBonus", 128, 1
	+FLOORCLIP
	+FLOORCLIP 
	+MISSILEMORE
States
{ 
Spawn: 
        HLRZ A 10 A_Look
        Loop 
See: 
        HLRZ AABB 3 A_Chase
        TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
        HLRZ CCDD 3 A_Chase
        TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
        Loop
Missile: 
        HLRZ E 18 A_FaceTarget
		HLRZ E 2
		TNT1 A 0 Bright A_PlaySound("railgunner/chargedshot")
		TNT1 A 0 Bright A_CustomMissile("RailgunImpactRed",30)
        HLRZ F 5 Bright A_CustomRailgun(Random(15, 25), 0, "Red", None, RGF_NOPIERCING, 1)
        HLRZ E 40
		Goto See
Pain: 
        HLRZ G 6 A_Pain 
        Goto See 
Death: 
        HLRZ H 5
        HLRZ I 5 A_Scream 
        HLRZ J 5 A_Fall 
        HLRZ K 5 A_SpawnItem("BodyCrash",0,0,0,0)
        HLRZ LM 5 
        HLRZ N -1
        Stop 
XDeath:
		HLRZ H 5
        HLRZ I 5 A_Scream 
        HLRZ J 5 A_Fall 
        HLRZ K 5 A_SpawnItem("BodyCrash",0,0,0,0)
        HLRZ LM 5 
        HLRZ N -1
        Stop 
Raise:
	    TNT1 A 0
		TNT1 A 0 A_SpawnItemEx("VileHealEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
        HLRZ KJIH 5
        Goto See
    }
}
