public bool PackSlayer( double chance )
{
if ( chance <= Utility.RandomDouble() )
return false;
if ( Utility.RandomBool() )
{
BaseInstrument instrument = Loot.RandomInstrument();
if ( instrument != null )
{
instrument.Slayer = SlayerGroup.GetLootSlayerType( GetType() );
PackItem( instrument );
}
}
else if ( !Core.AOS )
{
BaseWeapon weapon = Loot.RandomWeapon();
if ( weapon != null )
{
weapon.Slayer = SlayerGroup.GetLootSlayerType( GetType() );
PackItem( weapon );
}
}
return true;
}