Based on the basic stats, the players will be placed in 4 main positions when participating in the match, including GK, B, M, and F. Corresponding to each position, there will be actions suitable for the match.
0: Shot 1: Pass 2: Long Pass 3: Dribble
The system will roll a dice to randomly generate a number between 0 and 100. If the number is less than the action's odds, the player will perform that action. If not, he moves to the next preferred action, and the system continues rolling the dice. If, in the end, the numbers are all higher than the ratio of the actions, the player will default to take the first action.
GK: Handling, Reflex. B (Include CB, LB, RB): Pass Long Pass Dribble Shot M (Include DM, CM, LM, RM, AM): Pass Long Pass Dribble Shot F (Include LW, RW, CF, ST): Pass Long Pass Dribble Shot
B: Pass > longPass > Drible > Shot Probability: [10 50 30 1] Action Order [ 1 2 3 0]
M: Pass > longPass > Drible > Shot Probability: [30 50 10 10] Action Order: [1 2 3 0]
F: Shot > Drible > Pass > longPass Probability: [60 15 5 20] Action Order: [0 3 1 2]
- Player B has an Action Order of Pass > Long Pass > Dribble > Shot. He will first perform a Pass action with a rate of 50. The system throws a 26 => Player B performs a Pass action.
- Player M has an Action Order of Pass > Long Pass > Dribble > Shot. First, he will perform a Pass action with a rate of 50. The system rolls 70. He will switch to a Long Pass action with a rate of 10. The system rolls 7. => Player M performs a Long Pass action.