Core/Scripts: Fixed build of boss_* scripts
This commit is contained in:
1 parent
6ce0a3107d
commit
a3d8f1d879
88 files changed
+453
-508
No files matched your search
@@ -115,7 +115,7 @@ public:
|
||||
|
||||
void Initialize()
|
||||
{
|
||||
SathGUID = 0;
|
||||
SathGUID.Clear();
|
||||
ArcaneBuffetTimer = 8000;
|
||||
FrostBreathTimer = 15000;
|
||||
WildMagicTimer = 10000;
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
bool isBanished;
|
||||
bool bJustReset;
|
||||
|
||||
uint64 SathGUID;
|
||||
ObjectGuid SathGUID;
|
||||
|
||||
void Reset() override
|
||||
{
|
||||
@@ -456,7 +456,7 @@ public:
|
||||
uint32 YellTimer;
|
||||
uint32 YellSequence;
|
||||
|
||||
uint64 SathGUID;
|
||||
ObjectGuid SathGUID;
|
||||
|
||||
bool isEnraged; // if demon is enraged
|
||||
|
||||
@@ -464,7 +464,6 @@ public:
|
||||
{
|
||||
Initialize();
|
||||
instance = creature->GetInstanceScript();
|
||||
SathGUID = 0;
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
|
||||
@@ -742,7 +742,7 @@ public:
|
||||
for (uint8 z = 0; z < 6; ++z)
|
||||
{
|
||||
pRandomPlayer = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true);
|
||||
if (!pRandomPlayer || !pRandomPlayer->HasAura(SPELL_VENGEANCE_OF_THE_BLUE_FLIGHT, 0))
|
||||
if (!pRandomPlayer || !pRandomPlayer->HasAura(SPELL_VENGEANCE_OF_THE_BLUE_FLIGHT))
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -835,7 +835,7 @@ public:
|
||||
for (uint8 z = 0; z < 6; ++z)
|
||||
{
|
||||
target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true);
|
||||
if (!target || !target->HasAura(SPELL_VENGEANCE_OF_THE_BLUE_FLIGHT, 0)) break;
|
||||
if (!target || !target->HasAura(SPELL_VENGEANCE_OF_THE_BLUE_FLIGHT)) break;
|
||||
}
|
||||
if (target)
|
||||
{
|
||||
@@ -962,7 +962,7 @@ public:
|
||||
return;
|
||||
|
||||
// Gain Shadow Infusion at 20% health
|
||||
if (HealthBelowPct(20) && !me->HasAura(SPELL_SHADOW_INFUSION, 0))
|
||||
if (HealthBelowPct(20) && !me->HasAura(SPELL_SHADOW_INFUSION))
|
||||
DoCast(me, SPELL_SHADOW_INFUSION, true);
|
||||
|
||||
// Shadow Bolt Volley - Shoots Shadow Bolts at all enemies within 30 yards, for ~2k Shadow damage.
|
||||
|
||||
@@ -574,7 +574,7 @@ public:
|
||||
case 2:
|
||||
SpellTimer = 400;
|
||||
NeedForAHack = 3;
|
||||
me->RemoveAura(SPELL_BLACKHOLE_GROW, 1);
|
||||
me->RemoveAura(SPELL_BLACKHOLE_GROW);
|
||||
break;
|
||||
case 3:
|
||||
SpellTimer = urand(400, 900);
|
||||
|
||||
Reference in new issue
Block a user