Author Topic: Help with point formular  (Read 969 times)

Borsk

  • Newbie
  • *
  • Posts: 8
    • View Profile
Help with point formular
« on: July 31, 2009, 05:50:03 AM »
Hi

I have a league and we use a bit tricky system to generate points. I just startet to use Tournament director since this can handle everything with prize pool, points, League etc.

We award 2 points for every position you gain so if we hare 15 players the winner gets 15*2, runner up gets 14*2. This is ok
We then also use a bonus system that varies depending on number of players:

6-11 Players Bonus is
1st place +5
2nd palce +3
3rd place +1

12-17 Player bonus is
1st place +7
2nd palce +5
3rd place +3
4th place +1

18-25 Player bonus is
1st place +9
2nd palce +7
3rd place +5
4th place +3
5th place +1

I can't figure out how to incoporate the bonus system in the first part of the formular

Any ideas?

Thanks
Borsk

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Help with point formular
« Reply #1 on: July 31, 2009, 09:34:09 AM »
((n - r + 1) * 2) + max((if(n > 5, if(n > 11, if(n > 17, 5, 4), 3), 0) - r + 1) * 2 - 1, 0)

Borsk

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Help with point formular
« Reply #2 on: August 02, 2009, 05:09:48 PM »
Great, formular works perfectly.

Thanks alot

Borsk