[Strategy] Rename "assist dps" to "healer dps"

This commit is contained in:
Yunfan Li
2024-10-04 21:44:39 +08:00
parent 529db3e754
commit 11377436cd
13 changed files with 25 additions and 25 deletions

View File

@@ -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",

View File

@@ -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

View File

@@ -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>