mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-28 16:06:25 +00:00
Battleground Rewrite
- Refactored BattleGroundTactics.cpp - Bots choose strategies to determine if they are more aggressive or defensive in objectives - Largely improved bots tactics in WSG, AB, AV and EY - Improved how bots chase flag carriers - Fixed some bots stuck in action loops - especially in WSG and AV - Fixed several other Bugs
This commit is contained in:
@@ -655,6 +655,17 @@ private:
|
||||
time_t lastCheck;
|
||||
};
|
||||
|
||||
class TimerBGTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
TimerBGTrigger(PlayerbotAI* botAI) : Trigger(botAI, "timer bg"), lastCheck(0) {}
|
||||
|
||||
bool IsActive() override;
|
||||
|
||||
private:
|
||||
time_t lastCheck;
|
||||
};
|
||||
|
||||
class TankAssistTrigger : public NoAttackersTrigger
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user