mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
This is a complete overhaul of the warlock class, making 3 new strategies (affliction, demonology, and destruction), as well as finishing the warlock tank strategy (shadow ward and searing pain). It also includes a soulstone fix, where the bots can change who they soulstone based on the non-combat strategies you set for them. It also includes a self-resurrect action and trigger that allows the bots to resurrect using a soulstone or reincarnation. Many other skills were added to finish out the warlock skillset.
34 lines
982 B
C++
34 lines
982 B
C++
/*
|
|
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it
|
|
* and/or modify it under version 2 of the License, or (at your option), any later version.
|
|
*/
|
|
|
|
#ifndef _PLAYERBOT_DESTRUCTIONWARLOCKSTRATEGY_H
|
|
#define _PLAYERBOT_DESTRUCTIONWARLOCKSTRATEGY_H
|
|
|
|
#include "GenericWarlockStrategy.h"
|
|
#include "CombatStrategy.h"
|
|
|
|
class PlayerbotAI;
|
|
|
|
class DestructionWarlockStrategy : public GenericWarlockStrategy
|
|
{
|
|
public:
|
|
DestructionWarlockStrategy(PlayerbotAI* botAI);
|
|
|
|
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
|
std::string const getName() override { return "destro"; }
|
|
NextAction** getDefaultActions() override;
|
|
};
|
|
|
|
class DestructionWarlockAoeStrategy : public CombatStrategy
|
|
{
|
|
public:
|
|
DestructionWarlockAoeStrategy(PlayerbotAI* botAI);
|
|
|
|
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
|
std::string const getName() override { return "destro aoe"; }
|
|
};
|
|
|
|
#endif
|