fix(Scripts/MoltenCore): Properly spawn Ragnaros' Sons of Flame (#9642)

This commit is contained in:
Skjalf
2021-12-11 07:56:33 -03:00
committed by GitHub
parent bf199ff1de
commit e2a32bb7fc
2 changed files with 67 additions and 14 deletions

View File

@@ -0,0 +1,19 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1639172292353316400');
DELETE FROM `spell_script_names` WHERE `spell_id` = 21108;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(21108, 'spell_ragnaros_summon_sons_of_flame');
UPDATE `spell_dbc` SET `Effect_1` = 28, `EffectMiscValueB_1` = 64, `EffectBasePoints_1` = 1 WHERE `ID` IN (21110, 21111, 21112, 21113, 21114, 21115, 21116, 21117);
-- Positions are sniffed, but spell/pos relation can't be confirmed (serverside spells)
DELETE FROM `spell_target_position` WHERE `ID` IN (21110, 21111, 21112, 21113, 21114, 21115, 21116, 21117);
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
(21110, 0, 409, 811.448, -814.058, -233.17667, 0, 0),
(21111, 0, 409, 842.542, -797.822, -233.33968, 0, 0),
(21112, 0, 409, 870.668, -821.862, -232.93767, 2.460026741027832031, 0),
(21113, 0, 409, 874.851, -861.112, -232.33568, 2.460026741027832031, 0),
(21114, 0, 409, 891.442, -789.678, -232.80067, 3.549857854843139648, 0),
(21115, 0, 409, 824.827, -871.046, -232.42067, 1.242526054382324218, 0),
(21116, 0, 409, 868.206, -895.036, -233.09967, 2.010415554046630859, 0),
(21117, 0, 409, 818.517, -898.278, -232.90266, 1.282807230949401855, 0);