fix(Scripts/SunwellPlateau): Void Sentinels spawn at floor level (#21946)
This commit is contained in:
parent
c66972b900
commit
0d30816602
2 changed files with 9 additions and 4 deletions
|
|
@ -0,0 +1,5 @@
|
|||
--
|
||||
UPDATE `spell_script_names` SET `ScriptName` = 'spell_gen_summon_target_floor' WHERE `ScriptName` = 'spell_muru_blackhole';
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 45978;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(45978, 'spell_gen_summon_target_floor');
|
||||
|
|
@ -475,9 +475,9 @@ class spell_entropius_negative_energy_periodic : public AuraScript
|
|||
}
|
||||
};
|
||||
|
||||
class spell_muru_blackhole : public SpellScript
|
||||
class spell_gen_summon_target_floor : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_muru_blackhole);
|
||||
PrepareSpellScript(spell_gen_summon_target_floor);
|
||||
|
||||
void ChangeSummonPos(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
|
|
@ -494,7 +494,7 @@ class spell_muru_blackhole : public SpellScript
|
|||
|
||||
void Register() override
|
||||
{
|
||||
OnEffectHit += SpellEffectFn(spell_muru_blackhole::ChangeSummonPos, EFFECT_0, SPELL_EFFECT_SUMMON);
|
||||
OnEffectHit += SpellEffectFn(spell_gen_summon_target_floor::ChangeSummonPos, EFFECT_0, SPELL_EFFECT_SUMMON);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -510,5 +510,5 @@ void AddSC_boss_muru()
|
|||
RegisterSpellScript(spell_entropius_void_zone_visual_aura);
|
||||
RegisterSpellScript(spell_entropius_black_hole_effect);
|
||||
RegisterSpellScript(spell_entropius_negative_energy_periodic);
|
||||
RegisterSpellScript(spell_muru_blackhole);
|
||||
RegisterSpellScript(spell_gen_summon_target_floor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue