mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-25 22:46:25 +00:00
[Strategy] Rename "assist dps" to "healer dps"
This commit is contained in:
@@ -88,7 +88,7 @@ void PriestCcStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
|
||||
new TriggerNode("shackle undead", NextAction::array(0, new NextAction("shackle undead", 31.0f), nullptr)));
|
||||
}
|
||||
|
||||
void PriestAssistDpsStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
|
||||
void PriestHealerDpsStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
|
||||
{
|
||||
triggers.push_back(
|
||||
new TriggerNode("healer should attack",
|
||||
|
||||
@@ -46,13 +46,13 @@ public:
|
||||
std::string const getName() override { return "cc"; }
|
||||
};
|
||||
|
||||
class PriestAssistDpsStrategy : public Strategy
|
||||
class PriestHealerDpsStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
PriestAssistDpsStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
PriestHealerDpsStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "assist dps"; }
|
||||
std::string const getName() override { return "healer dps"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
creators["boost"] = &PriestStrategyFactoryInternal::boost;
|
||||
creators["rshadow"] = &PriestStrategyFactoryInternal::rshadow;
|
||||
creators["cc"] = &PriestStrategyFactoryInternal::cc;
|
||||
creators["assist dps"] = &PriestStrategyFactoryInternal::assist_dps;
|
||||
creators["healer dps"] = &PriestStrategyFactoryInternal::healer_dps;
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -44,7 +44,7 @@ private:
|
||||
static Strategy* pull(PlayerbotAI* botAI) { return new PullStrategy(botAI, "shoot"); }
|
||||
static Strategy* shadow_debuff(PlayerbotAI* botAI) { return new ShadowPriestDebuffStrategy(botAI); }
|
||||
static Strategy* cure(PlayerbotAI* botAI) { return new PriestCureStrategy(botAI); }
|
||||
static Strategy* assist_dps(PlayerbotAI* botAI) { return new PriestAssistDpsStrategy(botAI); }
|
||||
static Strategy* healer_dps(PlayerbotAI* botAI) { return new PriestHealerDpsStrategy(botAI); }
|
||||
};
|
||||
|
||||
class PriestCombatStrategyFactoryInternal : public NamedObjectContext<Strategy>
|
||||
|
||||
Reference in New Issue
Block a user