mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Scripts/Karazhan): allow Aran to cast pyroblast also when interrupted (#17375)
* initial * add scheduling
This commit is contained in:
@@ -382,9 +382,14 @@ struct boss_shade_of_aran : public BossAI
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
me->SetPower(POWER_MANA, me->GetMaxPower(POWER_MANA) - 32000);
|
||||
DoCastSelf(SPELL_POTION, false);
|
||||
DoCastSelf(SPELL_AOE_PYROBLAST, false);
|
||||
_drinkScheduler.CancelGroup(GROUP_DRINKING);
|
||||
_drinking = false;
|
||||
_drinkScheduler.Schedule(1s, [this](TaskContext)
|
||||
{
|
||||
DoCastSelf(SPELL_AOE_PYROBLAST, false);
|
||||
}).Schedule(3s, [this](TaskContext)
|
||||
{
|
||||
_drinking = false;
|
||||
});
|
||||
} else
|
||||
{
|
||||
context.Repeat(500ms);
|
||||
|
||||
Reference in New Issue
Block a user