detect magic on alchemy