Author Topic: Ranking system plus new bountypoints  (Read 1060 times)

Sjelm

  • Newbie
  • *
  • Posts: 23
    • View Profile
Ranking system plus new bountypoints
« on: July 31, 2016, 07:53:30 AM »
I have been using for a while the following formula:


n - r + 1  (one point for last, one point for next out, etc.)

switch(r, 1, 25, 2, 15, 3, 10, 4, 7, 5, 5, 6, 4, 7, 3, 8, 2, 9, 1)   (awards points based upon top 9 finish, 25 bonus for 1st, 15 for 2nd, etc)

put together, makes n - r + 1 + switch(r, 1, 25, 2, 15, 3, 10, 4, 7, 5, 5, 6, 4, 7, 3, 8, 2, 9, 1)

Now I would like to add extra points for busting a player.
This means each player busting another player will receive 2 extra points for each bust
How must I update my formula?

Many thanks in advance
Sjelm

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Ranking system plus new bountypoints
« Reply #1 on: July 31, 2016, 05:52:16 PM »
Just add: + (nh * 2)

n - r + 1 + switch(r, 1, 25, 2, 15, 3, 10, 4, 7, 5, 5, 6, 4, 7, 3, 8, 2, 9, 1) + (nh * 2)

The parentheses aren't necessary but I like to use them.

Sjelm

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Ranking system plus new bountypoints
« Reply #2 on: August 15, 2016, 12:21:22 PM »
Thans you