Estimated dps calculation

This commit is contained in:
Yunfan Li
2024-09-01 17:11:46 +08:00
parent ae37876848
commit 360a025b34
15 changed files with 165 additions and 128 deletions

View File

@@ -17,7 +17,7 @@ bool CastTotemAction::isUseful()
{
return false;
}
float dps = AI_VALUE(float, "expected group dps");
float dps = AI_VALUE(float, "estimated group dps");
if (target->GetHealth() / dps < needLifeTime)
{
return false;