mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-30 17:03:48 +00:00
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:
27
src/strategy/paladin/OffhealRetPaladinStrategy.h
Normal file
27
src/strategy/paladin/OffhealRetPaladinStrategy.h
Normal 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
|
||||
Reference in New Issue
Block a user