Big update.

This commit is contained in:
UltraNix
2022-03-12 22:27:09 +01:00
parent b3d00ccb26
commit b952636f0d
843 changed files with 1534330 additions and 99 deletions

View File

@@ -0,0 +1,116 @@
/*
* 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_ROGUEACTIONS_H
#define _PLAYERBOT_ROGUEACTIONS_H
#include "GenericSpellActions.h"
class PlayerbotAI;
class CastEvasionAction : public CastBuffSpellAction
{
public:
CastEvasionAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "evasion") { }
};
class CastSprintAction : public CastBuffSpellAction
{
public:
CastSprintAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "sprint") { }
std::string const GetTargetName() override { return "self target"; }
};
class CastStealthAction : public CastBuffSpellAction
{
public:
CastStealthAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "stealth") { }
std::string const GetTargetName() override { return "self target"; }
bool isPossible() override;
bool Execute(Event event) override;
};
class UnstealthAction : public Action
{
public:
UnstealthAction(PlayerbotAI* botAI) : Action(botAI, "unstealth") { }
bool Execute(Event event) override;
};
class CheckStealthAction : public Action
{
public:
CheckStealthAction(PlayerbotAI* botAI) : Action(botAI, "check stealth") { }
bool isPossible() override { return true; }
bool Execute(Event event) override;
};
class CastKickAction : public CastSpellAction
{
public:
CastKickAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "kick") { }
};
class CastFeintAction : public CastBuffSpellAction
{
public:
CastFeintAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "feint") { }
};
class CastDismantleAction : public CastSpellAction
{
public:
CastDismantleAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "dismantle") { }
};
class CastDistractAction : public CastSpellAction
{
public:
CastDistractAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "distract") { }
};
class CastVanishAction : public CastBuffSpellAction
{
public:
CastVanishAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "vanish") { }
bool isUseful() override;
};
class CastBlindAction : public CastDebuffSpellAction
{
public:
CastBlindAction(PlayerbotAI* botAI) : CastDebuffSpellAction(botAI, "blind") { }
};
class CastBladeFlurryAction : public CastBuffSpellAction
{
public:
CastBladeFlurryAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "blade flurry") { }
};
class CastAdrenalineRushAction : public CastBuffSpellAction
{
public:
CastAdrenalineRushAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "adrenaline rush") { }
};
class CastKillingSpreeAction : public CastBuffSpellAction
{
public:
CastKillingSpreeAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "killing spree") { }
};
class CastKickOnEnemyHealerAction : public CastSpellOnEnemyHealerAction
{
public:
CastKickOnEnemyHealerAction(PlayerbotAI* botAI) : CastSpellOnEnemyHealerAction(botAI, "kick") { }
};
#endif