mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 09:29:09 +00:00
razuvious strategy
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
|
||||
float ThreatMultiplier::GetValue(Action* action)
|
||||
{
|
||||
if (AI_VALUE(bool, "neglect threat")) {
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
if (!action || action->getThreatType() == Action::ActionThreatType::None)
|
||||
return 1.0f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user