mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-16 02:10:28 +00:00
Modify file structure
This commit is contained in:
54
src/strategy/classes/mage/GenericMageStrategy.h
Normal file
54
src/strategy/classes/mage/GenericMageStrategy.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_GENERICMAGESTRATEGY_H
|
||||
#define _PLAYERBOT_GENERICMAGESTRATEGY_H
|
||||
|
||||
#include "CombatStrategy.h"
|
||||
#include "RangedCombatStrategy.h"
|
||||
|
||||
class PlayerbotAI;
|
||||
|
||||
class GenericMageStrategy : public RangedCombatStrategy
|
||||
{
|
||||
public:
|
||||
GenericMageStrategy(PlayerbotAI* botAI);
|
||||
|
||||
std::string const getName() override { return "mage"; }
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
uint32 GetType() const override
|
||||
{
|
||||
return RangedCombatStrategy::GetType() | STRATEGY_TYPE_RANGED | STRATEGY_TYPE_DPS;
|
||||
}
|
||||
};
|
||||
|
||||
class MageCureStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
MageCureStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "cure"; }
|
||||
};
|
||||
|
||||
class MageBoostStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
MageBoostStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "boost"; }
|
||||
};
|
||||
|
||||
class MageCcStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
MageCcStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "cc"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user