mad wi' it
You're so wasted you think you're a wizard and you're trying to cast spells on your best friend with a packet of sweets.
I got mad wi' it and tried to turn my mum into a chicken.
My friend was mad wi' it and tried to summon a ghost with a sandwich.
I was mad wi' it and told my dog I was the greatest wizard of all time.