Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // GK (0)
- std::map<std::string, float> gk_formula = {
- {"reactions", 0.11f},
- {"gkdiving", 0.21f},
- {"gkhandling", 0.21f},
- {"gkkicking", 0.05f},
- {"gkreflexes", 0.21f},
- {"gkpositioning", 0.21f}
- };
- // RWB(2) or LWB(8)
- std::map<std::string, float> wing_back_formula = {
- {"acceleration", 0.04f},
- {"sprintspeed", 0.06f},
- {"stamina", 0.10f},
- {"reactions", 0.08f},
- {"interceptions", 0.12f},
- {"ballcontrol", 0.08f},
- {"crossing", 0.12f},
- {"dribbling", 0.04f},
- {"shortpassing", 0.10f},
- {"marking", 0.07f},
- {"standingtackle", 0.08f},
- {"slidingtackle", 0.11f}
- };
- // RB(3) or LB(7)
- std::map<std::string, float> full_back_formula = {
- {"acceleration", 0.05f},
- { "sprintspeed", 0.07f },
- { "stamina", 0.08f },
- { "reactions", 0.08f },
- { "interceptions", 0.12f },
- { "ballcontrol", 0.07f },
- { "crossing", 0.09f },
- { "headingaccuracy", 0.04f },
- { "shortpassing", 0.07f },
- { "marking", 0.08f },
- { "standingtackle", 0.11f },
- { "slidingtackle", 0.14f }
- };
- // RCB (4) or CB (5) or LCB (6)
- std::map<std::string, float> centre_back_formula = {
- {"sprintspeed", 0.02f},
- {"jumping", 0.03f},
- {"strength", 0.10f},
- {"reactions", 0.05f},
- {"aggression", 0.07f},
- {"interceptions", 0.13f},
- {"ballcontrol", 0.04f},
- {"headingaccuracy", 0.10f},
- {"shortpassing", 0.05f},
- {"marking", 0.14f},
- {"standingtackle", 0.17f},
- {"slidingtackle", 0.10f}
- };
- // RDM (9) or CDM(10) or LDM(11)
- std::map<std::string, float> def_mid_formula = {
- {"stamina", 0.06f},
- { "strength", 0.04f },
- { "reactions", 0.07f },
- { "aggression", 0.05f },
- { "interceptions", 0.14f },
- { "vision", 0.04f },
- { "ballcontrol", 0.10f },
- { "longpassing", 0.10f },
- { "shortpassing", 0.14f },
- { "marking", 0.09f },
- { "standingtackle", 0.12f },
- { "slidingtackle", 0.05f }
- };
- // RM (12) or LM (16)
- std::map<std::string, float> wing_mid_formula = {
- {"acceleration", 0.07f},
- {"sprintspeed", 0.06f},
- {"stamina", 0.05f},
- {"reactions", 0.07f},
- {"positioning", 0.08f},
- {"vision", 0.07f},
- {"ballcontrol", 0.13f},
- {"crossing", 0.10f},
- {"dribbling", 0.15f},
- {"finishing", 0.06f},
- {"longpassing", 0.05f},
- {"shortpassing", 0.11f}
- };
- // RCM (13) or CM (14) or LCM (15)
- std::map<std::string, float> centre_mid_formula = {
- {"stamina", 0.06f},
- {"reactions", 0.08f},
- {"interceptions", 0.05f},
- {"positioning", 0.06f},
- {"vision", 0.13f},
- {"ballcontrol", 0.14f},
- {"dribbling", 0.07f},
- {"finishing", 0.02f},
- {"longpassing", 0.13f},
- {"shortpassing", 0.17f},
- {"longshots", 0.04f},
- {"standingtackle", 0.05f}
- };
- // RAM (17) or CAM (18) or LAM (19)
- std::map<std::string, float> attacking_mid_formula = {
- {"acceleration", 0.04f},
- {"sprintspeed", 0.03f},
- {"agility", 0.03f},
- {"reactions", 0.07f},
- {"positioning", 0.09f},
- {"vision", 0.14f},
- {"ballcontrol", 0.15f},
- {"dribbling", 0.13f},
- {"finishing", 0.07f},
- {"longpassing", 0.04f},
- {"shortpassing", 0.16f},
- {"longshots", 0.05f}
- };
- // RF (20) or CF (21) or LF (22)
- std::map<std::string, float> forwards_formula = {
- {"acceleration", 0.05f},
- {"sprintspeed", 0.05f},
- {"reactions", 0.09f},
- {"positioning", 0.13f},
- {"vision", 0.08f},
- {"ballcontrol", 0.15f},
- {"dribbling", 0.14f},
- {"finishing", 0.11f},
- {"headingaccuracy", 0.02f},
- {"shortpassing", 0.09f},
- {"shotpower", 0.05f},
- {"longshots", 0.04f}
- };
- // RW (23) or LW (27)
- std::map<std::string, float> wingers_formula = {
- {"acceleration", 0.07f},
- {"sprintspeed", 0.06f},
- {"agility", 0.03f},
- {"reactions", 0.07f},
- {"positioning", 0.09f},
- {"vision", 0.06f},
- {"ballcontrol", 0.14f},
- {"crossing", 0.09f},
- {"dribbling", 0.16f},
- {"finishing", 0.10f},
- {"shortpassing", 0.09f},
- {"longshots", 0.04f}
- };
- // RS (24) or ST (25) or LS (26)
- std::map<std::string, float> strikers_formula = {
- {"acceleration", 0.04f},
- {"sprintspeed", 0.05f},
- {"strength", 0.05f},
- {"reactions", 0.08f},
- {"positioning", 0.13f},
- {"ballcontrol", 0.10f},
- {"dribbling", 0.07f},
- {"finishing", 0.18f},
- {"headingaccuracy", 0.10f},
- {"shortpassing", 0.05f},
- {"shotpower", 0.10f},
- {"longshots", 0.03f},
- {"volleys", 0.02f}
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement