Actor PlasmaticShot
{
  Radius 11
  Height 8
  Speed 30
  Damage 80
  RENDERSTYLE TRANSLUCENT
  PROJECTILE
  +NOGRAVITY
  +NOEXTREMEDEATH
  +EXPLODEONWATER
  +DONTREFLECT
  Obituary  "%o got vaporized by %k's plasma cannon."
  ReactionTime 139
  Deathsound "DSPLEX"
  States
  {
  Spawn:
    CYPL ABC 1 A_CustomMissile("PLASMATICTrail", 3, 0, 0, 1)
    Loop
  Death:
     TNT1 A 0 A_Explode(200, 200, 1)
     CYPL ABCDEFGHIJK 1 Bright A_SetTranslucent(0.5, 1)
    Stop
  }
}

Actor plasmaticTrail : BulletPuff
{
  +ClientSideOnly
  States
  {
  Spawn:
     CYPL ABCDEFGHIJK 1 BRIGHT
    Stop
  }
}

ACTOR CyborgCyberPlasmaCannon : Weapon
{
  Weapon.SelectionOrder 1900
  Weapon.AmmoUse 50
  Weapon.AmmoGive 50
  Weapon.AmmoType "Cyborgcells"
  Tag "IMC Plasmatic High Yield Fire Cannon"
    Weapon.BobRangeX 0.2
	Weapon.BobRangeY 0.2
	Inventory.RestrictedTo "CyborgClass"
  States
  {
  Ready:
    CRKT A 1 A_WeaponReady
    Loop
  Deselect:
    CRKT AA 1 A_Lower
	CRKT A 0 A_Lower
    Loop
  Select:
   CRKT AA 1 A_Raise
	CRKT A 0 A_Raise
    Loop
  Fire:
    CRKT A 1 OFFSET(0,32) A_PLAYWEAPONSOUND("CYBRCKT")
	CRKT B 0 A_GUNFLASH
	CRKT B 2 BRIGHT OFFSET(0,45) A_FIRECUSTOMMISSILE("PLASMATICSHOT")
	CRKT B 2 BRIGHT OFFSET(0,40)
	CRKT C 2 BRIGHT OFFSET(0,37)
	CRKT C 2 BRIGHT OFFSET(0,35)
	CRKT A 3 OFFSET(0,33)
	CRKT A 19 OFFSET(0,32)
    Goto Ready
  Spawn:
    PIST A -1
    Stop
  }
  }