mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Scripts/TempleOfAhnQiraj): Make sure Sartura adds respawn on evade (#13541)
* 1 * Update rev_1666648043812780000.sql
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `creature_formations` SET `groupAI` = 539 WHERE `leaderGUID` = 87648 AND `memberGUID` IN (87648, 87649, 87650, 87651);
|
||||
@@ -70,21 +70,10 @@ struct boss_sartura : public BossAI
|
||||
_Reset();
|
||||
enraged = false;
|
||||
berserked = false;
|
||||
MinionReset();
|
||||
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
}
|
||||
|
||||
void MinionReset()
|
||||
{
|
||||
std::list<Creature*> royalGuards;
|
||||
me->GetCreaturesWithEntryInRange(royalGuards, 200.0f, NPC_SARTURA_ROYAL_GUARD);
|
||||
for (Creature* minion : royalGuards)
|
||||
{
|
||||
minion->Respawn();
|
||||
}
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* who) override
|
||||
{
|
||||
BossAI::EnterCombat(who);
|
||||
|
||||
Reference in New Issue
Block a user