Unholy DK

This commit is contained in:
Yunfan Li
2024-04-08 22:09:26 +08:00
parent 6b49af345f
commit a9c3236e35
5 changed files with 30 additions and 15 deletions

View File

@@ -3,6 +3,7 @@
*/
#include "DKTriggers.h"
#include "GenericTriggers.h"
#include "Playerbots.h"
#include "SharedDefines.h"
#include <string>
@@ -32,4 +33,8 @@ bool PestilenceTrigger::IsActive() {
bool HighBloodRuneTrigger::IsActive() {
// bot->Say(std::to_string(bot->GetBaseRune(0)) + "_" + std::to_string(bot->GetRuneCooldown(0)) + " " + std::to_string(bot->GetBaseRune(1)) + "_" + std::to_string(bot->GetRuneCooldown(1)), LANG_UNIVERSAL);
return !bot->GetRuneCooldown(0) && !bot->GetRuneCooldown(1);
}
bool DesolationTrigger::IsActive() {
return bot->HasAura(66817) && HasAuraTrigger::IsActive();
}