the effects are applied regardless of being caused by potions eg. by being hit by a wither skeleton despite the description stating "when you drink a potion"
i dont know if this is the intended behavior if it is then the description is wrong if it isnt not the code is wrong