mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-24 22:16:23 +00:00
Run clang-format
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* 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.
|
||||
* 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_THREATSTRATEGY_H
|
||||
@@ -11,36 +12,36 @@ class PlayerbotAI;
|
||||
|
||||
class ThreatMultiplier : public Multiplier
|
||||
{
|
||||
public:
|
||||
ThreatMultiplier(PlayerbotAI* botAI) : Multiplier(botAI, "threat") { }
|
||||
public:
|
||||
ThreatMultiplier(PlayerbotAI* botAI) : Multiplier(botAI, "threat") {}
|
||||
|
||||
float GetValue(Action* action) override;
|
||||
float GetValue(Action* action) override;
|
||||
};
|
||||
|
||||
class ThreatStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
ThreatStrategy(PlayerbotAI* botAI) : Strategy(botAI) { }
|
||||
public:
|
||||
ThreatStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitMultipliers(std::vector<Multiplier*>& multipliers) override;
|
||||
std::string const getName() override { return "threat"; }
|
||||
void InitMultipliers(std::vector<Multiplier*>& multipliers) override;
|
||||
std::string const getName() override { return "threat"; }
|
||||
};
|
||||
|
||||
class FocusMultiplier : public Multiplier
|
||||
{
|
||||
public:
|
||||
FocusMultiplier(PlayerbotAI* botAI) : Multiplier(botAI, "focus") { }
|
||||
public:
|
||||
FocusMultiplier(PlayerbotAI* botAI) : Multiplier(botAI, "focus") {}
|
||||
|
||||
float GetValue(Action* action) override;
|
||||
float GetValue(Action* action) override;
|
||||
};
|
||||
|
||||
class FocusStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
FocusStrategy(PlayerbotAI* botAI) : Strategy(botAI) { }
|
||||
public:
|
||||
FocusStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitMultipliers(std::vector<Multiplier*>& multipliers) override;
|
||||
std::string const getName() override { return "focus"; }
|
||||
void InitMultipliers(std::vector<Multiplier*>& multipliers) override;
|
||||
std::string const getName() override { return "focus"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user