fix(Scripts/SlavePens): Correct target selector for Quagmirran Acid Spray (#17341)

fix(Scripts/SlavePens): Correct target for Quagmirran Acid Spray
This commit is contained in:
Skjalf
2023-09-25 08:04:49 -03:00
committed by GitHub
parent 3c698f86af
commit bfb40db86d
2 changed files with 8 additions and 10 deletions
@@ -0,0 +1,4 @@
--
DELETE FROM `spelldifficulty_dbc` WHERE `ID`=34780;
INSERT INTO `spelldifficulty_dbc` VALUES
(34780,34780,39340,0,0);
@@ -23,8 +23,7 @@ enum Spells
{ {
SPELL_ACID_SPRAY = 38153, SPELL_ACID_SPRAY = 38153,
SPELL_CLEAVE = 40504, SPELL_CLEAVE = 40504,
SPELL_POISON_BOLT_VOLLEY_N = 34780, SPELL_POISON_BOLT_VOLLEY = 34780,
SPELL_POISON_BOLT_VOLLEY_H = 39340,
SPELL_UPPERCUT = 32055 SPELL_UPPERCUT = 32055
}; };
@@ -38,11 +37,6 @@ struct boss_quagmirran : public BossAI
}); });
} }
void Reset() override
{
_Reset();
}
void JustEngagedWith(Unit* /*who*/) override void JustEngagedWith(Unit* /*who*/) override
{ {
_JustEngagedWith(); _JustEngagedWith();
@@ -57,11 +51,11 @@ struct boss_quagmirran : public BossAI
context.Repeat(21800ms); context.Repeat(21800ms);
}).Schedule(25200ms, [this](TaskContext context) }).Schedule(25200ms, [this](TaskContext context)
{ {
DoCastVictim(SPELL_ACID_SPRAY); DoCastRandomTarget(SPELL_ACID_SPRAY);
context.Repeat(25s); context.Repeat(25s);
}).Schedule(31800ms, [this](TaskContext context) }).Schedule(31800ms, [this](TaskContext context)
{ {
DoCastSelf(DUNGEON_MODE(SPELL_POISON_BOLT_VOLLEY_N, SPELL_POISON_BOLT_VOLLEY_H)); DoCastAOE(SPELL_POISON_BOLT_VOLLEY);
context.Repeat(24400ms); context.Repeat(24400ms);
}); });
} }