ACTOR TentacledCommando : ChaingunGuy
{
//Creator: "pdxbla's "VDP-MonsterRandomizer" & ElAnexo
//Origin: Realm667
//Sprite: D3CG
//Title: "Tentacled Commando"
Health 366
Radius 20
Height 56
Mass 125
Speed 14
PainChance 45
Monster
SeeSound "Tentaclecommando/sight"
PainSound "Tentaclecommando/pain"
DeathSound "Tentaclecommando/death"
ActiveSound "Tentaclecommando/active"
AttackSound "doublecger/fire"
HitObituary "%o was smashed by a Tentacled Commando."
Obituary "%o was ventilated by a Tentacled Commando."
Tag "\c[cyan]Tentacled Commando\c-"
Dropitem "Minigun2" 160
DropItem "LifeEssence" 256
DropItem "ArmorBonusMax" 256
DropItem "LifeEssence" 128
DropItem "ArmorBonusMax" 60
DropItem "HealthFlask" 50
DropItem "ArmorCharge" 128
DropItem "ArmorPlate" 90
DropItem "AmmoPack" 180
+FLOORCLIP
+SEEINVISIBLE
States
{
  Spawn:
    D3CG AB 10 A_Look
    Loop
  See:
    D3CG AABBCCDD 3 A_Chase
    Loop
  Melee:
	D3CG A 1 A_FaceTarget
	D3CG A 6 A_SkelWhoosh
    D3CG E 6 A_FaceTarget
    D3CG V 6 A_CustomMeleeAttack(random(1, 5) * 50, "skeleton/melee")
    Goto See
  Missile:
    D3CG E 10 A_FaceTarget
	TNT1 A 0 A_CustomMissile("MonsterTracer",Random(30,34),0,Random(5,-5),0)
    D3CG FE 4 Bright A_CPosAttack
    D3CG F 1 A_CPosRefire
    Goto Missile+1
  Pain:
    D3CG G 3
    D3CG G 3 A_Pain
    Goto See
  Death:
    D3CG H 5
    D3CG I 5 A_Scream
    D3CG J 5 A_NoBlocking
    D3CG KLM 5
    D3CG N -1
    Stop
  XDeath:
    D3CG O 5 
    D3CG P 5 A_XScream
    D3CG Q 5 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
	D3CG Q 5 A_NoBlocking
    D3CG RST 5
    D3CG U -1
    Stop
  Raise:
    TNT1 A 0
	TNT1 A 0 A_SpawnItemEx("VileHealEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
    D3CG N 5
    D3CG MLKJIH 5
    Goto See
  }
}

Actor TentacledCommandoShotgun : TentacledCommando
{
Health 60
DropItem "Shotgun"
}