Unholy DK

This commit is contained in:
Yunfan Li
2024-04-10 19:10:47 +08:00
parent d01953d2e0
commit 9eb9fd3a7d
4 changed files with 31 additions and 10 deletions

View File

@@ -88,6 +88,7 @@ class DeathKnightTriggerFactoryInternal : public NamedObjectContext<Trigger>
creators["high blood rune"] = &DeathKnightTriggerFactoryInternal::high_blood_rune;
creators["freezing fog"] = &DeathKnightTriggerFactoryInternal::freezing_fog;
creators["no desolation"] = &DeathKnightTriggerFactoryInternal::no_desolation;
creators["death and decay cooldown"] = &DeathKnightTriggerFactoryInternal::death_and_decay_cooldown;
}
private:
@@ -112,6 +113,8 @@ class DeathKnightTriggerFactoryInternal : public NamedObjectContext<Trigger>
static Trigger* high_blood_rune(PlayerbotAI* botAI) { return new HighBloodRuneTrigger(botAI); }
static Trigger* freezing_fog(PlayerbotAI* botAI) { return new FreezingFogTrigger(botAI); }
static Trigger* no_desolation(PlayerbotAI* botAI) { return new DesolationTrigger(botAI); }
static Trigger* death_and_decay_cooldown(PlayerbotAI* botAI) { return new DeathAndDecayCooldownTrigger(botAI); }
};
class DeathKnightAiObjectContextInternal : public NamedObjectContext<Action>