mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
Scripts/TotFW: use the already defined Drain Power spell to reset the Conclave's power
This commit is contained in:
@@ -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