mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-03-06 09:07:49 +00:00
druid rebirth in combat
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "Trigger.h"
|
||||
#include "PlayerbotAIConfig.h"
|
||||
#include <stdexcept>
|
||||
|
||||
class PlayerbotAI;
|
||||
|
||||
@@ -112,6 +113,14 @@ class PartyMemberDeadTrigger : public Trigger
|
||||
bool IsActive() override;
|
||||
};
|
||||
|
||||
class CombatPartyMemberDeadTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
CombatPartyMemberDeadTrigger(PlayerbotAI* ai) : Trigger(ai, "combat party member to resurrect", 1) {}
|
||||
std::string const GetTargetName() override { return "party member to resurrect"; }
|
||||
bool IsActive() override;
|
||||
};
|
||||
|
||||
class DeadTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user