actor QuickBoomerangWep : MegaBuster 10053
{
Weapon.AmmoUse 1
Weapon.AmmoGive 112
Weapon.SlotNumber 3
Obituary "%o couldn't dodge %k's Quick Boomerang."
Inventory.Pickupmessage "Power up! Quick Boomerang!"
weapon.ammotype "QuickBoomerangAmmo"
inventory.pickupsound "weapon/weaponup"
+WEAPON.AMMO_OPTIONAL
inventory.icon "QUICKSI"
Scale 2.0
States
{
Spawn:
WEAP Z 1
loop
Ready:
QUIC E 0 ACS_ExecuteAlways(998,0,22)
QUIC E 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
QUIC E 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
QUIC E 1 A_Raise
Loop
Fire:
QUIC E 0 A_JumpIfNoAmmo("NoAmmo")
QUIC E 0 A_PlaySoundEx("weapon/mbuster","Weapon")
QUIC E 2 A_FireCustomMissile("QuickBoomerang",0,1,8,0)
QUIC F 2
QUIC E 0 A_Refire
Goto Ready+1
Hold:
QUIC E 0 A_JumpIfNoAmmo("NoAmmo")
QUIC E 0 A_PlaySoundEx("weapon/mbuster","Weapon")
QUIC E 2 A_FireCustomMissile("QuickBoomerang",0,1,8,0)
QUIC F 2
QUIC E 0 A_Refire
Goto Ready+1
NoAmmo:
QUIC E 1 ACS_Execute(979,0)
Goto Ready+1
}
}

actor QuickBoomerangAmmo : Ammo
{
inventory.amount 1
inventory.maxamount 112
}


actor QuickBoomerang
{
damagetype "Quick"
PROJECTILE
Radius 6
Height 7
scale 2.5
damage (11)
speed 50
reactiontime 3
States
{
Spawn:
QUIC A 0 A_CountDown
QUIC AABBCCDD 1 A_Recoil(4)
loop
}
}