time unit for expected lifetime

This commit is contained in:
Yunfan Li
2023-09-05 00:56:12 +08:00
parent 1deac0bbc0
commit b4a5736c02
4 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ float ExpectedLifetimeValue::Calculate()
return 0.0f;
}
float dps = AI_VALUE(float, "expected group dps");
float res = target->GetHealth() / dps * 1000;
float res = target->GetHealth() / dps;
// bot->Say(target->GetName() + " lifetime: " + std::to_string(res), LANG_UNIVERSAL);
return res;
}