Actor Dualshot_Nail
{
        Projectile
        Radius 6
        Height 8
        Speed 30
        Damage (10+random(0, 7))
        Scale 0.6
        +BLOODSPLATTER
		+STRIFEDAMAGE
		+MTHRUSPECIES
		+ripper
		
        seeSound ""
        DeathSound ""
        Decal Bulletchip
        DamageType MarineFire2
		+DOOMBOUNCE
		bouncecount 2
		
        States
        {
        Spawn:
        	DART A 0 A_PlaySound("weapons/nailflight")
			DART A 1 A_SpawnItemEx("NailBlur", 0, 0, 0, 0.2, 0, 0, 180, 128)
			loop
        Crash:
        	DART B 0 A_PlaySound("weapons/nailhit")
        	DART BCDEFG 2
        	Stop
        XDeath:
        	DART B 0 A_PlaySound("weapons/nailhitbleed")
        	DART BCDEFG 2
        	Stop
        Death:
        	DART B 0 A_PlaySound("weapons/nailhit")
        	DART BCDEFG 2
        	Stop
        }
}

ACTOR Dualshot_RazorBolt
{
	Radius				16
	Height				8
	
	Speed				50
	Damage				(15+random(0,10))
	Gravity				0.5
	Mass				50
	bouncefactor                    0.8
	
	Obituary			"%0 was sliced by %k's Dualshot."
	
	ExplosionRadius			64
	ExplosionDamage			6
	DamageType			MarineFire2
	+NOBLOCKMAP
	+DROPOFF
	+MISSILE
	+ACTIVATEIMPACT
	+ACTIVATEPCROSS
	+DOOMBOUNCE
	+RIPPER
	+STRIFEDAMAGE
	+MTHRUSPECIES
	bouncecount 4
	
	scale 0.4
	
	DeathSound "weapons/rico"
	
	States
	{
		Spawn:
			SAWS A 1 bright A_SpawnItemEx("Blur_SawA")
			SAWS B 1 bright A_SpawnItemEx("Blur_SawB")
			SAWS C 1 bright A_SpawnItemEx("Blur_SawC")
			SAWS D 1 bright A_SpawnItemEx("Blur_SawD")
			SAWS E 1 bright A_SpawnItemEx("Blur_SawE")
			SAWS F 1 bright A_SpawnItemEx("Blur_SawF")
			SAWS G 1 bright A_SpawnItemEx("Blur_SawG")
			SAWS H 1 bright A_SpawnItemEx("Blur_SawH")
			TNT1 A 0 A_PlaySound("weapons/sawfull")
			goto Spawn
		Death:
			"####" "#" 0 A_ChangeFlag("NOGRAVITY", true)
			"####" "#" 0 A_SpawnitemEx("BulletPuff_Standard")
			"####" "#" 0 A_SpawnitemEx("BulletPuff_Standard")
			"####" "#" 0 A_SpawnitemEx("BulletPuff_Standard")
			"####" "#" 35 bright A_Explode
			stop
	}
}

Actor Dualshot_RazorBolt2 : Dualshot_RazorBolt
{
States{
	Spawn:
		SAW2 A 1 bright A_SpawnItemEx("Blur_Saw2A")
		SAW2 B 1 bright A_SpawnItemEx("Blur_Saw2B")
		SAW2 C 1 bright A_SpawnItemEx("Blur_Saw2C")
		SAW2 D 1 bright A_SpawnItemEx("Blur_Saw2D")
		SAW2 E 1 bright A_SpawnItemEx("Blur_Saw2E")
		SAW2 F 1 bright A_SpawnItemEx("Blur_Saw2F")
		SAW2 G 1 bright A_SpawnItemEx("Blur_Saw2G")
		SAW2 H 1 bright A_SpawnItemEx("Blur_Saw2H")
		TNT1 A 0 A_PlaySound("weapons/sawfull")
		goto Spawn
	Death:
		"####" "#" 0 A_ChangeFlag("NOGRAVITY", true)
		"####" "#" 0 A_SpawnitemEx("BulletPuff_Standard")
		"####" "#" 0 A_SpawnitemEx("BulletPuff_Standard")
		"####" "#" 0 A_SpawnitemEx("BulletPuff_Standard")
		"####" "#" 35 bright A_Explode
		stop
	}
}
