mirror of
https://git.vectorsigma.ru/public/mod-playerbots.git
synced 2026-08-05 04:39:23 +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.
33 lines
973 B
C++
33 lines
973 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_AFFLICTIONWARLOCKSTRATEGY_H
|
|
#define _PLAYERBOT_AFFLICTIONWARLOCKSTRATEGY_H
|
|
|
|
#include "GenericWarlockStrategy.h"
|
|
#include "CombatStrategy.h"
|
|
|
|
class PlayerbotAI;
|
|
|
|
class AfflictionWarlockStrategy : public GenericWarlockStrategy
|
|
{
|
|
public:
|
|
AfflictionWarlockStrategy(PlayerbotAI* botAI);
|
|
|
|
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
|
std::string const getName() override { return "affli"; }
|
|
NextAction** getDefaultActions() override;
|
|
};
|
|
|
|
class AfflictionWarlockAoeStrategy : public CombatStrategy
|
|
{
|
|
public:
|
|
AfflictionWarlockAoeStrategy(PlayerbotAI* botAI);
|
|
|
|
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
|
std::string const getName() override { return "affli aoe"; }
|
|
};
|
|
#endif
|