Scripts/TotFW: use the already defined Drain Power spell to reset the Conclave's power
This commit is contained in:
1 parent
69e3d80f4a
commit
e7347140d5
1 file changed
+15
@@ -227,6 +227,11 @@ struct boss_anshal : public BossAI
|
||||
_isGatheringStrength = false;
|
||||
}
|
||||
|
||||
void JustAppeared() override
|
||||
{
|
||||
DoCastSelf(SPELL_POWER_DRAIN);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (ConclaveHandler::IsTargetOnPlatform(me->GetHomePosition(), who))
|
||||
@@ -470,6 +475,11 @@ struct boss_nezir : public BossAI
|
||||
_isGatheringStrength = false;
|
||||
}
|
||||
|
||||
void JustAppeared() override
|
||||
{
|
||||
DoCastSelf(SPELL_POWER_DRAIN);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (ConclaveHandler::IsTargetOnPlatform(me->GetHomePosition(), who))
|
||||
@@ -699,6 +709,11 @@ struct boss_rohash : public BossAI
|
||||
_isGatheringStrength = false;
|
||||
}
|
||||
|
||||
void JustAppeared() override
|
||||
{
|
||||
DoCastSelf(SPELL_POWER_DRAIN);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
{
|
||||
if (ConclaveHandler::IsTargetOnPlatform(me->GetHomePosition(), who))
|
||||
|
||||
Reference in new issue
Block a user