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

@@ -133,5 +133,5 @@ bool TargetWithComboPointsLowerHealTrigger::IsActive()
return false;
}
return ComboPointsAvailableTrigger::IsActive() &&
(target->GetHealth() / AI_VALUE(float, "expected group dps")) <= lifeTime;
(target->GetHealth() / AI_VALUE(float, "estimated group dps")) <= lifeTime;
}