//------------------------------------------------------------------------------
actor CWeaponPiece1 : ClericWeaponPiece 18
{
	Game Hexen
	SpawnID 33
	+FloatBob
	Inventory.PickupMessage "$txt_wraithverge_piece"
	WeaponPiece.Number 1
	WeaponPiece.Weapon "CWeapWraithverge"
	states
	{
	Spawn:
		WCH1 A -1 Bright
		Stop
	}
}

//------------------------------------------------------------------------------
actor CWeaponPiece2 : CWeaponPiece1 19
{
	Game Hexen
	SpawnID 34
	WeaponPiece.Number 2
	states
	{
	Spawn:
		WCH2 A -1 Bright
		Stop
	}
}

//------------------------------------------------------------------------------
actor CWeaponPiece3 : CWeaponPiece1 20
{
	Game Hexen
	SpawnID 35
	WeaponPiece.Number 3
	states
	{
	Spawn:
		WCH3 A -1 Bright
		Stop
	}
}

//------------------------------------------------------------------------------
actor HolyMissile
{
	Radius 15
	Height 8
	Speed 30
	Damage 4
	Projectile
	-ActivateImpact
	-ActivatePCross
	+ExtremeDeath

	action native A_CHolyAttack2();

	states
	{
	Spawn:
		SPIR PPPP 3 Bright A_SpawnItemEx("HolyMissilePuff")
	Death:
		SPIR P 1 Bright A_CHolyAttack2
		Stop
	}
}

//------------------------------------------------------------------------------
actor HolyMissilePuff
{
	Radius 4
	Height 8
	RenderStyle Translucent
	Alpha 0.4
	+NoBlockmap
	+NoGravity
	+DropOff
	+NoTeleport
	states
	{
	Spawn:
		SPIR QRSTU 3
		Stop
	}
}

//------------------------------------------------------------------------------
actor HolyPuff
{
	RenderStyle Translucent
	Alpha 0.6
	+NoBlockmap
	+NoGravity
	states
	{
	Spawn:
		SPIR KLMNO 3
		Stop
	}
}

//------------------------------------------------------------------------------
actor HolyTail
{
	Radius 1
	Height 1
	RenderStyle Translucent
	Alpha 0.6
	+NoBlockmap
	+NoGravity
	+DropOff
	+NoClip
	+NoTeleport

	action native A_CHolyTail();

	states
	{
	Spawn:
		SPIR C 1 A_CHolyTail
		Loop
	TailTrail:
		SPIR D -1
		Stop
	}
}

//------------------------------------------------------------------------------
actor HolyTailTrail : HolyTail
{
	states
	{
	Spawn:
		Goto TailTrail
	}
}
