fixed bug with invetory element; changed random element logic; changed
chance value type; added bears element base logic;