mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-16 08:36:10 +00:00
Warlock overhaul (#1397)
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.
This commit is contained in:
33
src/strategy/warlock/DestructionWarlockStrategy.h
Normal file
33
src/strategy/warlock/DestructionWarlockStrategy.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user