Merge pull request #16785 from Keader/AlgalonStars

[3.3.5/Core/Scripts] Fix Living Constellation not activating during Algalon encounter
(cherry picked from commit 3e7b7e415e)
This commit is contained in:
joschiwald
2016-03-15 21:11:16 +01:00
committed by Shauren
parent 0bf70423f8
commit 94c33ea43c
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
SET @ENTRY := 62266;
DELETE FROM `disables` WHERE `sourceType`=0 AND `entry` = @ENTRY;
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(0,@ENTRY,64,0,0,'Disable LOS for Spell Trigger 3 adds');

View File

@@ -1164,6 +1164,7 @@ class spell_algalon_trigger_3_adds : public SpellScriptLoader
void Register() override
{
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_algalon_trigger_3_adds_SpellScript::SelectTarget, EFFECT_0, TARGET_UNIT_SRC_AREA_ENTRY);
OnEffectHitTarget += SpellEffectFn(spell_algalon_trigger_3_adds_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
}
};