Files
mod-playerbots/src/strategy/generic/RangedCombatStrategy.h
2024-08-04 10:23:36 +08:00

23 lines
718 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_RANGEDCOMBATSTRATEGY_H
#define _PLAYERBOT_RANGEDCOMBATSTRATEGY_H
#include "CombatStrategy.h"
class PlayerbotAI;
class RangedCombatStrategy : public CombatStrategy
{
public:
RangedCombatStrategy(PlayerbotAI* botAI) : CombatStrategy(botAI) {}
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
uint32 GetType() const override { return STRATEGY_TYPE_COMBAT | STRATEGY_TYPE_RANGED; }
std::string const getName() override { return "ranged"; }
};
#endif