`assign("v", n * 50)`

switch(r, 1, v * .3, 2, v * .2, 3, v * .12, 4, v * .08, 5, v * .07, 6, v * .06, 7, v * .05, 8, v * .04, if(r < 17, v * .01, 0)) + (na * 25) + 10

The part in red is the "points for buy in" requirement.

`assign("v", n * 50)`

switch(r, 1, v * .3, 2, v * .2, 3, v * .12, 4, v * .08, 5, v * .07, 6, v * .06, 7, v * .05, 8, v * .04, if(r < 17, v * .01, 0)) + (na * 25) + 10

The part in red is the "points for add-on" requirement.

So the answer is leave those values out; they are already accounted for in the formula.