there were , of course , times when a robe got in the way , especially when a wizard was working in his forge , creating a magic metal or mobiloid glass or any of those other little exercises in practical magic where not setting fire to yourself is a happy bonus , so every wizard had some leather trousers and a stained , rotted-by-acid shirt .