Curiosity: Change Loot table based on condition

Can you change the loot table of a mob based on them being affected by a potion effect? For example, a cow that is poisoned will drop rotten flesh instead of beef.

Continue to help post