ACTOR TK3StormBow : Weapon
{
  Weapon.Kickback 100
  scale 0.2
  	Weapon.AmmoUse 1
	Weapon.AmmoGive 20
	Weapon.AmmoType "TK3ArrowAmmo"
  Inventory.PickupMessage "Storm Bow"
  inventory.Icon "TKA5U0"
  Weapon.SelectionOrder 1300
  Obituary  "%o meets %k's blade and died."
  	Inventory.PickupSound "Turok3/Items/PickupWeapon"
	tag "Storm Bow"
  States
  {
  Spawn:
    TKA3 U -1
    Loop
  Ready:
	TNT1 A 0 A_PlaySound ("Turok3/Weapons/StormBowUp","Weapon")
    TK05 A 2
	TK05 B 2
	TK05 C 2 
    TK05 D -1 A_WeaponReady
    Goto Ready+4
  Deselect:
    TK05 V 2
    TK05 X 2
	TK05 YZ 2
    TK05 S 0 A_Lower
    wait
  Select: 
    TK05 A 0 A_Raise 
    Loop  
  Fire: 
 	TNT1 A 0 A_PlaySound ("Turok3/Weapons/StormBowAttack","Weapon")
	TNT1 A 0 A_FireCustomMissile("TK3StormArrow")
    TK05 EFGHIJKLMNOPQRSTU 2
    Goto Ready+4
  }
}

actor TK3StormArrow: Fastprojectile
{
  obituary "%k pinned %o to the wall with his Storm Bow."
  radius 8
  height 8
  speed 160
  damage 15
  scale 0.2
  DeathSound "Turok3/Weapons/ArrowHit"
  PROJECTILE
  +FORCEXYBILLBOARD
  +BLOODSPLATTER
  states
  {
  Spawn:
    TF22 A 6
    loop
  Death:
    TF22 A 0 A_SpawnItemEx ("UsedArrow",0,0,5,0,0,0,0,1,0)
    stop
  }
}