mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +00:00
fix(Scripts/ShadowLabirynth): Fix OOC Murmur Supperssion Barrage (#15992)
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
--
|
||||||
|
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` = 33332);
|
||||||
|
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||||
|
(13, 1, 33332, 0, 1, 31, 0, 3, 18639, 0, 0, 0, 0, '', 'Suppression Blast (33332) can only target a set of Entries'),
|
||||||
|
(13, 1, 33332, 0, 2, 31, 0, 3, 18634, 0, 0, 0, 0, '', 'Suppression Blast (33332) can only target a set of Entries'),
|
||||||
|
(13, 1, 33332, 0, 3, 31, 0, 3, 18632, 0, 0, 0, 0, '', 'Suppression Blast (33332) can only target a set of Entries');
|
||||||
@@ -77,8 +77,7 @@ struct boss_murmur : public BossAI
|
|||||||
me->m_Events.AddEventAtOffset([this] {
|
me->m_Events.AddEventAtOffset([this] {
|
||||||
if (me->FindNearestCreature(NPC_CABAL_SPELLBINDER, 35.0f))
|
if (me->FindNearestCreature(NPC_CABAL_SPELLBINDER, 35.0f))
|
||||||
{
|
{
|
||||||
me->CastCustomSpell(SPELL_SUPPRESSION, SPELLVALUE_MAX_TARGETS, 5);
|
me->CastCustomSpell(SPELL_SUPPRESSION, SPELLVALUE_MAX_TARGETS, 5, (Unit*)nullptr, false);
|
||||||
DoCastAOE(SPELL_SUPPRESSION);
|
|
||||||
CastSupressionOOC();
|
CastSupressionOOC();
|
||||||
}
|
}
|
||||||
}, 3600ms, 10900ms, GROUP_OOC_CAST);
|
}, 3600ms, 10900ms, GROUP_OOC_CAST);
|
||||||
|
|||||||
Reference in New Issue
Block a user