Advertisement
Guest User

ea bs

a guest
Sep 27th, 2017
1,577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. [ADAPTIVE_DIFFICULTY]
  2. ENABLED = 1
  3.  
  4. LAST_GOAL_DIFFERENCE_ABS_THRESHOLD = 6 // e.g. "Single game loss >= 6 goals", "Single game win >= 6 goals"
  5.  
  6. STREAK_ABS_THRESHOLD_0 = 3 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Beginner)"
  7. STREAK_ABS_THRESHOLD_1 = 3 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Amateur)"
  8. STREAK_ABS_THRESHOLD_2 = 3 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Semi-Pro)"
  9. STREAK_ABS_THRESHOLD_3 = 4 // e.g. "Four back to back losses with a negative goal diff of >= 12 (Professional)"
  10. STREAK_ABS_THRESHOLD_4 = 4 // e.g. "Four back to back losses with a negative goal diff of >= 12 (World Class)"
  11. STREAK_ABS_THRESHOLD_5 = 5 // e.g. "Five back to back losses with a negative goal diff of >= 15 (Legendary)"
  12.  
  13. ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_0 = 9 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Beginner)"
  14. ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_1 = 9 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Amateur)"
  15. ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_2 = 9 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Semi-Pro)"
  16. ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_3 = 12 // e.g. "Four back to back losses with a negative goal diff of >= 12 (Professional)"
  17. ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_4 = 12 // e.g. "Four back to back losses with a negative goal diff of >= 12 (World Class)"
  18. ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_5 = 15 // e.g. "Five back to back losses with a negative goal diff of >= 15 (Legendary)"
  19.  
  20. [ADAPTIVE_DIFFICULTY_INCREASE_DIFFICULTY]
  21. // Description: "User scores in first 5 minutes"
  22. // WHEN <GoalEvaluation> IF <user score is greater than opponent score and before 5 minutes> DO <increase difficulty by 0.25>
  23. RULE1_PARAM1 = 5 // Minutes
  24. RULE1_OUTPUT = 0.25
  25.  
  26. // Description: "User scores in first 20 minutes"
  27. // WHEN <GoalEvaluation> IF <user score is greater than opponent score and before 20 minutes> DO <increase difficulty by 0.25>
  28. RULE2_PARAM1 = 20 // Minutes
  29. RULE2_OUTPUT = 0.25
  30.  
  31. // Description: "Score >= 2 goal lead"
  32. // WHEN <GoalEvaluation> IF <user has greater than 2 goal lead> DO <increase difficulty by 0.25>
  33. RULE3_PARAM1 = 2 // Goal lead
  34. RULE3_OUTPUT = 0.25
  35.  
  36. // Description: ">70% possession after at least 20 minutes"
  37. // WHEN <BallOOP> IF <user has greater than 70% of possession and after 20 minutes> DO <increase difficulty by 0.25>
  38. RULE4_PARAM1 = 70 // Possession percentage
  39. RULE4_PARAM2 = 20 // Minutes
  40. RULE4_OUTPUT = 0.25
  41.  
  42. // Description: "More than 5 shots in first 30 minutes"
  43. // WHEN <BallOOP> IF <user has more than 5 shots in the first 30 minutes> DO <increase difficulty by 0.15>
  44. RULE5_PARAM1 = 5 // Shots
  45. RULE5_PARAM2 = 30 // Minutes
  46. RULE5_OUTPUT = 0.15
  47.  
  48. // Description: "More than 10 shots on target at any point"
  49. // WHEN <BallOOP> IF <user has more than 10 shots on target> DO <increase difficulty by 0.1>
  50. RULE6_PARAM1 = 10 // Shots on target
  51. RULE6_PARAM2 = 10 // Increments on PARAM1
  52. RULE6_OUTPUT = 0.1
  53.  
  54. [ADAPTIVE_DIFFICULTY_DECREASE_DIFFICULTY]
  55. // Description: "Losing at any point"
  56. // WHEN <GoalEvaluation> DO <decrease difficulty by 0.1>
  57. RULE1_PARAM1 = 0 // Minutes
  58. RULE1_OUTPUT = -0.1
  59.  
  60. // Description: "No shot on target within 30 minutes of play"
  61. // WHEN <BallOOP> IF <after 30 minutes> DO <decrease difficulty by 0.2>
  62. RULE2_PARAM1 = 30 // Minutes
  63. RULE2_OUTPUT = -0.2
  64.  
  65. // Description: "<30% possession any time after 30 minutes"
  66. // WHEN <BallOOP> IF <possession less than 30% and after 30 minutes> DO <decrease difficulty by 0.2>
  67. RULE3_PARAM1 = 30 // Possession
  68. RULE3_PARAM2 = 30 // Minutes
  69. RULE3_OUTPUT = -0.2
  70.  
  71. // Description: "<2 shots by 60th minute"
  72. // WHEN <BallOOP> IF <number of shots less than 2 and after 60 minutes> DO <decrease difficulty by 0.2>
  73. RULE4_PARAM1 = 2 // Shots
  74. RULE4_PARAM2 = 60 // Minutes
  75. RULE4_OUTPUT = -0.2
  76.  
  77. // Description: "<4 shots on target 80th minute"
  78. // WHEN <BallOOP> IF <number of shots less than 4 and after 80 minutes> DO <decrease difficulty by 0.3>
  79. RULE5_PARAM1 = 4 // Shots
  80. RULE5_PARAM2 = 80 // Minutes
  81. RULE5_OUTPUT = -0.3
  82.  
  83. // Description: "Losing by 2 goals"
  84. // WHEN <GoalEvaluation> IF <losing by 2 goals> DO <decrease difficulty by 0.1>
  85. RULE6_PARAM1 = -2 // Goals
  86. RULE6_OUTPUT = -0.15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement