Skip to content

Commit

Permalink
Merge pull request liyunfan1223#602 from EricksOliveira/patch-3
Browse files Browse the repository at this point in the history
Fix LFG Join bug
  • Loading branch information
liyunfan1223 authored Oct 14, 2024
2 parents 6af6350 + db395ae commit d4f3985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/strategy/actions/RpgAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ bool RpgAction::SetNextRpgAction()
{
NextAction* nextAction = nextActions[i];

if (nextAction->getRelevance() > 2.0f)
if (nextAction->getRelevance() > 5.0f)
continue;

if (!isChecked && !trigger->IsActive())
Expand All @@ -92,7 +92,7 @@ bool RpgAction::SetNextRpgAction()
continue;

actions.push_back(action);
relevances.push_back((nextAction->getRelevance() - 1) * 1000);
relevances.push_back((nextAction->getRelevance() - 1) * 500);
}
NextAction::destroy(nextActions);
}
Expand Down

0 comments on commit d4f3985

Please sign in to comment.