mirror of https://github.com/dirtbags/tanks.git
New "stealthy" award
This commit is contained in:
parent
d88d44f9e7
commit
1901d6ecbf
|
@ -154,6 +154,9 @@ class Replay {
|
||||||
if (TotalDeaths[uid] == 0) {
|
if (TotalDeaths[uid] == 0) {
|
||||||
award.push("invincible")
|
award.push("invincible")
|
||||||
}
|
}
|
||||||
|
if (TotalDeaths[uid] < ngames*0.33) {
|
||||||
|
award.push("stealthy")
|
||||||
|
}
|
||||||
if (TotalDeaths[uid] == ngames) {
|
if (TotalDeaths[uid] == ngames) {
|
||||||
award.push("wasted")
|
award.push("wasted")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue