mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
@@ -79,7 +79,7 @@ bool RpgAction::SetNextRpgAction()
|
|||||||
{
|
{
|
||||||
NextAction* nextAction = nextActions[i];
|
NextAction* nextAction = nextActions[i];
|
||||||
|
|
||||||
if (nextAction->getRelevance() > 2.0f)
|
if (nextAction->getRelevance() > 5.0f)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!isChecked && !trigger->IsActive())
|
if (!isChecked && !trigger->IsActive())
|
||||||
@@ -92,7 +92,7 @@ bool RpgAction::SetNextRpgAction()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
actions.push_back(action);
|
actions.push_back(action);
|
||||||
relevances.push_back((nextAction->getRelevance() - 1) * 1000);
|
relevances.push_back((nextAction->getRelevance() - 1) * 500);
|
||||||
}
|
}
|
||||||
NextAction::destroy(nextActions);
|
NextAction::destroy(nextActions);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user