After upgrading, the growth points obtained, refer to Upgrade Growth Points
T
u16
Trip rope times
N
u16
Energy value, Jump Rope consumes 1 point of energy for every 30 seconds of exercise, and no energy is consumed for less than 30 seconds
K
u16
Assessment frequency constant, system value = 120 times/minute.
FUN
u128
Reward tokens with a decimal precision of 12. 1 FUN=10^12 unit
Calculate random luck score
LRnd=R(modL)+1
The actual luck score is calculated via on-chain random number.
Compute the skill score for this training
S′=⌊(T+1)∗KS∗Jmax⌋
ΔS=R(mod∣S−S′∣)
S′′={S−ΔS,S+ΔS,S′<SS′≥S
In a training session, the maximum number of consecutive jumps and the number of trip ropes are the key factors affecting skill scores. The trainer's mastery of jumping rope skills will double the skill scores.
Calculate Jump Frequency Factor
F={0,1,Javg∈/[80,400]Javg∈[80,400]
Valid frequency factor: the value is 1 within the range of 80 times/minute to 400 times/minute, otherwise it is 0.