Woodens stakes don't work against elephants, sadly. But they are great vs cavalry. Just don't run your general into them