druid cat and ret pally offheal strat (#1298)

co +offheal to either cat druid or ret pally with disable dps mode and enable offheal where the bots will now focus damage but heal when necessary.
This commit is contained in:
NotCronky
2025-05-17 15:33:55 +01:00
committed by GitHub
parent fd99b373c2
commit 36adb62f2a
6 changed files with 382 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it
* and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#ifndef _PLAYERBOT_OFFHEALRETPALADINSTRATEGY_H
#define _PLAYERBOT_OFFHEALRETPALADINSTRATEGY_H
#include "GenericPaladinStrategy.h"
class PlayerbotAI;
class OffhealRetPaladinStrategy : public GenericPaladinStrategy
{
public:
OffhealRetPaladinStrategy(PlayerbotAI* botAI);
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
std::string const getName() override { return "offheal"; }
NextAction** getDefaultActions() override;
uint32 GetType() const override
{
return STRATEGY_TYPE_COMBAT | STRATEGY_TYPE_DPS | STRATEGY_TYPE_HEAL | STRATEGY_TYPE_MELEE;
}
};
#endif