Gregory Paul Ulrich, 67, is alleged to have suffered from an addiction to opioids
Ulrich was charged last week with second-degree murder, four counts of attempted murder, setting off explosives and carrying a pistol without a permit
Ulrich allegedly shot five people including one victim six times and detonated three homemade bombs at the Allina Health Clinic in Buffalo a week last Tuesday
Ulrich also left a rambling message on his cell phone recorded shortly before the attack where he spoke about his injuries and his intentions toward the clinic
Authorities found a plastic bag containing six oxycodone pills when they searched Ulrich a hotel room - he is said to have taken 30 at a time