mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
some of these are meant for previous commit
assigned groups colors! !find now reports the user's group ban appeal listed by _website group help commands so not to clog up the chat updated stats calculation speed up rcon output 0.8 -> 0.56 fixed logfile not flushing
This commit is contained in:
@ -14,10 +14,15 @@ namespace IW4MAdmin
|
||||
Skill = Math.Round(skill,2);
|
||||
}
|
||||
|
||||
public void Update()
|
||||
public void updateKDR()
|
||||
{
|
||||
KDR = Math.Round((double)((double)Kills / (double)Deaths), 2);
|
||||
Skill = Math.Round((double)Kills * (((double)Kills / (double)Deaths) / 10), 2);
|
||||
}
|
||||
|
||||
public void updateSkill(double enemySkill)
|
||||
{
|
||||
Skill = (Math.Round((double)Kills * (((double)Kills / (double)Deaths) / 10), 2));
|
||||
Skill = Math.Round(Math.Log(Skill) * (enemySkill / 2) + (Math.Log(Deaths + 1) * 0.3) * 12, 2);
|
||||
}
|
||||
|
||||
public int Kills;
|
||||
|
Reference in New Issue
Block a user