mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-13 23:33:47 +00:00
temporary disable rndbot group strategy
This commit is contained in:
@@ -135,6 +135,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
|
||||
if (!IsMovingAllowed(mapId, x, y, z)) {
|
||||
return false;
|
||||
}
|
||||
UpdateMovementState();
|
||||
// if (bot->m_movementInfo.HasMovementFlag(MOVEMENTFLAG_FALLING | MOVEMENTFLAG_FALLING_SLOW | MOVEMENTFLAG_FALLING_FAR)) {
|
||||
// bot->Say("I'm falling!, flag:" + std::to_string(bot->m_movementInfo.GetMovementFlags()), LANG_UNIVERSAL);
|
||||
// return false;
|
||||
@@ -166,7 +167,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
|
||||
}
|
||||
|
||||
return false;
|
||||
// UpdateMovementState();
|
||||
//
|
||||
// // LOG_DEBUG("playerbots", "IsMovingAllowed {}", IsMovingAllowed());
|
||||
// bot->AddUnitMovementFlag()
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ class PlayerbotAI;
|
||||
class LootStrategyValue : public ManualSetValue<LootStrategy*>
|
||||
{
|
||||
public:
|
||||
LootStrategyValue(PlayerbotAI* botAI, std::string const name = "loot strategy") : ManualSetValue<LootStrategy*>(botAI, all, name) { }
|
||||
LootStrategyValue(PlayerbotAI* botAI, std::string const name = "loot strategy") : ManualSetValue<LootStrategy*>(botAI, normal, name) { }
|
||||
virtual ~LootStrategyValue();
|
||||
|
||||
std::string const Save() override;
|
||||
|
||||
Reference in New Issue
Block a user