diff options
| author | SnapperRy <snapperryen@gmail.com> | 2016-07-05 15:19:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-05 15:19:30 +0200 |
| commit | 03b15d968b56b7855693e47e79a320cf9990d73c (patch) | |
| tree | b4b7ed26c6b1a106b13e52550f4fef3e7fbfe7a6 /sql | |
| parent | 42028a18421f672a3292733cac73840c4e766089 (diff) | |
Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:
- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/3.3.5/9999_99_99_99_world.sql | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/9999_99_99_99_world.sql b/sql/updates/world/3.3.5/9999_99_99_99_world.sql new file mode 100644 index 00000000000..6a91e39c26c --- /dev/null +++ b/sql/updates/world/3.3.5/9999_99_99_99_world.sql @@ -0,0 +1,22 @@ +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (29531, 45390, 29726); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(29726, 45406, 1, "Holiday - Midsummer, Ribbon Pole Periodic Visual"); + +DELETE FROM `spell_script_names` WHERE `spell_id` IN (45390, 45406); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(45406, "spell_gen_ribbon_pole_dancer_check"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=29726; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 29726, 0, 0, 31, 0, 3, 17066, 0, 0, 0, 0, "", "Spell 'Test Ribbon Pole Channel' targets creature 'Ribbon Pole Debug Target'"); +UPDATE `gameobject_template` SET `ScriptName`="go_midsummer_ribbon_pole" WHERE `entry`=181605; + +DELETE FROM `disables` WHERE `sourceType`=0 AND `entry` IN (46836, 46842); +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(0, 46836, 64, 0, "", "Spell Flame Patch - Ignore LOS"), +(0, 46842, 64, 0, "", "Spell Flame Ring - Ignore LOS"); + +UPDATE `creature_template_addon` SET `bytes1`=33554688 WHERE `entry`=17066; +DELETE FROM `creature_addon` WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id`=17066); +UPDATE `creature` SET `MovementType`=0, `spawndist`=0 WHERE `id`=17066; +UPDATE `creature_template` SET `ScriptName`="npc_midsummer_bunny_pole" WHERE `entry`=17066; |
