mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 18:55:41 +00:00
23 lines
427 B
C++
23 lines
427 B
C++
#include "Playerbots.h"
|
|
#include "PitOfSaronTriggers.h"
|
|
#include "AiObject.h"
|
|
#include "AiObjectContext.h"
|
|
|
|
bool IckAndKrickTrigger::IsActive()
|
|
{
|
|
Unit* boss = AI_VALUE2(Unit*, "find target", "Ick");
|
|
if (!boss)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
bool TyrannusTrigger::IsActive()
|
|
{
|
|
Unit* boss = AI_VALUE2(Unit*, "find target", "scourgelord tyrannus");
|
|
if (!boss)
|
|
return false;
|
|
|
|
return true;
|
|
}
|