mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 18:24:09 +02:00
raw bench
This commit is contained in:
parent
5f2154967b
commit
cba5236496
2 changed files with 21 additions and 4 deletions
|
|
@ -121,12 +121,12 @@ impl EventHandler for MedicStatsHandler {
|
|||
GameEvent::MedicDeath(death) => {
|
||||
let builder = self.0.entry(SteamId3(healer_steam_id)).or_default();
|
||||
let charge = death.charge.unwrap_or_default();
|
||||
if charge > 95 && charge < 100 {
|
||||
if charge >= 95 && charge < 100 {
|
||||
builder.near_full_charge_death += 1;
|
||||
} else if charge >= 100 {
|
||||
builder.drops += 1;
|
||||
}
|
||||
if time - builder.last_uber_end <= 20 {
|
||||
if time - builder.last_uber_end <= 10 {
|
||||
builder.deaths_after_uber += 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue