Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rank issue #63

Open
Salja opened this issue Dec 20, 2022 · 4 comments
Open

rank issue #63

Salja opened this issue Dec 20, 2022 · 4 comments

Comments

@Salja
Copy link

Salja commented Dec 20, 2022

i have a rank issue with kills sometimes not all times

photo_2022-12-19_04-18-34

@insthync
Copy link
Member

It may ranked by score not kill amount

@Salja
Copy link
Author

Salja commented Dec 20, 2022

Hmm its maybe an easy way to Sort by Kills Instant of Score ?

@Salja
Copy link
Author

Salja commented Dec 21, 2022

ok i think i found

replace
Characters.Sort();

with

Characters.Sort((x, y) => y.KillCount.CompareTo(x.KillCount));

should be correct i think ?

then just the damage issue will be open i hope you can fix it

@Vauxvogh
Copy link

Hey Salja, if you have anything giving players a score amount in the match when they kill something then you need to put that 0 and it will rank by kills. For example if you have a deathmatch game that is kills only then you can't have attributes that increase score rate or give players score value on a kill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants