Clean up potion effects as per [2544231]; get rid of the "power == 40 means

it's a potion" hack. Fix security issue in dumping code (never dump a string without using %s.)

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8846 c06c8d41-db1a-0410-9941-cceddc491573

Created by  haranp  on January 29, 2009
MIC2SDBOCS63ZDNBQ2VRZMTFOYJL5DUQVR67I7Z3KBJGDBNZJIGAC
Dependencies
In channels
main
Change contents