Loyalty System: Discount Per Visit

Found a post that says we can.

Now If I can just know what constraint for discount I could use, I reckon I can make this work!
Then I can move onto removing the points once payment is processed.