Author Topic: formula  (Read 909 times)

ready2move

  • Newbie
  • *
  • Posts: 7
    • View Profile
formula
« on: May 08, 2010, 01:48:02 PM »
Hi,

Im rather new with the concept formula:

We want to have a 3 day tournament. Each tournament top 8 players receive points:

1. 100 points
2. 75 points
3. 60 points
4. 50 points
5. 40 points
6. 30 points
7. 20 points
8. 10 points

When players is busted out, we want to give them 5 points. Finally we want to have an overall score in 3 days. Any pointers how to achieve this? thanks.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: formula
« Reply #1 on: May 08, 2010, 02:52:35 PM »
max(0, 90 - (r * 10)) + switch(r, 1, 20, 2, 5)

That will get the you 8th through 1st place points.  You want to add 5 points when a player busts out?  I assume you mean this goes to the player busting out the other player (the hitman).  To do that, just add to the formua "+ (nh * 5)":

max(0, 90 - (r * 10)) + switch(r, 1, 20, 2, 5) + (nh * 5)


ready2move

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: formula
« Reply #2 on: May 09, 2010, 06:03:06 AM »
Thanks corey, thats exacly what i mean. Can you explain me how i can add this to overall score. So basically if a player plays 3 tournaments and receives 100, 10 and 5 points. The overall score should be 115. thanks you --> nevermind, i figured it out. thanks for all your help corey
« Last Edit: May 09, 2010, 06:41:10 AM by ready2move »