Official Terrarian
Potion sickness is BuffID.PotionSickness (21) You can use a prepatch to stop the potionsickness buff from ever being applied.How can I make the recovery potion have no cooling time and use it all the time, which function is it?
Something like this:
Code:
...
using Terraria.ID;
...
public override void PrePatch() {
CreateHPatchOperation("Terraria.Player", "AddBuff", "BeforeAddBuff", HPatchLocation.Prefix);
}
...
public static bool BeforeAddBuff(int type) {
if(type == BuffID.PotionSickness) return false;
return true;
}