Fix Living Constellation not activating during Algalon encounter.

This commit is contained in:
Keader
2016-03-14 18:01:05 -03:00
parent 9a01b47d48
commit 8a95417fce
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);
}
};