mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
34 lines
946 B
C++
34 lines
946 B
C++
/*
|
|
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
|
|
* and/or modify it under version 3 of the License, or (at your option), any later version.
|
|
*/
|
|
|
|
#ifndef _PLAYERBOT_NEWRPGSTRATEGY_H
|
|
#define _PLAYERBOT_NEWRPGSTRATEGY_H
|
|
|
|
#include "Strategy.h"
|
|
#include "TravelMgr.h"
|
|
#include "NewRpgInfo.h"
|
|
|
|
class PlayerbotAI;
|
|
|
|
class NewRpgDoQuestMultiplier : public Multiplier
|
|
{
|
|
public:
|
|
NewRpgDoQuestMultiplier(PlayerbotAI* botAI) : Multiplier(botAI, "new rpg do quest") {}
|
|
float GetValue(Action* action) override;
|
|
};
|
|
|
|
class NewRpgStrategy : public Strategy
|
|
{
|
|
public:
|
|
NewRpgStrategy(PlayerbotAI* botAI);
|
|
|
|
std::string const getName() override { return "new rpg"; }
|
|
std::vector<NextAction> getDefaultActions() override;
|
|
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
|
void InitMultipliers(std::vector<Multiplier*>& multipliers) override;
|
|
};
|
|
|
|
#endif
|