//=============================================================================
// USUAmmoSuperShockRifle.
//=============================================================================
class USUAmmoSuperShockRifle expands UBersSuperShockRifle;

function SetWeaponStay()
{
    bWeaponStay = false; // Supershockrifle never stays
}


function Fire( float Value )
{
    if ( AmmoType == None )
   {
      // ammocheck
      GiveAmmo(Pawn(Owner));
   }
   if (AmmoType.UseAmmo(1))
   {
        Super.Fire(Value);
    }
}

function AltFire( float Value )
{
    if ( AmmoType == None )
   {
      // ammocheck
      GiveAmmo(Pawn(Owner));
   }
   if (AmmoType.UseAmmo(1))
   {
        Super.AltFire(Value);
    }
}


simulated function PlayFiring()
{
	PlayOwnedSound(FireSound, SLOT_None, Pawn(Owner).SoundDampening*4.0);
	LoopAnim('Fire1', (0.20 + 0.20 * FireAdjust) * UBFireRate / 2, 0.05 / UBFireRate);
}

simulated function PlayAltFiring()
{
	PlayOwnedSound(FireSound, SLOT_None, Pawn(Owner).SoundDampening*4.0);
	LoopAnim('Fire1', (0.20 + 0.20 * FireAdjust) * UBFireRate / 2, 0.05 / UBFireRate);
}


defaultproperties
{
	AmmoName=Class'XPickups.USUSuperShockCore'
	PickupAmmoCount=4
	RespawnTime=136.000000
	MaxDesireability=3.000000
}