mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
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.
27 lines
833 B
C++
27 lines
833 B
C++
/*
|
|
* 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 |