From 7e9f692d8347fd09ae653a571727fbf3d1baab17 Mon Sep 17 00:00:00 2001 From: SylvaniaCore deploy Date: Tue, 28 Jul 2026 07:32:43 +0000 Subject: [PATCH] Sauvegarde des 52 patchs SQL data (dc_world) dans le depot dc_world n est pas couverte par le backup auto (auth+characters seulement, dump compresse ~78 Mo). Ces patchs sont la trace versionnee hors-VPS des changements data : framework scenarios d artefact, campagne moine, intro Rive Brisee, bindings Ring of Peace/Chi-Ji, trainers, quetes, fixes divers. Co-Authored-By: Claude Fable 5 --- sql/sylvania/README.md | 18 ++++++ sql/sylvania/artifact_batch1.sql | 50 ++++++++++++++++ sql/sylvania/artifact_batch10.sql | 73 ++++++++++++++++++++++++ sql/sylvania/artifact_batch2.sql | 30 ++++++++++ sql/sylvania/artifact_batch3.sql | 48 ++++++++++++++++ sql/sylvania/artifact_batch4.sql | 40 +++++++++++++ sql/sylvania/artifact_batch5.sql | 46 +++++++++++++++ sql/sylvania/artifact_batch6.sql | 49 ++++++++++++++++ sql/sylvania/artifact_batch7.sql | 37 ++++++++++++ sql/sylvania/artifact_batch8.sql | 45 +++++++++++++++ sql/sylvania/artifact_batch9.sql | 46 +++++++++++++++ sql/sylvania/artifact_choices.sql | 45 +++++++++++++++ sql/sylvania/artifact_gate.sql | 7 +++ sql/sylvania/artifact_runner.sql | 55 ++++++++++++++++++ sql/sylvania/broken_shore_intro.sql | 62 ++++++++++++++++++++ sql/sylvania/monk_campaign_intro.sql | 85 ++++++++++++++++++++++++++++ sql/sylvania/ring_of_peace.sql | 6 ++ 17 files changed, 742 insertions(+) create mode 100644 sql/sylvania/README.md create mode 100644 sql/sylvania/artifact_batch1.sql create mode 100644 sql/sylvania/artifact_batch10.sql create mode 100644 sql/sylvania/artifact_batch2.sql create mode 100644 sql/sylvania/artifact_batch3.sql create mode 100644 sql/sylvania/artifact_batch4.sql create mode 100644 sql/sylvania/artifact_batch5.sql create mode 100644 sql/sylvania/artifact_batch6.sql create mode 100644 sql/sylvania/artifact_batch7.sql create mode 100644 sql/sylvania/artifact_batch8.sql create mode 100644 sql/sylvania/artifact_batch9.sql create mode 100644 sql/sylvania/artifact_choices.sql create mode 100644 sql/sylvania/artifact_gate.sql create mode 100644 sql/sylvania/artifact_runner.sql create mode 100644 sql/sylvania/broken_shore_intro.sql create mode 100644 sql/sylvania/monk_campaign_intro.sql create mode 100644 sql/sylvania/ring_of_peace.sql diff --git a/sql/sylvania/README.md b/sql/sylvania/README.md new file mode 100644 index 0000000..485372c --- /dev/null +++ b/sql/sylvania/README.md @@ -0,0 +1,18 @@ +# Patches SQL Sylvania (dc_world) + +Copie de sauvegarde des patchs data appliques a la base `dc_world` (source : `~/dc-patches/` sur le VPS). + +IMPORTANT : `dc_world` n est PAS incluse dans le backup automatique quotidien +(qui ne couvre que `auth` et `characters`, cf. ~/scripts/db-backup.sh) car un dump +compresse pese ~78 Mo. Ces fichiers sont donc la trace versionnee des changements +data faits a la main. Un backup hebdomadaire complet de dc_world existe par ailleurs +en local sur le VPS (~/Backups-World/). + +Contenu notable : +- artifact_runner.sql + artifact_batch1..10.sql : framework et 24 configs de scenarios d artefact +- artifact_choices.sql / artifact_gate.sql : choix d artefact 13 classes + porte du Gardien +- monk_campaign_intro.sql : campagne moine + scenario Serenity s End +- broken_shore_intro.sql : intro Iles Brisees (2 factions) +- ring_of_peace.sql : binding areatrigger_template (RoP 3983 + Chi-Ji 10191) +- trainers_*, quete_*, fix_* : historique des correctifs data +Les fichiers *_ROLLBACK.sql annulent le patch correspondant. diff --git a/sql/sylvania/artifact_batch1.sql b/sql/sylvania/artifact_batch1.sql new file mode 100644 index 0000000..378ff10 --- /dev/null +++ b/sql/sylvania/artifact_batch1.sql @@ -0,0 +1,50 @@ +-- ============================================================ +-- Lot 1 de configs du runner d'artefact : +-- - DK Givre « The Blades of the Fallen Prince » (901, map 1480) +-- - Paladin Sacré « The Silver Hand » (1092, map 1611) +-- Ancres officielles WorldSafeLocs ; sortie = hub Gardien des Artefacts (994) +-- ============================================================ + +-- ---------- DK Givre (1480) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1480, -737.1, 2204.7, 535.7, 0.0, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'DK Frost - Blades of the Fallen Prince'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +-- étape 1 : parvis d'Achérus en Couronne de glace — âmes agitées +(1480, 1, 0, 99664, -700.0, 2205.0, 535.7, 3.1, 4, 99, 0), +(1480, 1, 1, 116287, -690.0, 2215.0, 535.7, 3.1, 2, 100, 0), +-- étape 2 : la Flèche (téléport) — gardiens du sommet +(1480, 2, 0, 116287, 4132.1, 2769.1, 351.0, 3.1, 4, 100, 1), +(1480, 2, 1, 99664, 4120.0, 2780.0, 351.0, 3.1, 2, 100, 0), +-- étape 3 : le Trône de glace (téléport) — la Purge : 3 grandes âmes malveillantes +(1480, 3, 0, 116287, 530.6, -2124.8, 840.9, 3.1, 3, 102, 1); + +-- ---------- Paladin Sacré (1611) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1611, 2253.1, -5137.0, 62.1, 2.4, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Paladin Holy - The Silver Hand'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +-- étape 1 : approche de la chapelle — morts-vivants du site +(1611, 1, 0, 116287, 2179.8, -5056.7, 78.6, 5.5, 4, 99, 0), +(1611, 1, 1, 99664, 2170.0, -5065.0, 78.6, 5.5, 2, 99, 0), +-- étape 2 : crypte de Tyr (téléport) — gardiens corrompus +(1611, 2, 0, 99664, 2177.4, -5276.5, 83.6, 1.2, 4, 100, 1), +-- étape 3 : l'Aberration horrifiante (boss de la prison) +(1611, 3, 0, 106669, 2185.0, -5285.0, 83.6, 1.2, 1, 102, 0); + +-- gabarits du cast +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry=106669; +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry IN (99664,116287); + +-- rattachement scénarios + scripts d'instance +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1480, 0, 901, 901, 0), (1611, 0, 1092, 1092, 0); +UPDATE instance_template SET script='scenario_artifact_runner_1480' WHERE map=1480; +UPDATE instance_template SET script='scenario_artifact_runner_1611' WHERE map=1611; + +-- porte d'entrée : options 37/38 du Gardien des Artefacts +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (37,38); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 37, 0, 'Scénario d''acquisition : Les Lames du prince déchu — Couronne de glace (DK Givre)', 0, 1, 1, 0), +(61000, 38, 0, 'Scénario d''acquisition : La Main d''argent — Espoir de Lumière (Paladin Sacré)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (37,38); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 37, 0, 62, 0, 100, 0, 61000, 37, 0, 0, 62, 1480, 0, 0, 0, 0, 0, 7, 0, 0, 0, -737.1, 2204.7, 536.0, 0.0, 'Gardien - teleport scenario DK Givre (1480)'), +(990000, 0, 38, 0, 62, 0, 100, 0, 61000, 38, 0, 0, 62, 1611, 0, 0, 0, 0, 0, 7, 0, 0, 0, 2253.1, -5137.0, 62.4, 2.4, 'Gardien - teleport scenario Paladin Sacre (1611)'); diff --git a/sql/sylvania/artifact_batch10.sql b/sql/sylvania/artifact_batch10.sql new file mode 100644 index 0000000..9182734 --- /dev/null +++ b/sql/sylvania/artifact_batch10.sql @@ -0,0 +1,73 @@ +-- ============================================================ +-- Lot 10 (FINAL) : les 6 dernières maps de scénario d'artefact +-- 1553 Gloaming Reef (Druide Farouche, scén. 1108) / 1580 Maelstrom titan +-- 1572 Chaman intro / 1512 Prêtre Netherlight / 1502 Citadelle Shadowgore / 1513 Hall du Gardien +-- ============================================================ + +REPLACE INTO scenario_artifact_config VALUES +(1553, 2570.1, 8275.2, 2.1, 2.4, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Druide Farouche - Fangs of Ashamane (Gloaming Reef)'), +(1580, 2486.0, 376.0, -122.0, 2.9, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Maelstrom - epreuve titanique'), +(1572, 824.1, 1046.7, 48.2, 0.0, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Chaman - intro du Maelstrom'), +(1512, 1249.5, 1344.1, 185.0, 6.2, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Pretre - temple Netherlight'), +(1502, -850.7, 4401.8, 717.0, 1.4, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Citadelle Shadowgore (Akaari)'), +(1513, -935.9, 4706.3, 928.6, 6.1, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Hall du Gardien - incursion'); + +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +-- 1553 Gloaming Reef : cauchemar +(1553, 1, 0, 98286, 2545.0, 8260.0, 2.1, 5.5, 4, 99, 0), +(1553, 1, 1, 98785, 2537.0, 8268.0, 2.1, 5.5, 2, 99, 0), +(1553, 2, 0, 97966, 2515.0, 8240.0, 2.1, 5.5, 3, 100, 0), +(1553, 3, 0, 120487, 2490.0, 8220.0, 2.1, 5.5, 1, 102, 0), +-- 1580 Maelstrom titan : orage +(1580, 1, 0, 104604, 2460.0, 360.0, -122.0, 6.0, 4, 99, 0), +(1580, 1, 1, 100796, 2452.0, 368.0, -122.0, 6.0, 2, 100, 0), +(1580, 2, 0, 102019, 2430.0, 340.0, -122.0, 6.0, 3, 100, 0), +(1580, 3, 0, 116763, 2405.0, 320.0, -122.0, 6.0, 1, 102, 0), +-- 1572 Chaman intro : feu +(1572, 1, 0, 104499, 850.0, 1060.0, 48.2, 3.3, 4, 99, 0), +(1572, 1, 1, 109021, 858.0, 1052.0, 48.2, 3.3, 2, 100, 0), +(1572, 2, 0, 96123, 880.0, 1075.0, 48.2, 3.3, 3, 100, 0), +(1572, 3, 0, 102398, 905.0, 1090.0, 48.2, 3.3, 1, 102, 0), +-- 1512 Prêtre Netherlight : Vide +(1512, 1, 0, 99664, 1275.0, 1355.0, 185.0, 3.3, 4, 99, 0), +(1512, 1, 1, 116287, 1283.0, 1347.0, 185.0, 3.3, 2, 100, 0), +(1512, 2, 0, 116287, 1305.0, 1365.0, 185.0, 3.3, 3, 100, 0), +(1512, 3, 0, 106669, 1330.0, 1375.0, 185.0, 3.3, 1, 102, 0), +-- 1502 Citadelle Shadowgore : Légion + Akaari +(1502, 1, 0, 98286, -825.0, 4415.0, 717.0, 4.6, 4, 99, 0), +(1502, 1, 1, 98505, -817.0, 4407.0, 717.0, 4.6, 2, 100, 0), +(1502, 2, 0, 97966, -795.0, 4435.0, 717.0, 4.6, 3, 100, 0), +(1502, 3, 0, 105450, -770.0, 4455.0, 717.0, 4.6, 1, 102, 0), +-- 1513 Hall du Gardien : arcanes (Guet crépusculaire) +(1513, 1, 0, 113166, -910.0, 4715.0, 928.6, 3.0, 4, 99, 0), +(1513, 1, 1, 115253, -902.0, 4707.0, 928.6, 3.0, 2, 100, 0), +(1513, 2, 0, 113166, -880.0, 4730.0, 928.6, 3.0, 3, 100, 0), +(1513, 3, 0, 115594, -855.0, 4745.0, 928.6, 3.0, 1, 102, 0); + +-- scénario officiel identifié : Farouche 1108 « The Fangs of Ashamane » +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1553, 0, 1108, 1108, 0); + +UPDATE instance_template SET script='scenario_artifact_runner_1553' WHERE map=1553; +UPDATE instance_template SET script='scenario_artifact_runner_1580' WHERE map=1580; +UPDATE instance_template SET script='scenario_artifact_runner_1572' WHERE map=1572; +UPDATE instance_template SET script='scenario_artifact_runner_1512' WHERE map=1512; +UPDATE instance_template SET script='scenario_artifact_runner_1502' WHERE map=1502; +UPDATE instance_template SET script='scenario_artifact_runner_1513' WHERE map=1513; + +-- porte d'entrée : options 54-59 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex BETWEEN 54 AND 59; +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 54, 0, 'Scénario : Les Crocs d''Ashamane — récif du Crépuscule (Druide Farouche)', 0, 1, 1, 0), +(61000, 55, 0, 'Scénario : L''épreuve titanique — Maelstrom (défi)', 0, 1, 1, 0), +(61000, 56, 0, 'Scénario : Le cœur du Maelstrom (Chaman)', 0, 1, 1, 0), +(61000, 57, 0, 'Scénario : Le temple Netherlight assiégé (Prêtre)', 0, 1, 1, 0), +(61000, 58, 0, 'Scénario : La citadelle Shadowgore (défi)', 0, 1, 1, 0), +(61000, 59, 0, 'Scénario : L''incursion du hall du Gardien (Mage)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id BETWEEN 54 AND 59; +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 54, 0, 62, 0, 100, 0, 61000, 54, 0, 0, 62, 1553, 0, 0, 0, 0, 0, 7, 0, 0, 0, 2570.1, 8275.2, 2.4, 2.4, 'Gardien - teleport Gloaming Reef (1553)'), +(990000, 0, 55, 0, 62, 0, 100, 0, 61000, 55, 0, 0, 62, 1580, 0, 0, 0, 0, 0, 7, 0, 0, 0, 2486.0, 376.0, -121.7, 2.9, 'Gardien - teleport Maelstrom titan (1580)'), +(990000, 0, 56, 0, 62, 0, 100, 0, 61000, 56, 0, 0, 62, 1572, 0, 0, 0, 0, 0, 7, 0, 0, 0, 824.1, 1046.7, 48.5, 0.0, 'Gardien - teleport Chaman intro (1572)'), +(990000, 0, 57, 0, 62, 0, 100, 0, 61000, 57, 0, 0, 62, 1512, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1249.5, 1344.1, 185.3, 6.2, 'Gardien - teleport Netherlight (1512)'), +(990000, 0, 58, 0, 62, 0, 100, 0, 61000, 58, 0, 0, 62, 1502, 0, 0, 0, 0, 0, 7, 0, 0, 0, -850.7, 4401.8, 717.3, 1.4, 'Gardien - teleport Shadowgore (1502)'), +(990000, 0, 59, 0, 62, 0, 100, 0, 61000, 59, 0, 0, 62, 1513, 0, 0, 0, 0, 0, 7, 0, 0, 0, -935.9, 4706.3, 928.9, 6.1, 'Gardien - teleport Hall du Gardien (1513)'); diff --git a/sql/sylvania/artifact_batch2.sql b/sql/sylvania/artifact_batch2.sql new file mode 100644 index 0000000..87f741b --- /dev/null +++ b/sql/sylvania/artifact_batch2.sql @@ -0,0 +1,30 @@ +-- ============================================================ +-- Lot 2 : DK Impie « Apocalypse » — monastère Écarlate (map 1618) +-- (pas de ligne scenarios : ID officiel non identifié, runner sans UI d'étapes) +-- ============================================================ +REPLACE INTO scenario_artifact_config VALUES +(1618, 1124.7, 518.7, 0.7, 1.6, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'DK Unholy - Apocalypse (Scarlet Monastery)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +-- étape 1 : parvis du monastère — soldats écarlates +(1618, 1, 0, 108840, 1124.7, 560.0, 0.9, 4.7, 3, 99, 0), +(1618, 1, 1, 108841, 1116.0, 570.0, 0.9, 4.7, 3, 99, 0), +-- étape 2 : cimetière — la garde rapprochée +(1618, 2, 0, 108841, 1124.6, 688.6, 1.2, 4.7, 4, 100, 0), +(1618, 2, 1, 108840, 1114.0, 695.0, 1.2, 4.7, 2, 100, 0), +-- étape 3 : la grande inquisitrice Whitemane +(1618, 3, 0, 109374, 1130.0, 700.0, 1.2, 4.7, 1, 102, 0); + +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry=109374; +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry IN (108840,108841); +UPDATE instance_template SET script='scenario_artifact_runner_1618' WHERE map=1618; + +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex=39; +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 39, 0, 'Scénario d''acquisition : Apocalypse — monastère Écarlate (DK Impie)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id=39; +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 39, 0, 62, 0, 100, 0, 61000, 39, 0, 0, 62, 1618, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1124.7, 518.7, 1.0, 1.6, 'Gardien - teleport scenario DK Impie (1618)'); +-- texte FR du boss +DELETE FROM creature_text WHERE CreatureID=109374; +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(109374, 0, 0, 'Profanateur ! La Croisade écarlate purifiera ce monastère de ta présence !', 14, 0, 100, 15, 0, 0, 0, 0, 'Whitemane spawn'); diff --git a/sql/sylvania/artifact_batch3.sql b/sql/sylvania/artifact_batch3.sql new file mode 100644 index 0000000..c06db0a --- /dev/null +++ b/sql/sylvania/artifact_batch3.sql @@ -0,0 +1,48 @@ +-- ============================================================ +-- Lot 3 : Voleur Finesse « Crocs du Dévoreur » (map 1607, boss Akaari) +-- + Démoniste Destruction « Sceptre de Sargeras » (map 1630, Tol Barad) +-- ============================================================ + +-- ---------- Voleur Finesse (1607) — ancres officielles par étape ---------- +REPLACE INTO scenario_artifact_config VALUES +(1607, 1854.6, 1409.7, 91.7, 4.7, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Rogue Subtlety - Fangs of the Devourer (Akaari)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1607, 1, 0, 98286, 1854.6, 1351.5, 66.4, 4.7, 4, 99, 0), +(1607, 1, 1, 97966, 1845.0, 1345.0, 66.4, 4.7, 2, 100, 0), +(1607, 2, 0, 98505, 1847.9, 1260.4, 57.1, 1.2, 3, 100, 0), +(1607, 2, 1, 98785, 1840.0, 1268.0, 57.1, 1.2, 3, 99, 0), +(1607, 3, 0, 105450, 1817.9, 1288.3, 91.7, 5.9, 1, 102, 1); + +-- ---------- Démoniste Destruction (1630) — Tol Barad puis fort Baradin ---------- +REPLACE INTO scenario_artifact_config VALUES +(1630, -845.7, 1186.7, 114.3, 3.1, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Warlock Destruction - Scepter of Sargeras (Tol Barad)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1630, 1, 0, 98286, -880.0, 1180.0, 113.0, 0.2, 4, 99, 0), +(1630, 1, 1, 98785, -890.0, 1192.0, 112.5, 0.2, 2, 99, 0), +(1630, 2, 0, 98505, -1058.1, 1149.3, 107.5, 0.3, 4, 100, 0), +(1630, 3, 0, 90663, -354.9, -4528.9, 170.2, 0.8, 1, 102, 1), +(1630, 3, 1, 98286, -365.0, -4520.0, 170.2, 0.8, 2, 100, 0); + +-- gabarits +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry IN (105450,90663); + +-- scénario Voleur Finesse identifié : 1078 « The Fangs of the Devourer » +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1607, 0, 1078, 1078, 0); +UPDATE instance_template SET script='scenario_artifact_runner_1607' WHERE map=1607; +UPDATE instance_template SET script='scenario_artifact_runner_1630' WHERE map=1630; + +-- porte d'entrée : options 40/41 du Gardien +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (40,41); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 40, 0, 'Scénario d''acquisition : Les Crocs du Dévoreur — Akaari (Voleur Finesse)', 0, 1, 1, 0), +(61000, 41, 0, 'Scénario d''acquisition : Le Sceptre de Sargeras — Tol Barad (Démoniste Destruction)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (40,41); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 40, 0, 62, 0, 100, 0, 61000, 40, 0, 0, 62, 1607, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1854.6, 1409.7, 92.0, 4.7, 'Gardien - teleport scenario Voleur Finesse (1607)'), +(990000, 0, 41, 0, 62, 0, 100, 0, 61000, 41, 0, 0, 62, 1630, 0, 0, 0, 0, 0, 7, 0, 0, 0, -845.7, 1186.7, 114.6, 3.1, 'Gardien - teleport scenario Demoniste Destru (1630)'); + +-- textes FR des boss +DELETE FROM creature_text WHERE CreatureID IN (105450,90663); +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(105450, 0, 0, 'Les Crocs sont à moi, petit voleur. Ton ombre sera ton linceul.', 14, 0, 100, 15, 0, 0, 0, 0, 'Akaari spawn'), +(90663, 0, 0, 'Le Sceptre restera scellé, mortel ! Baradin sera ta tombe !', 14, 0, 100, 15, 0, 0, 0, 0, 'Perdition spawn'); diff --git a/sql/sylvania/artifact_batch4.sql b/sql/sylvania/artifact_batch4.sql new file mode 100644 index 0000000..b9b1629 --- /dev/null +++ b/sql/sylvania/artifact_batch4.sql @@ -0,0 +1,40 @@ +-- ============================================================ +-- Lot 4 : Chaman Élémentaire « Poing de Ra-den » (map 1602, pic du Vortex) +-- + Chasseur BM « Frappe-titan » (map 1609, temple des Orages) +-- ============================================================ + +-- ---------- Chaman Élémentaire (1602) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1602, -338.2, 14.6, 627.0, 0.8, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Shaman Ele - Fist of Ra-den (Vortex Pinnacle)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1602, 1, 0, 104604, -310.0, 30.0, 627.0, 3.9, 4, 99, 0), +(1602, 1, 1, 100796, -302.0, 20.0, 627.0, 3.9, 2, 100, 0), +(1602, 2, 0, 104604, -270.0, 60.0, 627.0, 3.9, 3, 100, 0), +(1602, 2, 1, 102019, -262.0, 52.0, 627.0, 3.9, 2, 100, 0), +(1602, 3, 0, 116763, -240.0, 90.0, 627.0, 3.9, 1, 102, 0); + +-- ---------- Chasseur BM (1609) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1609, 7383.2, -548.2, 1897.5, 0.2, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Hunter BM - Titanstrike (Temple of Storms)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1609, 1, 0, 102019, 7420.0, -540.0, 1897.5, 3.3, 4, 99, 0), +(1609, 1, 1, 116763, 7428.0, -550.0, 1897.5, 3.3, 2, 100, 0), +(1609, 2, 0, 102019, 7460.0, -530.0, 1897.5, 3.3, 4, 100, 0), +(1609, 3, 0, 114362, 7490.0, -520.0, 1897.5, 3.3, 1, 102, 0); + +-- gabarits +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry IN (114362,116763); +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry=102019; + +UPDATE instance_template SET script='scenario_artifact_runner_1602' WHERE map=1602; +UPDATE instance_template SET script='scenario_artifact_runner_1609' WHERE map=1609; + +-- porte d'entrée : options 42/43 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (42,43); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 42, 0, 'Scénario d''acquisition : Le Poing de Ra-den — pic du Vortex (Chaman Élémentaire)', 0, 1, 1, 0), +(61000, 43, 0, 'Scénario d''acquisition : Frappe-titan — temple des Orages (Chasseur Maîtrise des bêtes)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (42,43); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 42, 0, 62, 0, 100, 0, 61000, 42, 0, 0, 62, 1602, 0, 0, 0, 0, 0, 7, 0, 0, 0, -338.2, 14.6, 627.3, 0.8, 'Gardien - teleport scenario Chaman Ele (1602)'), +(990000, 0, 43, 0, 62, 0, 100, 0, 61000, 43, 0, 0, 62, 1609, 0, 0, 0, 0, 0, 7, 0, 0, 0, 7383.2, -548.2, 1897.8, 0.2, 'Gardien - teleport scenario Chasseur BM (1609)'); diff --git a/sql/sylvania/artifact_batch5.sql b/sql/sylvania/artifact_batch5.sql new file mode 100644 index 0000000..6974870 --- /dev/null +++ b/sql/sylvania/artifact_batch5.sql @@ -0,0 +1,46 @@ +-- ============================================================ +-- Lot 5 : Voleur Assassinat « Les Tueurs-de-rois » (map 1620, manoir Ravenholdt) +-- + « L'Arcway » (map 1632, Suramar) +-- ============================================================ + +-- ---------- Voleur Assassinat (1620) — ancres officielles par étapes ---------- +REPLACE INTO scenario_artifact_config VALUES +(1620, -9127.9, 389.1, 91.2, 0.6, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Rogue Assassination - Kingslayers (Ravenholdt)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1620, 1, 0, 98286, -8847.8, 568.4, 94.7, 4.3, 4, 99, 0), +(1620, 1, 1, 98785, -8858.0, 560.0, 94.7, 4.3, 2, 99, 0), +(1620, 2, 0, 97966, -8637.6, 419.2, 103.7, 5.4, 3, 100, 0), +(1620, 2, 1, 98505, -8647.0, 428.0, 103.7, 5.4, 2, 100, 0), +(1620, 3, 0, 98217, -8346.1, 268.4, 155.3, 0.7, 1, 102, 1); + +-- ---------- L'Arcway (1632) — couloirs de Suramar ---------- +REPLACE INTO scenario_artifact_config VALUES +(1632, 3161.9, 5161.2, 623.2, 4.6, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Arcway (Suramar) - Duskwatch'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1632, 1, 0, 113166, 3150.0, 5130.0, 623.2, 1.5, 4, 99, 0), +(1632, 1, 1, 115253, 3142.0, 5138.0, 623.2, 1.5, 2, 100, 0), +(1632, 2, 0, 113166, 3130.0, 5100.0, 623.2, 1.5, 3, 100, 0), +(1632, 2, 1, 115253, 3122.0, 5108.0, 623.2, 1.5, 2, 100, 0), +(1632, 3, 0, 115594, 3110.0, 5075.0, 623.2, 1.5, 1, 102, 0); + +-- gabarits +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry=115594; +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry IN (113166,115253); + +UPDATE instance_template SET script='scenario_artifact_runner_1620' WHERE map=1620; +UPDATE instance_template SET script='scenario_artifact_runner_1632' WHERE map=1632; + +-- porte d'entrée : options 44/45 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (44,45); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 44, 0, 'Scénario d''acquisition : Les Tueurs-de-rois — manoir Ravenholdt (Voleur Assassinat)', 0, 1, 1, 0), +(61000, 45, 0, 'Scénario : L''Arcway — les profondeurs de Suramar (défi)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (44,45); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 44, 0, 62, 0, 100, 0, 61000, 44, 0, 0, 62, 1620, 0, 0, 0, 0, 0, 7, 0, 0, 0, -9127.9, 389.1, 91.5, 0.6, 'Gardien - teleport scenario Voleur Assassinat (1620)'), +(990000, 0, 45, 0, 62, 0, 100, 0, 61000, 45, 0, 0, 62, 1632, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3161.9, 5161.2, 623.5, 4.6, 'Gardien - teleport scenario Arcway (1632)'); + +-- texte FR du boss Arcway +DELETE FROM creature_text WHERE CreatureID=115594; +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(115594, 0, 0, 'Nul ne profane l''Arcway. La sentence est la mort.', 14, 0, 100, 15, 0, 0, 0, 0, 'Adjudicateur spawn'); diff --git a/sql/sylvania/artifact_batch6.sql b/sql/sylvania/artifact_batch6.sql new file mode 100644 index 0000000..f3e4a0a --- /dev/null +++ b/sql/sylvania/artifact_batch6.sql @@ -0,0 +1,49 @@ +-- ============================================================ +-- Lot 6 : Niskara « L'Invasion de Niskara » (map 1604, monde de la Légion) +-- + Terres de Feu « La Fournaise » (map 1605) +-- ============================================================ + +-- ---------- Niskara (1604) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1604, 244.2, 1962.8, -54.3, 0.65, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Niskara - invasion (Legion world)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1604, 1, 0, 98286, 270.0, 1980.0, -54.3, 3.8, 4, 99, 0), +(1604, 1, 1, 98785, 262.0, 1990.0, -54.3, 3.8, 2, 99, 0), +(1604, 2, 0, 97966, 300.0, 2005.0, -54.3, 3.8, 3, 100, 0), +(1604, 2, 1, 98505, 292.0, 2013.0, -54.3, 3.8, 2, 100, 0), +(1604, 3, 0, 90663, 330.0, 2030.0, -54.3, 3.8, 1, 102, 0); + +-- ---------- Terres de Feu (1605) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1605, -531.7, 313.3, 115.5, 2.77, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Firelands - la Fournaise'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1605, 1, 0, 104499, -560.0, 330.0, 115.5, 5.9, 4, 99, 0), +(1605, 1, 1, 109021, -568.0, 338.0, 115.5, 5.9, 2, 100, 0), +(1605, 2, 0, 109021, -590.0, 352.0, 115.5, 5.9, 3, 100, 0), +(1605, 2, 1, 96123, -598.0, 344.0, 115.5, 5.9, 2, 100, 0), +(1605, 3, 0, 102398, -622.0, 370.0, 115.5, 5.9, 1, 102, 0); + +-- gabarits feu (stubs libres) +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry=102398; +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry IN (104499,109021,96123); + +UPDATE instance_template SET script='scenario_artifact_runner_1604' WHERE map=1604; +UPDATE instance_template SET script='scenario_artifact_runner_1605' WHERE map=1605; + +-- porte d'entrée : options 46/47 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (46,47); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 46, 0, 'Scénario : L''Invasion de Niskara — monde de la Légion (défi)', 0, 1, 1, 0), +(61000, 47, 0, 'Scénario : La Fournaise — Terres de Feu (défi)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (46,47); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 46, 0, 62, 0, 100, 0, 61000, 46, 0, 0, 62, 1604, 0, 0, 0, 0, 0, 7, 0, 0, 0, 244.2, 1962.8, -54.0, 0.65, 'Gardien - teleport scenario Niskara (1604)'), +(990000, 0, 47, 0, 62, 0, 100, 0, 61000, 47, 0, 0, 62, 1605, 0, 0, 0, 0, 0, 7, 0, 0, 0, -531.7, 313.3, 115.8, 2.77, 'Gardien - teleport scenario Terres de Feu (1605)'); + +-- texte FR du boss des Terres de Feu +DELETE FROM creature_text WHERE CreatureID=102398; +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(102398, 0, 0, 'La Fournaise vous consumera, chair fragile !', 14, 0, 100, 15, 0, 0, 0, 0, 'Infernal ardent spawn'); + +-- FIX passe QA 20/07 : Blazing Infernal 102398 etait modelid1=0 (invisible) -> modele de l Infernal Destroyer 98011 +UPDATE creature_template SET modelid1=(SELECT modelid1 FROM (SELECT modelid1 FROM creature_template WHERE entry=98011) x) WHERE entry=102398; diff --git a/sql/sylvania/artifact_batch7.sql b/sql/sylvania/artifact_batch7.sql new file mode 100644 index 0000000..5f6ba0c --- /dev/null +++ b/sql/sylvania/artifact_batch7.sql @@ -0,0 +1,37 @@ +-- ============================================================ +-- Lot 7 : Chasseur BM à Ulduar « Thunder of the Titans » (1068, map 1579) +-- + DK « Rescue Koltira » (1134, map 1617) +-- ============================================================ + +-- ---------- Ulduar / Chasseur BM (1579) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1579, 2340.8, 2575.4, 419.3, 0.0, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Hunter BM - Thunder of the Titans (Ulduar)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1579, 1, 0, 102019, 2380.0, 2575.0, 419.3, 3.2, 4, 99, 0), +(1579, 1, 1, 116763, 2390.0, 2565.0, 419.3, 3.2, 2, 100, 0), +(1579, 2, 0, 102019, 2704.0, 2569.2, 364.3, 3.2, 4, 100, 1), +(1579, 3, 0, 114362, 2730.0, 2569.0, 364.3, 3.2, 1, 102, 0); + +-- ---------- Rescue Koltira (1617) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1617, 1668.2, 731.0, 77.3, 0.0, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'DK - Rescue Koltira'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1617, 1, 0, 99664, 1695.0, 735.0, 77.3, 3.2, 4, 99, 0), +(1617, 1, 1, 116287, 1703.0, 727.0, 77.3, 3.2, 2, 100, 0), +(1617, 2, 0, 116287, 1730.0, 740.0, 77.3, 3.2, 4, 100, 0), +(1617, 3, 0, 106669, 1760.0, 745.0, 77.3, 3.2, 1, 102, 0); + +-- rattachement scénarios officiels + scripts d'instance +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1579, 0, 1068, 1068, 0), (1617, 0, 1134, 1134, 0); +UPDATE instance_template SET script='scenario_artifact_runner_1579' WHERE map=1579; +UPDATE instance_template SET script='scenario_artifact_runner_1617' WHERE map=1617; + +-- porte d'entrée : options 48/49 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (48,49); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 48, 0, 'Scénario : Le Tonnerre des titans — Ulduar (Chasseur Maîtrise des bêtes)', 0, 1, 1, 0), +(61000, 49, 0, 'Scénario : Le sauvetage de Koltira (Chevalier de la mort)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (48,49); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 48, 0, 62, 0, 100, 0, 61000, 48, 0, 0, 62, 1579, 0, 0, 0, 0, 0, 7, 0, 0, 0, 2340.8, 2575.4, 419.6, 0.0, 'Gardien - teleport scenario Ulduar BM (1579)'), +(990000, 0, 49, 0, 62, 0, 100, 0, 61000, 49, 0, 0, 62, 1617, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1668.2, 731.0, 77.6, 0.0, 'Gardien - teleport scenario Koltira (1617)'); diff --git a/sql/sylvania/artifact_batch8.sql b/sql/sylvania/artifact_batch8.sql new file mode 100644 index 0000000..6aaf971 --- /dev/null +++ b/sql/sylvania/artifact_batch8.sql @@ -0,0 +1,45 @@ +-- ============================================================ +-- Lot 8 : Druide « Le Rêvechemin corrompu » (map 1540) +-- + Mage Givre « Sombreglace » (map 1616, 2 zones) +-- ============================================================ + +-- ---------- Rêvechemin (1540) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1540, 1752.6, 1604.3, 8.7, 3.5, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Druid - Dreamway corrompu'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1540, 1, 0, 98286, 1696.1, 1640.4, 7.7, 3.9, 4, 99, 0), +(1540, 1, 1, 98785, 1688.0, 1632.0, 7.7, 3.9, 2, 99, 0), +(1540, 2, 0, 97966, 1568.0, 1555.4, 17.8, 0.5, 3, 100, 0), +(1540, 2, 1, 98505, 1576.0, 1563.0, 17.8, 0.5, 2, 100, 0), +(1540, 3, 0, 120487, 1507.4, 1650.4, 30.6, 5.6, 1, 102, 0); + +-- ---------- Mage Givre (1616) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1616, -158.4, 7814.9, 112.7, 3.1, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Mage Frost - Ebonchill (2 zones)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1616, 1, 0, 104604, -190.0, 7800.0, 112.7, 0.0, 4, 99, 0), +(1616, 1, 1, 100796, -198.0, 7808.0, 112.7, 0.0, 2, 100, 0), +(1616, 2, 0, 104604, -225.0, 7785.0, 112.7, 0.0, 3, 100, 0), +(1616, 3, 0, 116763, -4351.9, 407.3, 437.6, 2.0, 1, 102, 1), +(1616, 3, 1, 100796, -4360.0, 398.0, 437.6, 2.0, 2, 100, 0); + +-- gabarit boss Rêvechemin +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry=120487; + +UPDATE instance_template SET script='scenario_artifact_runner_1540' WHERE map=1540; +UPDATE instance_template SET script='scenario_artifact_runner_1616' WHERE map=1616; + +-- porte d'entrée : options 50/51 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (50,51); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 50, 0, 'Scénario : Le Rêvechemin corrompu (Druide)', 0, 1, 1, 0), +(61000, 51, 0, 'Scénario : Sombreglace — l''épreuve du givre (Mage Givre)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (50,51); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 50, 0, 62, 0, 100, 0, 61000, 50, 0, 0, 62, 1540, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1752.6, 1604.3, 9.0, 3.5, 'Gardien - teleport scenario Revechemin (1540)'), +(990000, 0, 51, 0, 62, 0, 100, 0, 61000, 51, 0, 0, 62, 1616, 0, 0, 0, 0, 0, 7, 0, 0, 0, -158.4, 7814.9, 113.0, 3.1, 'Gardien - teleport scenario Mage Givre (1616)'); + +-- texte FR du boss Rêvechemin +DELETE FROM creature_text WHERE CreatureID=120487; +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(120487, 0, 0, 'Le Rêve se meurt... et vous mourrez avec lui !', 14, 0, 100, 15, 0, 0, 0, 0, 'Horreur cauchemardesque spawn'); diff --git a/sql/sylvania/artifact_batch9.sql b/sql/sylvania/artifact_batch9.sql new file mode 100644 index 0000000..c67e873 --- /dev/null +++ b/sql/sylvania/artifact_batch9.sql @@ -0,0 +1,46 @@ +-- ============================================================ +-- Lot 9 : Guerrier Fureur « Les Épées de guerre des Valarjar » (map 1511, Helheim) +-- + Chaman Amélioration « Marteau-du-Destin » (map 1503) +-- ============================================================ + +-- ---------- Guerrier Fureur / Helheim (1511) — 4 ancres officielles ---------- +REPLACE INTO scenario_artifact_config VALUES +(1511, 3380.3, 1401.9, 69.5, 0.8, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Warrior Fury - Warswords (Helheim)'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1511, 1, 0, 111332, 3366.9, 1568.3, 11.0, 4.7, 4, 99, 0), +(1511, 1, 1, 116601, 3358.0, 1560.0, 11.0, 4.7, 2, 99, 0), +(1511, 2, 0, 116601, 3515.3, 1671.7, 1.0, 2.4, 3, 100, 0), +(1511, 2, 1, 116335, 3507.0, 1663.0, 1.0, 2.4, 2, 100, 0), +(1511, 3, 0, 115753, 3483.1, 1849.3, 2.7, 5.2, 1, 102, 0); + +-- ---------- Chaman Amélioration (1503) ---------- +REPLACE INTO scenario_artifact_config VALUES +(1503, 2458.1, 67.7, -157.7, 3.85, 994, -4245.0, -2660.5, 17.6, 1.6, 0, 'Shaman Enhancement - Doomhammer'); +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +(1503, 1, 0, 104499, 2428.0, 50.0, -157.7, 0.7, 4, 99, 0), +(1503, 1, 1, 109021, 2420.0, 58.0, -157.7, 0.7, 2, 100, 0), +(1503, 2, 0, 109021, 2395.0, 30.0, -157.7, 0.7, 3, 100, 0), +(1503, 2, 1, 96123, 2387.0, 38.0, -157.7, 0.7, 2, 100, 0), +(1503, 3, 0, 102398, 2365.0, 10.0, -157.7, 0.7, 1, 102, 0); + +-- gabarits Helheim (stubs libres) +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*10,10), `rank`=3 WHERE entry=115753; +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry IN (111332,116601,116335); + +UPDATE instance_template SET script='scenario_artifact_runner_1511' WHERE map=1511; +UPDATE instance_template SET script='scenario_artifact_runner_1503' WHERE map=1503; + +-- porte d'entrée : options 52/53 +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex IN (52,53); +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) VALUES +(61000, 52, 0, 'Scénario : Les Épées de guerre des Valarjar — Helheim (Guerrier Fureur)', 0, 1, 1, 0), +(61000, 53, 0, 'Scénario : Marteau-du-Destin — la forge des éléments (Chaman Amélioration)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id IN (52,53); +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(990000, 0, 52, 0, 62, 0, 100, 0, 61000, 52, 0, 0, 62, 1511, 0, 0, 0, 0, 0, 7, 0, 0, 0, 3380.3, 1401.9, 69.8, 0.8, 'Gardien - teleport scenario Guerrier Fureur (1511)'), +(990000, 0, 53, 0, 62, 0, 100, 0, 61000, 53, 0, 0, 62, 1503, 0, 0, 0, 0, 0, 7, 0, 0, 0, 2458.1, 67.7, -157.4, 3.85, 'Gardien - teleport scenario Chaman Amelioration (1503)'); + +-- texte FR du boss Helheim +DELETE FROM creature_text WHERE CreatureID=115753; +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(115753, 0, 0, 'Helheim garde ses trésors, mortel. Ton âme rejoindra la brume !', 14, 0, 100, 15, 0, 0, 0, 0, 'Gardien Helarjar spawn'); diff --git a/sql/sylvania/artifact_choices.sql b/sql/sylvania/artifact_choices.sql new file mode 100644 index 0000000..5824b18 --- /dev/null +++ b/sql/sylvania/artifact_choices.sql @@ -0,0 +1,45 @@ +-- ============================================================ +-- Artefacts toutes classes : choix universel + UI d'étapes +-- pour les scénarios d'artefact déjà scriptés +-- ============================================================ + +-- 1) Ritssyn Flamescowl (démoniste, Dreadscar) déclenche le choix d'artefact +UPDATE creature_template SET ScriptName='npc_ritssyn_flamescowl', npcflag=npcflag|1 WHERE entry=104795; + +-- 2) UI d'étapes pour les scénarios d'artefact déjà scriptés (correspondances sûres) +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES +(1536, 0, 990, 990, 0), -- Ursoc's Lair (druide gardien) +(1533, 0, 988, 988, 0), -- The Dark Riders (Karazhan catacombs) +(1539, 0, 972, 972, 0), -- Legacy of the Windrunners (Tirisfal, chasseur précision) +(1495, 0, 1082, 1082, 0), -- Claiming the Truthguard (paladin protection) +(1583, 0, 1065, 1065, 0), -- The Nexus Vault (mage arcanes) +(1599, 0, 1061, 1061, 0); -- Cleansing the Mother Tree (druide restauration) + +-- 3) Textes FR du choix d'artefact (les bases importées sont en russe) +UPDATE playerchoice SET Question='Quelle arme devons-nous rechercher en priorité ?' WHERE ChoiceId IN (231,235,236,240,245,248,253,255,266); +UPDATE playerchoice_response SET answer='Choisir' WHERE choiceId IN (231,235,236,240,245,248,253,255,266); +UPDATE playerchoice_response SET header='Sang' WHERE choiceId=253 AND responseId=400; +UPDATE playerchoice_response SET header='Givre' WHERE choiceId=253 AND responseId=401; +UPDATE playerchoice_response SET header='Impie' WHERE choiceId=253 AND responseId=402; +UPDATE playerchoice_response SET header='Affliction' WHERE choiceId=245 AND responseId=420; +UPDATE playerchoice_response SET header='Démonologie' WHERE choiceId=245 AND responseId=421; +UPDATE playerchoice_response SET header='Destruction' WHERE choiceId=245 AND responseId=422; +UPDATE playerchoice_response SET header='Survie' WHERE choiceId=240 AND responseId=450; +UPDATE playerchoice_response SET header='Précision' WHERE choiceId=240 AND responseId=451; +UPDATE playerchoice_response SET header='Maîtrise des bêtes' WHERE choiceId=240 AND responseId=452; +UPDATE playerchoice_response SET header='Sacré' WHERE choiceId=235 AND responseId=460; +UPDATE playerchoice_response SET header='Vindicte' WHERE choiceId=235 AND responseId=461; +UPDATE playerchoice_response SET header='Protection' WHERE choiceId=235 AND responseId=462; +UPDATE playerchoice_response SET header='Protection' WHERE choiceId=236 AND responseId=470; +UPDATE playerchoice_response SET header='Armes' WHERE choiceId=236 AND responseId=471; +UPDATE playerchoice_response SET header='Fureur' WHERE choiceId=236 AND responseId=472; +UPDATE playerchoice_response SET header='Dévastation' WHERE choiceId=231 AND responseId=478; +UPDATE playerchoice_response SET header='Vengeance' WHERE choiceId=231 AND responseId=479; +UPDATE playerchoice_response SET header='Vengeance' WHERE choiceId=255 AND responseId=640; +UPDATE playerchoice_response SET header='Dévastation' WHERE choiceId=255 AND responseId=641; +UPDATE playerchoice_response SET header='Sacré' WHERE choiceId=248 AND responseId=480; +UPDATE playerchoice_response SET header='Discipline' WHERE choiceId=248 AND responseId=481; +UPDATE playerchoice_response SET header='Ombre' WHERE choiceId=248 AND responseId=482; +UPDATE playerchoice_response SET header='Amélioration' WHERE choiceId=266 AND responseId=587; +UPDATE playerchoice_response SET header='Élémentaire' WHERE choiceId=266 AND responseId=588; +UPDATE playerchoice_response SET header='Restauration' WHERE choiceId=266 AND responseId=589; diff --git a/sql/sylvania/artifact_gate.sql b/sql/sylvania/artifact_gate.sql new file mode 100644 index 0000000..1df6839 --- /dev/null +++ b/sql/sylvania/artifact_gate.sql @@ -0,0 +1,7 @@ +-- Porte d'entrée des scénarios d'artefact : option gossip sur le Gardien des Artefacts (990000) +DELETE FROM gossip_menu_option WHERE MenuId=61000 AND OptionIndex=36; +INSERT INTO gossip_menu_option (MenuId, OptionIndex, OptionIcon, OptionText, OptionBroadcastTextId, OptionType, OptionNpcFlag, VerifiedBuild) +VALUES (61000, 36, 0, 'Scénario d''acquisition : Les Cieux tonnants — affronter Typhinius (Marche-vent)', 0, 1, 1, 0); +DELETE FROM smart_scripts WHERE entryorguid=990000 AND source_type=0 AND id=36; +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) +VALUES (990000, 0, 36, 0, 62, 0, 100, 0, 61000, 36, 0, 0, 62, 1528, 0, 0, 0, 0, 0, 7, 0, 0, 0, -428.0, 334.6, 739.7, 3.14, 'Gardien - teleport scenario Cieux tonnants (1528)'); diff --git a/sql/sylvania/artifact_runner.sql b/sql/sylvania/artifact_runner.sql new file mode 100644 index 0000000..12267d2 --- /dev/null +++ b/sql/sylvania/artifact_runner.sql @@ -0,0 +1,55 @@ +-- ============================================================ +-- Runner générique de scénarios d'artefact : tables de config +-- + 1re config : « The Thundering Heavens » (WW moine, map 1528) +-- ============================================================ + +CREATE TABLE IF NOT EXISTS scenario_artifact_config ( + map SMALLINT UNSIGNED NOT NULL PRIMARY KEY, + entrance_x FLOAT NOT NULL, entrance_y FLOAT NOT NULL, entrance_z FLOAT NOT NULL, entrance_o FLOAT NOT NULL DEFAULT 0, + exit_map SMALLINT UNSIGNED NOT NULL DEFAULT 0, + exit_x FLOAT NOT NULL DEFAULT 0, exit_y FLOAT NOT NULL DEFAULT 0, exit_z FLOAT NOT NULL DEFAULT 0, exit_o FLOAT NOT NULL DEFAULT 0, + credit_entry MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, + comment VARCHAR(120) DEFAULT NULL +); + +CREATE TABLE IF NOT EXISTS scenario_artifact_stage ( + map SMALLINT UNSIGNED NOT NULL, + stage TINYINT UNSIGNED NOT NULL, + idx TINYINT UNSIGNED NOT NULL DEFAULT 0, + entry MEDIUMINT UNSIGNED NOT NULL, + x FLOAT NOT NULL, y FLOAT NOT NULL, z FLOAT NOT NULL, o FLOAT NOT NULL DEFAULT 0, + cnt TINYINT UNSIGNED NOT NULL DEFAULT 1, + lvl TINYINT UNSIGNED NOT NULL DEFAULT 0, + teleport TINYINT UNSIGNED NOT NULL DEFAULT 0, + PRIMARY KEY (map, stage, idx) +); + +-- ---------- WW moine : The Thundering Heavens (scénario 983, Skywall 1528) ---------- +-- Ancres officielles WorldSafeLocs : entrée 5740, GY mi-parcours 5291, GY final 5292. +REPLACE INTO scenario_artifact_config VALUES +(1528, -428.0, 334.6, 739.7, 3.14, 1514, 882.9, 3605.6, 192.2, 3.0, 0, 'WW monk - Thundering Heavens (Typhinius)'); + +REPLACE INTO scenario_artifact_stage (map, stage, idx, entry, x, y, z, o, cnt, lvl, teleport) VALUES +-- étape 1 : plateau d''entrée, soldats des vents +(1528, 1, 0, 104604, -455.0, 340.0, 739.7, 0.2, 4, 99, 0), +(1528, 1, 1, 100647, -462.0, 328.0, 739.7, 0.2, 2, 100, 0), +-- étape 2 : terrasse médiane (téléport groupe) +(1528, 2, 0, 109768, -731.9, 436.6, 644.5, 1.4, 4, 99, 1), +(1528, 2, 1, 100796, -742.0, 445.0, 644.5, 1.4, 2, 100, 0), +-- étape 3 : plateforme finale — Typhinius (téléport groupe) +(1528, 3, 0, 100760, -1244.4, 413.9, 662.2, 5.3, 1, 102, 1), +(1528, 3, 1, 100762, -1252.0, 405.0, 662.2, 5.3, 1, 100, 0); + +-- gabarits du cast (stubs 1/1 faction 35) +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*12,12), `rank`=3 WHERE entry=100760; +UPDATE creature_template SET faction=16, minlevel=100, maxlevel=100, HealthModifier=GREATEST(HealthModifier*2,2) WHERE entry IN (100647,100796,100762); +UPDATE creature_template SET faction=16, minlevel=99, maxlevel=99 WHERE entry IN (104604,109768); + +-- rattachement scénario + script d'instance +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1528, 0, 983, 983, 0); +UPDATE instance_template SET script='scenario_artifact_runner_1528' WHERE map=1528; + +-- texte FR du boss +DELETE FROM creature_text WHERE CreatureID=100760; +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(100760, 0, 0, 'Les Poings des Cieux m''appartiennent, moine ! Les vents eux-mêmes se dresseront contre toi !', 14, 0, 100, 15, 0, 0, 0, 0, 'Typhinius spawn'); diff --git a/sql/sylvania/broken_shore_intro.sql b/sql/sylvania/broken_shore_intro.sql new file mode 100644 index 0000000..177fa57 --- /dev/null +++ b/sql/sylvania/broken_shore_intro.sql @@ -0,0 +1,62 @@ +-- ============================================================ +-- Intro Îles Brisées — scénario « The Battle for Broken Shore » +-- (786, map 1460) pour les 2 factions +-- Alliance : 42740 (Dameron → Angelica → scénario → Genn à Dalaran) +-- Horde : 44543 (Holgar Stormaxe au dock d'Orgrimmar → scénario → Eitrigg) +-- ============================================================ + +-- 1) Rattachement scénario + script d'instance +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1460, 0, 786, 786, 0); +UPDATE instance_template SET script='scenario_broken_shore_intro' WHERE map=1460; + +-- 2) Gabarits : boss et acteurs (stubs importés à 1/1 faction 35) +UPDATE creature_template SET faction=16, minlevel=100, maxlevel=100, HealthModifier=GREATEST(HealthModifier*8,8), `rank`=1 WHERE entry=90705; -- Arganoth +UPDATE creature_template SET faction=16, minlevel=102, maxlevel=102, HealthModifier=GREATEST(HealthModifier*15,15), `rank`=3 WHERE entry=90544; -- Krosus +UPDATE creature_template SET faction=16, minlevel=103, maxlevel=103, HealthModifier=GREATEST(HealthModifier*10,10), unit_flags=unit_flags|768 WHERE entry=90413; -- Gul'dan (intouchable) +UPDATE creature_template SET faction=16, minlevel=100, maxlevel=100, HealthModifier=GREATEST(HealthModifier*3,3), unit_flags=unit_flags|4 WHERE entry=90637; -- Ancre dimensionnelle +-- chefs de faction (props d'événement, indestructibles dans les faits) +UPDATE creature_template SET faction=35, minlevel=103, maxlevel=103, HealthModifier=GREATEST(HealthModifier*30,30) WHERE entry IN (90707,90708,90709,90710,90711,90713,90714,90716,90717,90367); +-- troupes +UPDATE creature_template SET faction=35, minlevel=100, maxlevel=100, HealthModifier=GREATEST(HealthModifier*5,5) WHERE entry IN (90750,90751); + +-- 3) Cimetières du scénario (aucun graveyard_zone n'existait pour la map 1460) +DELETE FROM graveyard_zone WHERE GhostZone IN (7534,7547,7624,8120,8290,8437,8452,8453,8454); +INSERT INTO graveyard_zone (ID, GhostZone, Faction, Comment) VALUES +(5025, 7534, 469, 'Broken Shore scenario - A city'), (5684, 7534, 67, 'Broken Shore scenario - H city'), +(5021, 8290, 469, 'Broken Shore scenario - A beach'), (5682, 8290, 67, 'Broken Shore scenario - H beach'), +(5025, 8437, 469, 'Broken Shore scenario - A nml'), (5684, 8437, 67, 'Broken Shore scenario - H nml'), +(5025, 7547, 469, 'Broken Shore scenario - A cityA'), (5684, 7547, 67, 'Broken Shore scenario - H cityA'), +(5025, 8454, 469, 'Broken Shore scenario - A cityH'), (5684, 8454, 67, 'Broken Shore scenario - H cityH'), +(5027, 7624, 469, 'Broken Shore scenario - A tombA'), (5686, 7624, 67, 'Broken Shore scenario - H tombA'), +(5027, 8452, 469, 'Broken Shore scenario - A tombH'), (5686, 8452, 67, 'Broken Shore scenario - H tombH'), +(5026, 8120, 469, 'Broken Shore scenario - A appA'), (5685, 8120, 67, 'Broken Shore scenario - H appA'), +(5026, 8453, 469, 'Broken Shore scenario - A appH'), (5685, 8453, 67, 'Broken Shore scenario - H appH'); + +-- 4) Entrée Horde : Holgar Stormaxe donne 44543 et téléporte à l'acceptation +REPLACE INTO creature_queststarter (id, quest) VALUES (4311, 44543); +UPDATE creature_template SET AIName='SmartAI' WHERE entry=4311; +DELETE FROM smart_scripts WHERE entryorguid=4311 AND source_type=0; +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(4311, 0, 0, 0, 19, 0, 100, 0, 44543, 0, 0, 0, 62, 1460, 0, 0, 0, 0, 0, 7, 0, 0, 0, 525.4, 1967.5, 1.2, 5.9, 'Holgar Stormaxe - quete 44543 acceptee - teleport Rive Brisee'); + +-- 5) Rendeur Horde : Eitrigg au dock d''Orgrimmar (aucun spawn n''existait) +UPDATE creature_template SET npcflag=npcflag|2, minlevel=103, maxlevel=103 WHERE entry=100453; +DELETE FROM creature WHERE guid=290000002; +INSERT INTO creature (guid, id, map, zoneId, areaId, spawnDifficulties, position_x, position_y, position_z, orientation, spawntimesecs, curhealth) +VALUES (290000002, 100453, 1, 0, 0, '0', 1355.5, -4393.5, 29.2, 3.90, 300, 1); + +-- 6) Textes FR du scénario +DELETE FROM creature_text WHERE CreatureID IN (90713,90708,90709,90714,90705,90367,90413); +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(90713, 0, 0, 'Soldats de l''Alliance ! La Légion s''abat sur nos terres. Repoussez-la jusqu''aux portes du tombeau de Sargeras !', 14, 0, 100, 5, 0, 0, 0, 0, 'Varian ralliement'), +(90713, 1, 0, 'Partez, sauvez ce qui peut l''être ! Dites à mon fils... que je suis mort en roi. Pour l''Alliance !', 14, 0, 100, 5, 0, 0, 0, 0, 'Varian sacrifice'), +(90708, 0, 0, 'Fils et filles de la Horde ! Montrez à la Légion c''que vaut not'' sang ! LOK''TAR OGAR !', 14, 0, 100, 5, 0, 0, 0, 0, 'Voljin ralliement'), +(90708, 1, 0, 'Argh... la lame... empoisonnée... Sylvanas... sonne la retraite...', 14, 0, 100, 0, 0, 0, 0, 0, 'Voljin blessé'), +(90709, 0, 0, 'La Horde ne mourra pas sur cette plage. Avancez, et que la Légion tombe !', 14, 0, 100, 25, 0, 0, 0, 0, 'Sylvanas'), +(90714, 0, 0, 'Leurs portails déversent des renforts sans fin ! Détruisez les ancres dimensionnelles !', 14, 0, 100, 5, 0, 0, 0, 0, 'Jaina portails'), +(90705, 0, 0, 'Vos armées ne sont que poussière. Je suis Arganoth, et cette plage sera votre tombeau !', 14, 0, 100, 15, 0, 0, 0, 0, 'Arganoth spawn'), +(90705, 1, 0, 'La Légion... est... éternelle...', 14, 0, 100, 0, 0, 0, 0, 0, 'Arganoth mort'), +(90367, 0, 0, 'Ne vous souciez pas de moi ! Le tombeau... Gul''dan ouvre le tombeau ! Arrêtez-le !', 14, 0, 100, 5, 0, 0, 0, 0, 'Tirion crevasse'), +(90413, 0, 0, 'Vous arrivez trop tard ! Les ténèbres s''éveillent sous ce tombeau !', 14, 0, 100, 25, 0, 0, 0, 0, 'Guldan accueil'), +(90413, 1, 0, 'Sargeras... accueille leurs âmes !', 14, 0, 100, 25, 0, 0, 0, 0, 'Guldan invocation'), +(90413, 2, 0, 'Cette victoire ne changera rien. L''Étoile ardente approche !', 14, 0, 100, 25, 0, 0, 0, 0, 'Guldan retraite'); diff --git a/sql/sylvania/monk_campaign_intro.sql b/sql/sylvania/monk_campaign_intro.sql new file mode 100644 index 0000000..0247133 --- /dev/null +++ b/sql/sylvania/monk_campaign_intro.sql @@ -0,0 +1,85 @@ +-- ============================================================ +-- Campagne moine — intro « Before the Storm » (12103) +-- + scénario « Serenity's End » (943, map 1014) +-- + choix d'artefact via PlayerChoice 242 (Ponshu) +-- ============================================================ + +-- 1) Réactiver la quête d'intro (elle était dans disables) et la réserver aux moines +DELETE FROM disables WHERE sourceType=1 AND entry=12103; +UPDATE quest_template_addon SET AllowableClasses=512 WHERE ID IN (12103,40236,40793,40638,40639,40640); + +-- 2) Da-Nel : donneur de 12103, IA liée, spawn à Dalaran (Aire de Krasus, près du maître de vol) +REPLACE INTO creature_queststarter (id, quest) VALUES (98519, 12103); +UPDATE creature_template SET ScriptName='npc_initiate_da_nel', npcflag=npcflag|2, minlevel=100, maxlevel=100 WHERE entry=98519; +DELETE FROM creature WHERE guid=290000001; +INSERT INTO creature (guid, id, map, zoneId, areaId, spawnDifficulties, position_x, position_y, position_z, orientation, spawntimesecs, curhealth) +VALUES (290000001, 98519, 1220, 0, 0, '0', -858.5, 4295.0, 745.4, 2.30, 300, 1); + +-- 3) Scénario : rattachement map 1014 -> scénario 943 (les 2 factions) + script d'instance +REPLACE INTO scenarios (map, difficulty, scenario_A, scenario_H, zoneid) VALUES (1014, 0, 943, 943, 0); +UPDATE instance_template SET script='scenario_monk_serenitys_end' WHERE map=1014; + +-- 4) Gabarits créatures du scénario +-- hostiles (gabarits stub importés à 1/1 faction 35) +UPDATE creature_template SET faction=16, minlevel=98, maxlevel=100 + WHERE entry IN (98011,98286,105256,97966,98785,98505,98496,97811,97968); +UPDATE creature_template SET faction=16, minlevel=100, maxlevel=100, HealthModifier=GREATEST(HealthModifier*6,6), `rank`=1 WHERE entry=98217; +UPDATE creature_template SET faction=16, minlevel=100, maxlevel=100, HealthModifier=GREATEST(HealthModifier*4,4), unit_flags=unit_flags|4 WHERE entry=98353; +-- Keletress : projection intouchable (IMMUNE_TO_PC|NON_ATTACKABLE) +UPDATE creature_template SET faction=16, minlevel=110, maxlevel=110, unit_flags=unit_flags|258 WHERE entry=104755; +-- amicaux : niveaux corrects + Chen scénario +UPDATE creature_template SET minlevel=100, maxlevel=100 WHERE entry IN (97778,98515,97777,97774,98939,97954,97958,97679,98001,98074); +UPDATE creature_template SET faction=35, minlevel=102, maxlevel=102 WHERE entry=100307; + +-- liaisons ScriptName (entrées sans spawn ailleurs, vérifié) +UPDATE creature_template SET npcflag=npcflag|1, ScriptName='npc_serenity_master_hight' WHERE entry=97778; +UPDATE creature_template SET npcflag=npcflag|1, ScriptName='npc_serenity_number_nine_jia' WHERE entry=98939; +UPDATE creature_template SET ScriptName='npc_serenity_infernal_destroyer' WHERE entry=98011; +UPDATE creature_template SET ScriptName='npc_serenity_vizznak' WHERE entry=97968; +UPDATE creature_template SET ScriptName='npc_serenity_morvath' WHERE entry=97811; +UPDATE creature_template SET ScriptName='npc_serenity_invader' WHERE entry=98496; +UPDATE creature_template SET ScriptName='npc_serenity_jorvinax' WHERE entry=98217; +UPDATE creature_template SET ScriptName='npc_serenity_fel_stone' WHERE entry=98353; +UPDATE creature_template SET ScriptName='npc_serenity_chen' WHERE entry=100307; + +-- 5) Textes FR du scénario +DELETE FROM creature_text WHERE CreatureID IN (98519,97778,98001,104755,98939,100307,98217,98515); +INSERT INTO creature_text (CreatureID, GroupID, ID, Text, Type, Language, Probability, Emote, Duration, Sound, BroadcastTextId, TextRange, comment) VALUES +(98519, 0, 0, 'Maître ! Grand Maître Hight vous demande au pic de la Sérénité. C''est urgent !', 12, 0, 100, 1, 0, 0, 0, 0, 'Da-Nel salut'), +(98519, 1, 0, 'Que les vents vous portent, maître. Le pèlerinage zen vous y conduira !', 12, 0, 100, 66, 0, 0, 0, 0, 'Da-Nel accept'), +(97778, 0, 0, 'Ah, te voilà. Le conseil peut commencer.', 12, 0, 100, 1, 0, 0, 0, 0, 'Hight accueil'), +(97778, 1, 0, 'Maîtres, la Légion ardente a écrasé nos armées au Rivage Brisé. L''heure est grave : nous devons décider de l''avenir de notre ordre.', 12, 0, 100, 1, 0, 0, 0, 0, 'Hight conseil'), +(97778, 2, 0, 'Par les Célestes ! Défendez le temple !', 14, 0, 100, 5, 0, 0, 0, 0, 'Hight attaque'), +(97778, 3, 0, 'File au sanctuaire de la Grue, au nord ! Nos frères sont en danger !', 14, 0, 100, 25, 0, 0, 0, 0, 'Hight ordre'), +(98001, 0, 0, 'Des démons ! Des démons surgissent de part--', 14, 0, 100, 5, 0, 0, 0, 0, 'Chuang alerte'), +(104755, 0, 0, 'Je te vois, moine ! Ta résistance est vaine.', 14, 0, 100, 0, 0, 0, 0, 0, 'Keletress 1'), +(104755, 1, 0, 'Ce temple brûlera, comme tout ce que vous chérissez.', 14, 0, 100, 0, 0, 0, 0, 0, 'Keletress 2'), +(104755, 2, 0, 'Jorvinax ! Débarrasse-moi de ces insectes !', 14, 0, 100, 0, 0, 0, 0, 0, 'Keletress 3'), +(98939, 0, 0, 'Vizznak est à moi ! Protège les parchemins sacrés !', 14, 0, 100, 0, 0, 0, 0, 0, 'Jia combat'), +(98939, 1, 0, 'Je vais concentrer mon chi pour t''envoyer de l''autre côté. Chen et ses élèves ont besoin de toi ! Parle-moi quand tu es prêt.', 12, 0, 100, 1, 0, 0, 0, 0, 'Jia teleport'), +(100307, 0, 0, 'Hé ! Par ici !', 14, 0, 100, 22, 0, 0, 0, 0, 'Chen appel'), +(100307, 1, 0, 'Tu as de la force, mais il te manque de la vitesse !', 12, 0, 100, 0, 0, 0, 0, 0, 'Chen reprise'), +(100307, 2, 0, 'Merci, l''ami. Ramenons les petits en lieu sûr, vite !', 12, 0, 100, 1, 0, 0, 0, 0, 'Chen escorte'), +(100307, 3, 0, 'Une embuscade ! Protégez les enfants !', 14, 0, 100, 5, 0, 0, 0, 0, 'Chen embuscade'), +(98217, 0, 0, 'Mortels pathétiques ! Les armées de la Légion vous écraseront !', 14, 0, 100, 15, 0, 0, 0, 0, 'Jorvinax aggro'), +(98217, 1, 0, 'Keletress... le portail... doit tenir...', 14, 0, 100, 0, 0, 0, 0, 0, 'Jorvinax mort'), +(98515, 0, 0, 'Cette pierre gangrenée alimente le portail. Détruis-la !', 14, 0, 100, 25, 0, 0, 0, 0, 'Hight pierre'), +(98515, 1, 0, 'Le pic est perdu... mais l''ordre survivra. Repliez-vous sur l''île Vagabonde !', 14, 0, 100, 1, 0, 0, 0, 0, 'Hight fin'); + +-- 6) Île Vagabonde : crédits de la quête 40236 « The Dawning Light » +-- Jang (99181) crédite « Accompany Fearsome Jang » à l'acceptation ; +-- Jia (100355) crédite « Establish the Order » quand le joueur arrive près d'elle. +UPDATE creature_template SET AIName='SmartAI' WHERE entry IN (99181,100355); +DELETE FROM smart_scripts WHERE entryorguid IN (99181,100355) AND source_type=0; +INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment) VALUES +(99181, 0, 0, 0, 19, 0, 100, 0, 40236, 0, 0, 0, 33, 99181, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Fearsome Jang - quete 40236 acceptee - credit accompagnement'), +(100355, 0, 0, 0, 10, 0, 100, 0, 1, 10, 15000, 15000, 33, 100355, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Number Nine Jia - joueur proche - credit fondation de l''ordre'); + +-- 7) PlayerChoice 242 (choix d'artefact moine) : textes FR (base importée en russe) +UPDATE playerchoice SET Question='Quelle arme devons-nous rechercher en priorité ?' WHERE ChoiceId=242; +UPDATE playerchoice_response SET header='Tisse-brume', answer='Choisir' WHERE choiceId=242 AND responseId=241; +UPDATE playerchoice_response SET header='Maître brasseur', answer='Choisir' WHERE choiceId=242 AND responseId=242; +UPDATE playerchoice_response SET header='Marche-vent', answer='Choisir' WHERE choiceId=242 AND responseId=243; + +-- 8) PNJ critiques pour la progression du scénario : PV blindés (anti soft-lock) +UPDATE creature_template SET HealthModifier=GREATEST(HealthModifier*20,20) WHERE entry IN (98939,98515,100307,97778); diff --git a/sql/sylvania/ring_of_peace.sql b/sql/sylvania/ring_of_peace.sql new file mode 100644 index 0000000..96877ff --- /dev/null +++ b/sql/sylvania/ring_of_peace.sql @@ -0,0 +1,6 @@ +-- Ring of Peace (116844) : bon binding = areatrigger_template.ScriptName sur l AreaTriggerId 3983 +-- (SpellMiscId 718 -> AreaTriggerId 3983, sphere rayon 8). areatrigger_scripts etait la MAUVAISE table. +UPDATE areatrigger_template SET ScriptName="at_monk_ring_of_peace" WHERE Id=3983; +DELETE FROM areatrigger_scripts WHERE entry=718; +-- Bonus meme bug : Chant de Chi-Ji (SpellMiscId 5484 -> AreaTriggerId 10191) jamais binde non plus +UPDATE areatrigger_template SET ScriptName="at_monk_song_of_chiji" WHERE Id=10191;