changed handling of potion effects