This commit is contained in:
Yunfan Li
2023-09-07 14:18:20 +08:00
parent fdb62c6cc0
commit 762ac0142b
8 changed files with 33 additions and 20 deletions

View File

@@ -13,6 +13,7 @@ float ExpectedLifetimeValue::Calculate()
// bot->Say(target->GetName() + " lifetime: " + std::to_string(res), LANG_UNIVERSAL);
return res;
}
float ExpectedGroupDpsValue::Calculate()
{
float dps_num;
@@ -37,7 +38,7 @@ float ExpectedGroupDpsValue::Calculate()
} else if (bot->GetLevel() < 80) {
dps_efficiency = 12;
} else {
dps_efficiency = 30;
dps_efficiency = 25;
}
return dps_num * bot->GetLevel() * dps_efficiency;
}