fix DK spell

This commit is contained in:
Alvin Zhu
2023-03-06 21:15:17 +08:00
parent 123ec85b86
commit de5dde91f6
6 changed files with 22 additions and 22 deletions

View File

@@ -20,7 +20,7 @@ class UnholyDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
creators["scourge strike"] = &scourge_strike;
//creators["death and decay"] = &death_and_decay;
//creators["unholy pressence"] = &unholy_pressence;
//creators["rbotAIse dead"] = &rbotAIse_dead;
//creators["raise dead"] = &raise_dead;
//creators["army of the dead"] = &army of the dead;
//creators["summon gargoyle"] = &army of the dead;
//creators["anti magic shell"] = &anti_magic_shell;
@@ -70,7 +70,7 @@ void UnholyDKStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
void UnholyDKAoeStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
{
triggers.push_back(new TriggerNode("loot avbotAIlable", NextAction::array(0, new NextAction("corpse explosion", ACTION_NORMAL + 1), nullptr)));
triggers.push_back(new TriggerNode("loot available", NextAction::array(0, new NextAction("corpse explosion", ACTION_NORMAL + 1), nullptr)));
triggers.push_back(new TriggerNode("medium aoe", NextAction::array(0, new NextAction("death and decay", ACTION_NORMAL + 3),
new NextAction("corpse explosion", ACTION_NORMAL + 3), nullptr)));
}