Advertisement
TATATATRATATATA

Untitled

Aug 9th, 2021
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. // GK (0)
  2. std::map<std::string, float> gk_formula = {
  3. {"reactions", 0.11f},
  4. {"gkdiving", 0.21f},
  5. {"gkhandling", 0.21f},
  6. {"gkkicking", 0.05f},
  7. {"gkreflexes", 0.21f},
  8. {"gkpositioning", 0.21f}
  9. };
  10.  
  11. // RWB(2) or LWB(8)
  12. std::map<std::string, float> wing_back_formula = {
  13. {"acceleration", 0.04f},
  14. {"sprintspeed", 0.06f},
  15. {"stamina", 0.10f},
  16. {"reactions", 0.08f},
  17. {"interceptions", 0.12f},
  18. {"ballcontrol", 0.08f},
  19. {"crossing", 0.12f},
  20. {"dribbling", 0.04f},
  21. {"shortpassing", 0.10f},
  22. {"marking", 0.07f},
  23. {"standingtackle", 0.08f},
  24. {"slidingtackle", 0.11f}
  25. };
  26.  
  27. // RB(3) or LB(7)
  28. std::map<std::string, float> full_back_formula = {
  29. {"acceleration", 0.05f},
  30. { "sprintspeed", 0.07f },
  31. { "stamina", 0.08f },
  32. { "reactions", 0.08f },
  33. { "interceptions", 0.12f },
  34. { "ballcontrol", 0.07f },
  35. { "crossing", 0.09f },
  36. { "headingaccuracy", 0.04f },
  37. { "shortpassing", 0.07f },
  38. { "marking", 0.08f },
  39. { "standingtackle", 0.11f },
  40. { "slidingtackle", 0.14f }
  41. };
  42.  
  43. // RCB (4) or CB (5) or LCB (6)
  44. std::map<std::string, float> centre_back_formula = {
  45. {"sprintspeed", 0.02f},
  46. {"jumping", 0.03f},
  47. {"strength", 0.10f},
  48. {"reactions", 0.05f},
  49. {"aggression", 0.07f},
  50. {"interceptions", 0.13f},
  51. {"ballcontrol", 0.04f},
  52. {"headingaccuracy", 0.10f},
  53. {"shortpassing", 0.05f},
  54. {"marking", 0.14f},
  55. {"standingtackle", 0.17f},
  56. {"slidingtackle", 0.10f}
  57. };
  58.  
  59. // RDM (9) or CDM(10) or LDM(11)
  60. std::map<std::string, float> def_mid_formula = {
  61. {"stamina", 0.06f},
  62. { "strength", 0.04f },
  63. { "reactions", 0.07f },
  64. { "aggression", 0.05f },
  65. { "interceptions", 0.14f },
  66. { "vision", 0.04f },
  67. { "ballcontrol", 0.10f },
  68. { "longpassing", 0.10f },
  69. { "shortpassing", 0.14f },
  70. { "marking", 0.09f },
  71. { "standingtackle", 0.12f },
  72. { "slidingtackle", 0.05f }
  73. };
  74.  
  75. // RM (12) or LM (16)
  76. std::map<std::string, float> wing_mid_formula = {
  77. {"acceleration", 0.07f},
  78. {"sprintspeed", 0.06f},
  79. {"stamina", 0.05f},
  80. {"reactions", 0.07f},
  81. {"positioning", 0.08f},
  82. {"vision", 0.07f},
  83. {"ballcontrol", 0.13f},
  84. {"crossing", 0.10f},
  85. {"dribbling", 0.15f},
  86. {"finishing", 0.06f},
  87. {"longpassing", 0.05f},
  88. {"shortpassing", 0.11f}
  89. };
  90.  
  91. // RCM (13) or CM (14) or LCM (15)
  92. std::map<std::string, float> centre_mid_formula = {
  93. {"stamina", 0.06f},
  94. {"reactions", 0.08f},
  95. {"interceptions", 0.05f},
  96. {"positioning", 0.06f},
  97. {"vision", 0.13f},
  98. {"ballcontrol", 0.14f},
  99. {"dribbling", 0.07f},
  100. {"finishing", 0.02f},
  101. {"longpassing", 0.13f},
  102. {"shortpassing", 0.17f},
  103. {"longshots", 0.04f},
  104. {"standingtackle", 0.05f}
  105. };
  106.  
  107. // RAM (17) or CAM (18) or LAM (19)
  108. std::map<std::string, float> attacking_mid_formula = {
  109. {"acceleration", 0.04f},
  110. {"sprintspeed", 0.03f},
  111. {"agility", 0.03f},
  112. {"reactions", 0.07f},
  113. {"positioning", 0.09f},
  114. {"vision", 0.14f},
  115. {"ballcontrol", 0.15f},
  116. {"dribbling", 0.13f},
  117. {"finishing", 0.07f},
  118. {"longpassing", 0.04f},
  119. {"shortpassing", 0.16f},
  120. {"longshots", 0.05f}
  121. };
  122.  
  123. // RF (20) or CF (21) or LF (22)
  124. std::map<std::string, float> forwards_formula = {
  125. {"acceleration", 0.05f},
  126. {"sprintspeed", 0.05f},
  127. {"reactions", 0.09f},
  128. {"positioning", 0.13f},
  129. {"vision", 0.08f},
  130. {"ballcontrol", 0.15f},
  131. {"dribbling", 0.14f},
  132. {"finishing", 0.11f},
  133. {"headingaccuracy", 0.02f},
  134. {"shortpassing", 0.09f},
  135. {"shotpower", 0.05f},
  136. {"longshots", 0.04f}
  137. };
  138.  
  139. // RW (23) or LW (27)
  140. std::map<std::string, float> wingers_formula = {
  141. {"acceleration", 0.07f},
  142. {"sprintspeed", 0.06f},
  143. {"agility", 0.03f},
  144. {"reactions", 0.07f},
  145. {"positioning", 0.09f},
  146. {"vision", 0.06f},
  147. {"ballcontrol", 0.14f},
  148. {"crossing", 0.09f},
  149. {"dribbling", 0.16f},
  150. {"finishing", 0.10f},
  151. {"shortpassing", 0.09f},
  152. {"longshots", 0.04f}
  153. };
  154.  
  155. // RS (24) or ST (25) or LS (26)
  156. std::map<std::string, float> strikers_formula = {
  157. {"acceleration", 0.04f},
  158. {"sprintspeed", 0.05f},
  159. {"strength", 0.05f},
  160. {"reactions", 0.08f},
  161. {"positioning", 0.13f},
  162. {"ballcontrol", 0.10f},
  163. {"dribbling", 0.07f},
  164. {"finishing", 0.18f},
  165. {"headingaccuracy", 0.10f},
  166. {"shortpassing", 0.05f},
  167. {"shotpower", 0.10f},
  168. {"longshots", 0.03f},
  169. {"volleys", 0.02f}
  170. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement