Fix skill for 1/1 placement
This commit is contained in:
parent
52c7ee761f
commit
af6fcf8227
@ -60,8 +60,8 @@ commands:Add('skill',{},'skill <username|mention|"me"> <game> <style> <sort?=ski
|
|||||||
time.Points = API.CalculatePoint(rank,count)
|
time.Points = API.CalculatePoint(rank,count)
|
||||||
time.Rank = rank
|
time.Rank = rank
|
||||||
time.MapCompletionCount = count
|
time.MapCompletionCount = count
|
||||||
time.Skill = API.FormatSkill((count-rank)/(count-1))
|
time.SkillRaw = rank == 1 and 1 or (count-rank)/(count-1)
|
||||||
time.SkillRaw = (count-rank)/(count-1)
|
time.Skill = API.FormatSkill(time.SkillRaw)
|
||||||
test_a=test_a+(count-rank)
|
test_a=test_a+(count-rank)
|
||||||
test_b=test_b+(count-1)
|
test_b=test_b+(count-1)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user