Added check for potion effect