razuvious strategy

This commit is contained in:
Yunfan Li
2023-07-18 21:00:49 +08:00
parent 67a23fae3f
commit 9c1bb63d10
21 changed files with 326 additions and 265 deletions

View File

@@ -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;