diff options
| author | Gustavo <sirikfoll@hotmail.com> | 2016-07-05 10:54:31 +0200 |
|---|---|---|
| committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-04 23:33:26 +0100 |
| commit | e55420af8653cd52697a94c85badc91c9a1774a7 (patch) | |
| tree | f7fcff37c4a55487e27ebc3012c4e19c5bb4402d /sql | |
| parent | 752c789aaf3be7afaf76dc1464296d553f35528a (diff) | |
Core/Scripts Corrections on Halion's Encounter (#16725)
Core/Scripts: Updates to Halion
* Fixed Combustion and Consumption.
* Fixed Living Embers and Blazing Auras.
* Timer changes.
(cherry picked from commit dfe278459d79ade500a66356a98b4065c0722572)
# Conflicts:
# src/server/game/Spells/SpellMgr.cpp
# src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp
Fix sql for merged PR
(cherry picked from commit 7f944695ddad14cec021ff5a0527a5a92fb4cf81)
Derp.
github editor is bad.
(cherry picked from commit 182904946174cd635b7478bd38507235d0d45aa2)
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/master/2017_02_04_25_world_2016_07_05_00_world.sql | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_04_25_world_2016_07_05_00_world.sql b/sql/updates/world/master/2017_02_04_25_world_2016_07_05_00_world.sql new file mode 100644 index 00000000000..f21f7a04959 --- /dev/null +++ b/sql/updates/world/master/2017_02_04_25_world_2016_07_05_00_world.sql @@ -0,0 +1,21 @@ +SET @CGUID := 11003; + +-- UPDATE `spell_dbc` SET `EffectBasePoints1`=20 WHERE `Id`=70507; +UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry` IN(40142,40143,40144,40145); +UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry` IN (40081,40470,40471,40472); + +DELETE FROM `creature` WHERE `guid`=@CGUID; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID, 40146, 724, 0, 0, 120, 174, 0, 0, 3156.037, 533.2656, 72.97205, 0, 604800, 0, 0, 0, 0, 0, 0, 0, 0, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN( 'spell_halion_blazing_aura','spell_halion_combustion_consumption_periodic'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75886, 'spell_halion_blazing_aura'), +(75887, 'spell_halion_blazing_aura'), +(74803, 'spell_halion_combustion_consumption_periodic'), +(74629, 'spell_halion_combustion_consumption_periodic'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN(75886,75887); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 2, 75886, 0, 0, 31, 0, 3, 40683, 0, 0, 0, 0, '', 'Blazing Aura can only target Living Embers'), +(13, 2, 75887, 0, 0, 31, 0, 3, 40683, 0, 0, 0, 0, '', 'Blazing Aura can only target Living Embers'); |
