actor RabidBurstWep_NormalBar : NormalBar{args 89, 124}
Actor RabidBurstWep : BaseMM8BDMWep
{
Weapon.AmmoUse 3
Weapon.AmmoGive 27
Weapon.SlotNumber 3
Obituary "$OB_RABIDBURST"
Tag "$TAG_RABIDBURST"
Inventory.Pickupmessage "$PU_RABIDBURST"
weapon.ammotype "RabidBurstAmmo"
inventory.icon "RDBTICON"
States
{
SpawnLoop:
RDBT Z -1
loop
Ready:
RDBT A 0 ACS_NamedExecuteWithResult("core_weaponcolor",COLOR_RABIDBURST)
RDBT A 1 A_WeaponReady
Goto Ready+1
ReadyC: Goto Ready+1
Deselect:
RDBT A 0
Goto DeselectSwap
Select:
RDBT A 0
Goto SelectSwap
Fire:
RDBT A 0 A_JumpIfNoAmmo("NoAmmo")
RDBT A 0 A_PlaySoundEx("weapon/RabidBurst","Weapon")
RDBT A 0 A_FireCustomMissile("RabidBurstOrb",0,1,4,0,0,0)
RDBT BC 1
RDBT A 2
RDBT A 0 A_PlaySoundEx("weapon/RabidBurst","Weapon")
RDBT A 0 A_FireCustomMissile("RabidBurstOrb",frandom(-3,3),0,4,0,0,frandom(-3,3))
RDBT BC 1
RDBT A 2
RDBT A 0 A_PlaySoundEx("weapon/RabidBurst","Weapon")
RDBT A 0 A_FireCustomMissile("RabidBurstOrb",frandom(-3,3),0,4,0,0,frandom(-3,3))
RDBT BC 1
RDBT A 2
RDBT A 0 A_PlaySoundEx("weapon/RabidBurst","Weapon")
RDBT A 0 A_FireCustomMissile("RabidBurstOrb",frandom(-3,3),0,4,0,0,frandom(-3,3))
RDBT BC 1
RDBT A 2
RDBT A 0 A_PlaySoundEx("weapon/RabidBurst","Weapon")
RDBT A 0 A_FireCustomMissile("RabidBurstOrb",0,0,4,0,0,0)
RDBT BC 1
RDBT A 12
RDBT A 0 A_Refire
Goto Ready+1
NoAmmo:
RDBT A 0 ACS_NamedExecuteAlways("core_noammo",0)
Goto Ready+1
}
}

Actor RabidBurstAmmo : Ammo
{
	Inventory.Amount 1
	Inventory.MaxAmount 27
	+INVENTORY.IGNORESKILL
}

actor RabidBurstOrb : BasicProjectile
{
Obituary "$OB_RABIDBURST"
damagetype "RabidBurst"
painchance 255
Damage (CallACS("vile_cbm_damage",12))
Radius 15
Height 15
scale 2.0
speed 35
States
{
Spawn:
RDBT H 0
RDBT GHI 2 A_PlaySoundEx("weapon/blackholestart","Weapon")
loop
Death:
RDBT B 0 A_PlaySound("weapon/rabidbursthit")
RDBT JKLMN 2
stop
}
}
