ACTOR TBlasterProjectileEC : TBlasterProjectile replaces TBlasterProjectile
{
Speed 420
Radius 8
Height 6
Damage (30)
Renderstyle Add
Scale 0.4
PROJECTILE
-CANNOTPUSH
+NODAMAGETHRUST
+EXTREMEDEATH
+MTHRUSPECIES
DamageType "TechBlast"
DeathSound "weapons/StachanovHit"
MissileType "TBlasterProjectileTrail"
Decal Scorch
States
{
  Spawn:
    TNT1 A 0
	YAE4 A 0 A_SpawnItemEx("TBlasterProjectileTrail",5,1.0,1)
    TNT1 A 1 A_PlaySound("weapons/brimstonefly",5,1.0,1)
    Loop
  Death:
    TNT1 A 0 A_PlaySound("TechBlaster/Explode",5)
    TNT1 AAAAAAAAAA 0 A_SpawnItemEx("TBlasterProjectileTrailSparks",random(19,-19),random(19,-19),random(19,-19),0,0,0,0,128,0)
    TNT1 A 0 A_SpawnItemEx("TBlasterExplode",0,0,0,0,0,0,0,128,0)
	TNT1 A 0 A_Explode(105,32,0)
    TNT1 A 0 A_Explode(85,80,0)
    TNT1 BCD 4
    stop
  }
}
/*
Actor LegendarySaberEC : LegendarySaber replaces LegendarySaber
{
  Scale 0.7
  Weapon.AmmoType1 "LDemonAmmo"
  Weapon.AmmoType2 "DustMana"
  Weapon.AmmoUse1 0
  Weapon.AmmoUse2 0
  Weapon.AmmoGive1 40
  Weapon.AmmoGive2 50
  Inventory.PickupSound "Saber/Pickup"
  Inventory.PickupMessage "You got the Legendary Saber! With enough thinking, you may be able to discover new powers..."
  Weapon.PreferredSkin "Fist-Marine"
  Obituary "%o was amazed that %k actually got this obituary to appear."
  Tag "Legendary Saber"
  +WEAPON.AMMO_OPTIONAL
  States
  {
   Refire2:
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_Quake(3,10,0,10,0)
	LGSB DE 1
	LSB2 GHIJ 1
	TNT1 A 0 A_CustomPunch((random(80,135)*random(1,3)),0,0,"SaberBulletPuff2",175)
	LSB2 KLMNOP 1
	TNT1 A 4
	TNT1 A 0 A_JumpIfInventory("LDemonAmmo",15,2)
	TNT1 A 0 A_Jump(256,2)
	TNT1 A 0 A_Refire("Refire2")
	TNT1 A 0
	Goto Done2
	}
}

Actor SaberBulletPuff2EC : SaberBulletPuff2 Replaces SaberBulletPuff2
{
VSpeed 0
ProjectileKickBack 50
Damagetype "LegendaryMelee"
States
{
  Spawn:
  Melee:
	LSAR ABCDEFG 2 Bright A_FadeOut(0.1)
	Stop	
  XDeath:
	TNT1 A 0 A_SetScale(0.65)
	TNT1 A 0 A_PlaySound("Saber/Explode",7)
	TNT1 A 0 A_SpawnItemEx("LegendaryBlueParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 A 0 A_CustomMissile("LegendaryKaboom6", 0, 0, random(0,360), 2, random(0,360))
	TNT1 A 0 A_CustomMissile("LegendarySmokeFX4", 0, 0, random(0,360), 2, random(0,360))
	TNT1 A 0 A_TakeInventory("LDemonAmmo",15,TIF_NOTAKEINFINITE,AAPTR_TARGET)
	LSX0 ABCDEFG 3
	Stop
    }
}

ACTOR DesiccationHealth : NewMaxHealthBonus
{
Inventory.Amount 40
Inventory.MaxAmount 1350
}

Actor SubSwordWallHitBuff : SubSwordWallHit replaces SubSwordWallHit
{
+NOGRAVITY
+PUFFGETSOWNER
+PUFFONACTORS
+EXTREMEDEATH
+FOILINVUL
DamageType "SubSwordMelee"
AttackSound "SubSword/WallHit"
SeeSound "Mainyu/Meleehit"
RenderStyle Add
Alpha 0.8
Scale 0.8
VSpeed 0
States
{
XDeath:
	TNT1 F 0 
	FAXE F 3 A_GiveToTarget("SubliminationHealth",random(35,60))
	FAXE GHIJK 3
	Stop
    }
}

Actor SubliminationHealth : NewMaxHealthBonus
{
Inventory.MaxAmount 1500
Inventory.Amount 1
}