

//Uses heretic sprites.

ACTOR Crossbow_Particles
{
	+NOBLOCKMAP
+NOINTERACTION
	Gravity 0.125
	RenderStyle Add
	Scale 0.5
	States
	{
	Spawn:
		FX03 FG 7 BRIGHT
		Stop
	}
}




//Balanced on small radius monsters. Op on large radius monsters.
//Since there's no bfg equivalent on the game, i find this issue an acceptable deal, so I keep it as is.
ACTOR Dusk_CrossbowProjectile
{
	Game Doom
	SpawnID 147
	Radius 11
	Height 8
	Speed 50
	Damage 9
	Projectile
	RenderStyle Add
//	+THRUACTORS
  ReactionTime 144 //Aprox 4 seconds) 
    +RIPPER
//	+NOCLIP
  +NOBLOCKMAP 
  +DONTGIB
  +MISSILE 
+FORCERADIUSDMG
+NODAMAGETHRUST
+NOINTERACTION
+dontsplash
	SeeSound "Sil/Encio"
	DeathSound "Crossbow/Hit"
	Obituary "%k killed %o with Crossbow."
	States
	{
	Spawn:
	//Estimated lifespan of 4 seconds. Thay way it would prevent infinite projectiles flying through the void lagging the game.
		FX03 A 0 A_SpawnItemEx("Crossbow_Particles", random2[BoltSpark]()*0.015625, random2[BoltSpark]()*0.015625, 0, 0,0,0,0,SXF_ABSOLUTEPOSITION, 50)
		FX03 A 1 BRIGHT  A_Explode(125,12,0,0,15)//Light("GreenSmallPoint1")
    FX03 A 0 A_CountDown
	Loop


	Death:
		FX03 CDE 5 BRIGHT
		Stop
	}
}

