mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-21 12:37:05 +00:00
miscs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -28,7 +28,7 @@ class ExpectedGroupDpsValue : public FloatCalculatedValue
|
||||
{
|
||||
public:
|
||||
ExpectedGroupDpsValue(PlayerbotAI* botAI) :
|
||||
FloatCalculatedValue(botAI, "expected group dps") { }
|
||||
FloatCalculatedValue(botAI, "expected group dps", 20 * 1000) { }
|
||||
|
||||
public:
|
||||
float Calculate() override;
|
||||
|
||||
Reference in New Issue
Block a user