From fa47117815e4c52e4b5133340cb2dd7e5649ce95 Mon Sep 17 00:00:00 2001 From: Grz3s Date: Wed, 27 Sep 2023 20:22:08 +0200 Subject: [PATCH] [4923] Oracle Tribe - Quest Chain Chain relations corrected Quest Fixed: q.12571 'Make the Bad Snake Go Away' q.12572 'Gods like Shiny Things' q.12574 'Back So Soon?' q.12575 'The Lost Mistwhisper Treasure' q.12577 'Home Time!' q.12578 'The Angry Gorloc' q.12581 'A Hero's Burden' 3 companions: Lafoo 28120 Jaloot 28121 Moodle 28122 Reconstructed.. *Note: companions req. Core script - will be added later Also issues fixed: - summoned has no gossip taken from c_t - Fixed in core - summoned wont be removed correctly if logout/in - Fixed in core PArt of: https://github.com/cmangos/wotlk-db/issues/291 --- ACID/acid_wotlk.sql | 92 ++++++++-- Updates/4923_OracleTribe_Quests.sql | 270 ++++++++++++++++++++++++++++ 2 files changed, 351 insertions(+), 11 deletions(-) create mode 100644 Updates/4923_OracleTribe_Quests.sql diff --git a/ACID/acid_wotlk.sql b/ACID/acid_wotlk.sql index 5c59ca6c27..777f8536e6 100644 --- a/ACID/acid_wotlk.sql +++ b/ACID/acid_wotlk.sql @@ -28714,6 +28714,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('2802503','28025','9','0','100','1025','0','40','6000','8000','0','0','11','15305','1','256','0','0','0','0','0','0','0','0','Rainspeaker Oracle - Cast Chain Lightning'), -- High-Oracle Soo-say 28027 ('2802701','28027','0','0','100','1025','5000','10000','12000','16000','0','0','11','53071','0','0','0','0','0','0','0','0','0','0','High-Oracle Soo-say - Cast Thunderstorm'), +('2802702','28027','1','0','100','1','1000','55000','120000','240000','0','0','45','5','100','0','0','0','0','0','0','0','0','0','High-Oracle Soo-say - Send AI Event Custom A on OOC Timer'), -- Hadrius Harlowe 28047 ('2804701','28047','8','0','100','1','51962','-1','0','0','0','0','53','20764','7','0','0','0','0','0','0','0','0','0','Hadrius Harlowe - START_RELAY_SCRIPT on Spell Hit (q.12645)'), -- Sholazar Guardian 28069 @@ -28752,10 +28753,12 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('2808002','28080','30','0','100','0','5','28080','0','0','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Frenzyheart Spearbearer - Set Phase 1 on Receive AI Event Custom A'), ('2808003','28080','1','5','33','1','10000','45000','240000','300000','0','0','53','20744','0','0','0','0','0','0','0','0','0','0','Frenzyheart Spearbearer - (33% chance) START_RELAY_SCRIPT on OOC Timer (Phase 1)'), ('2808004','28080','30','0','33','1','6','28080','0','0','0','0','53','20745','0','0','0','0','0','0','0','0','0','0','Frenzyheart Spearbearer - (33% chance) START_RELAY_SCRIPT on Receive AI Event Custom B'), +('2808005','28080','6','0','100','0','0','0','0','0','0','0','45','6','20','0','0','0','0','0','0','0','0','0','Frenzyheart Spearbearer - Send AI Event Custom B on Death'), -- Frenzyheart Scavenger 28081 ('2808101','28081','4','0','100','0','0','0','0','0','0','0','57','2','35','0','28','0','46581','0','0','0','0','0','Frenzyheart Scavenger - Enable Range Mode and Remove aura on Aggro'), ('2808102','28081','9','0','100','1025','5','40','2300','3900','0','0','11','54617','1','256','0','0','0','0','0','0','0','0','Frenzyheart Scavenger - Cast Throw Spear'), ('2808103','28081','1','0','33','1','10000','45000','240000','300000','0','0','53','20746','0','0','0','0','0','0','0','0','0','0','Frenzyheart Scavenger - (33% chance) START_RELAY_SCRIPT on OOC Timer (Phase 1)'), +('2808104','28081','6','0','100','0','0','0','0','0','0','0','45','8','20','0','0','0','0','0','0','0','0','0','Frenzyheart Scavenger - Send AI Event Custom C on Death'), -- High-Shaman Rakjak 28082 ('2808201','28082','4','0','100','0','0','0','0','0','0','0','57','2','35','0','0','0','0','0','0','0','0','0','High-Shaman Rakjak - Enable Range Mode on Aggro'), ('2808202','28082','2','0','100','1024','15','0','0','0','0','0','25','0','0','0','1','1150','0','0','0','0','0','0','High-Shaman Rakjak - Flee at 15% HP'), @@ -28807,15 +28810,16 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('2810302','28103','0','0','100','1025','20000','24000','20000','26000','0','0','11','51074','1','0','1','29932','0','0','0','0','0','0','Urgreth of the Thousand Tombs - Cast Shadow Barrage and Say'), ('2810303','28103','1','0','100','1','100','30000','120000','240000','0','0','1','27537','27538','27539','0','0','0','0','0','0','0','0','Urgreth of the Thousand Tombs - Random Say on OOC Timer'), -- Warlord Tartek 28105 -('2810501','28105','4','0','100','0','0','0','0','0','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 1 on Aggro'), -('2810502','28105','0','0','100','0','0','0','0','0','0','0','1','27893','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Say 1 on Aggro'), -('2810503','28105','0','0','100','0','3000','3000','0','0','0','0','1','27895','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Say 2 on Aggro'), -('2810504','28105','9','5','100','1025','0','5','5000','9000','0','0','11','15572','1','0','0','0','0','0','0','0','0','0','Warlord Tartek - Cast Sunder Armor (Phase 1)'), -('2810505','28105','24','5','100','1','15572','5','5000','5000','0','0','22','2','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 2 on Target Max Sunder Armor Aura Stack (Phase 1)'), -('2810506','28105','28','3','100','1','15572','1','5000','5000','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 1 on Target Missing Sunder Armor Aura Stack (Phase 2)'), -('2810507','28105','0','0','100','1025','3000','6000','4000','7000','0','0','11','29426','1','0','0','0','0','0','0','0','0','0','Warlord Tartek - Cast Heroic Strike'), -('2810508','28105','2','0','100','1025','30','0','12000','15000','0','0','11','35429','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Cast Sweeping Strikes at 30% HP'), +('2810501','28105','11','0','100','0','0','0','0','0','0','0','53','20789','0','0','0','0','0','0','0','0','0','0','START_RELAY_SCRIPT on Spawn'), +('2810502','28105','4','0','100','0','0','0','0','0','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 1 on Aggro'), +('2810503','28105','9','5','100','1025','0','5','5000','9000','0','0','11','15572','1','0','0','0','0','0','0','0','0','0','Warlord Tartek - Cast Sunder Armor (Phase 1)'), +('2810504','28105','24','5','100','1','15572','5','5000','5000','0','0','22','2','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 2 on Target Max Sunder Armor Aura Stack (Phase 1)'), +('2810505','28105','28','3','100','1','15572','1','5000','5000','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 1 on Target Missing Sunder Armor Aura Stack (Phase 2)'), +('2810506','28105','0','0','100','1025','3000','6000','4000','7000','0','0','11','29426','1','0','0','0','0','0','0','0','0','0','Warlord Tartek - Cast Heroic Strike'), +('2810507','28105','2','0','100','1025','30','0','12000','15000','0','0','11','35429','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Cast Sweeping Strikes at 30% HP'), +('2810508','28105','30','0','100','0','5','28105','0','0','0','0','55','11','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Attack summoner on Receive AI Event Custom A'), ('2810509','28105','7','0','100','0','0','0','0','0','0','0','22','0','0','0','0','0','0','0','0','0','0','0','Warlord Tartek - Set Phase 0 on Evade'), +('2810510','28105','6','0','100','0','0','0','0','0','0','0','45','9','20','0','0','0','0','0','0','0','0','0','Warlord Tartek - Send AI Event Custom D on Death'), -- Shaman Jakjek 28106 ('2810601','28106','1','0','100','33','0','100','30000','45000','30000','45000','53','20759','0','0','53','20760','0','0','53','20761','0','0','Shaman Jakjek - START_RELAY_SCRIPT (Random) on OOC Timer'), -- Lightningcaller Soo-met 28107 @@ -28856,6 +28860,42 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('2811304','28113','30','5','100','1','5','28641','0','0','0','0','28','0','52140','0','41','0','0','0','0','0','0','0','Mosswalker Victim - Remove Aura and Despawn on Receive AI Event Custom A (Phase 1)'), ('2811305','28113','27','5','100','0','52140','1','0','0','0','0','11','52165','0','1','22','2','0','0','0','0','0','0','Mosswalker Victim - Set Phase 2 and cast Cosmetic - Stun Permanent (no anim) on Missing Buff (Phase 1)'), ('2811306','28113','29','3','100','0','120000','120000','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Mosswalker Victim - Despawn on 2min Timer (Phase 2)'), +('2811307','-521145','1','0','100','1','1000','55000','120000','240000','0','0','45','6','100','0','0','0','0','0','0','0','0','0','(Guid EAI) Mosswalker Victim - Send AI Event Custom B on OOC Timer'), +-- Lafoo 28120 +('2812001','28120','11','0','100','0','0','0','0','0','0','0','11','51623','0','0','50','1','0','0','0','0','0','0','Lafoo - Cast Sholazar Guardian Heartbeat and Set Defensive State on Spawn'), +('2812002','28120','9','0','100','1025','0','30','6000','12000','0','0','11','52931','1','0','0','0','0','0','0','0','0','0','Lafoo - Cast Toxic Spit'), +('2812003','28120','0','0','100','1025','12000','18000','18000','26000','0','0','11','52938','0','0','0','0','0','0','0','0','0','0','Lafoo - Cast Pungent Slime'), +('2812004','28120','2','0','100','1024','30','0','0','0','0','0','11','52940','0','0','0','0','0','0','0','0','0','0','Lafoo - Cast Sleepy Time! at 30% HP'), +('2812005','28120','1','0','50','1','1000','55000','120000','240000','0','0','54','0','0','20325','0','0','0','0','0','0','0','0','Lafoo - (50% chance) Random Say on OOC Timer'), +('2812006','28120','30','0','50','1','5','28358','0','0','0','0','54','0','0','20326','0','0','0','0','0','0','0','0','Lafoo - (50% chance) Say on Receive AI Event Custom A'), +('2812007','28120','10','0','100','1','1','7','30000','30000','1','20627','54','0','0','20327','0','0','0','0','0','0','0','0','Lafoo - Say on LOS(q.12572)'), +('2812008','28120','8','0','100','1','53163','-1','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Lafoo - Despawn on Spell Hit'), +('2812009','28120','6','0','100','0','0','0','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Lafoo - Despawn on Death'), +-- Jaloot 28121 +('2812101','28121','11','0','100','0','0','0','0','0','0','0','11','50726','0','0','11','51623','0','0','50','1','0','0','Jaloot - Cast Sparktouched Oracle State and Sholazar Guardian Heartbeat and Set Defensive State on Spawn'), +('2812102','28121','9','0','100','1025','0','40','6000','12000','0','0','11','52944','1','0','0','0','0','0','0','0','0','0','Jaloot - Cast Lightning Strike'), +('2812103','28121','9','0','100','1025','0','5','12000','16000','0','0','11','52943','1','0','0','0','0','0','0','0','0','0','Jaloot - Cast Lightning Whirl'), +('2812104','28121','0','0','100','1025','24000','32000','18000','26000','0','0','11','52964','0','0','0','0','0','0','0','0','0','0','Jaloot - Cast Spark Frenzy'), +('2812105','28121','2','0','100','1024','30','0','0','0','0','0','11','52969','0','0','0','0','0','0','0','0','0','0','Jaloot - Cast Energy Siphon at 30% HP'), +('2812106','28121','1','0','100','0','100','100','0','0','0','0','11','52119','0','0','0','0','0','0','0','0','0','0','Jaloot - Cast Jaloot\'s Intensity on OOC Timer'), +('2812107','28121','30','0','50','1','5','28027','0','0','0','0','54','0','0','20328','0','0','0','0','0','0','0','0','Jaloot - (50% chance) Say on Receive AI Event Custom A'), +('2812108','28121','30','0','25','1','6','28080','0','0','0','0','54','0','0','20329','0','0','0','0','0','0','0','0','Jaloot - (25% chance) Say on Receive AI Event Custom B'), +('2812109','28121','30','0','25','1','8','28081','0','0','0','0','54','0','0','20329','0','0','0','0','0','0','0','0','Jaloot - (25% chance) Say on Receive AI Event Custom C'), +('2812110','28121','30','0','100','1','9','28105','0','0','0','0','53','20790','0','0','0','0','0','0','0','0','0','0','Jaloot - START_RELAY_SCRIPT on Receive AI Event Custom D'), +('2812111','28121','30','0','100','1','10','28399','0','0','0','0','53','20790','0','0','0','0','0','0','0','0','0','0','Jaloot - START_RELAY_SCRIPT on Receive AI Event Custom D'), +('2812112','28121','8','0','100','1','53163','-1','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Jaloot - Despawn on Spell Hit'), +('2812113','28121','6','0','100','0','0','0','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Jaloot - Despawn on Death'), +-- Moodle 28122 +('2812201','28122','11','0','100','0','0','0','0','0','0','0','11','50503','0','0','11','51623','0','0','50','1','0','0','Moodle - Cast Rainspeaker Oracle State and Sholazar Guardian Heartbeat and Set Defensive State on Spawn'), +('2812202','28122','9','0','100','1025','0','5','12000','16000','0','0','11','52973','1','0','0','0','0','0','0','0','0','0','Jaloot - Cast Frost Breath'), +('2812203','28122','0','0','100','1025','16000','24000','18000','26000','0','0','11','52974','0','0','0','0','0','0','0','0','0','0','Jaloot - Cast Vicious Roar'), +('2812204','28122','9','0','100','1025','0','5','6000','9000','0','0','11','52977','1','0','0','0','0','0','0','0','0','0','Jaloot - Cast Whirlwind'), +('2812205','28122','2','0','100','1024','30','0','0','0','0','0','11','52979','0','0','0','0','0','0','0','0','0','0','Jaloot - Cast Energy Siphon at 30% HP'), +('2812206','28122','0','0','100','1025','24000','32000','18000','26000','0','0','11','52972','0','0','0','0','0','0','0','0','0','0','Moodle - Cast Dispersal'), +('2812207','28122','30','0','50','1','5','28027','0','0','0','0','54','0','0','20331','0','0','0','0','0','0','0','0','Moodle - (50% chance) Say on Receive AI Event Custom A'), +('2812208','28122','30','0','50','1','6','28113','0','0','0','0','54','0','0','20332','0','0','0','0','0','0','0','0','Moodle - (50% chance) Say on Receive AI Event Custom A'), +('2812209','28122','8','0','100','1','53163','-1','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Moodle - Despawn on Spell Hit'), +('2812210','28122','6','0','100','0','0','0','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Moodle - Despawn on Death'), -- Venture Co. Excavator 28123 ('2812301','28123','0','0','100','1025','4000','6000','4000','7000','0','0','11','49749','1','0','0','0','0','0','0','0','0','0','Venture Co. Excavator - Cast Piercing Blow'), ('2812302','28123','8','0','33','1','52908','-1','0','0','0','0','53','20742','0','0','0','0','0','0','0','0','0','0','Venture Co. Excavator - (33% chance) START_RELAY_SCRIPT on Spell Hit'), @@ -28979,6 +29019,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers -- Venomtip 28358 ('2835801','28358','0','0','100','1025','7000','9000','17000','20000','0','0','11','61550','1','0','0','0','0','0','0','0','0','0','Venomtip - Cast Cobra Strike'), ('2835802','28358','9','0','100','1025','0','30','7000','12000','0','0','11','32330','4','32','0','0','0','0','0','0','0','0','Venomtip - Cast Poison Spit'), +('2835803','28358','6','0','100','0','0','0','0','0','0','0','45','5','20','0','0','0','0','0','0','0','0','0','Venomtip - Send AI Event Custom A on Death'), -- Sparkling Hare 28371 ('2837101','28371','6','0','100','0','0','0','0','0','0','0','11','51442','6','7','0','0','0','0','0','0','0','0','Sparkling Hare - Cast Blessing of the Sparkling Hare on Death'), -- Cultist Infiltrator 28373 @@ -29001,6 +29042,8 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('2838003','28380','23','0','100','0','29266','1','0','0','0','0','18','256','0','0','18','512','0','0','0','0','0','0','Shattertusk Bull - Set UnitFlags on Permanent Feign Death'), -- Primordial Hatchling 28389 ('2838901','28389','11','0','100','0','0','0','0','0','0','0','53','30601','0','0','0','0','0','0','0','0','0','0','Primordial Hatchling - START_RELAY_SCRIPT on Spawn'), +-- Zeptek the Destroyer 28399 +('2839901','28399','6','0','100','0','0','0','0','0','0','0','45','10','20','0','0','0','0','0','0','0','0','0','Warlord Tartek - Send AI Event Custom E on Death'), -- Primordial Drake Egg 28408 ('2840801','28408','11','0','100','0','0','0','0','0','0','0','50','0','0','0','21','0','0','0','0','0','0','0','Primordial Drake Egg - Passive State and Disable Movement on Spawn'), ('2840802','28408','8','0','100','0','52793','-1','0','0','0','0','11','52792','0','0','0','0','0','0','0','0','0','0','Primordial Drake Egg - Cast Birthing Flame on Spell Hit'), @@ -29037,13 +29080,40 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('2864606','28646','30','0','100','0','8','28710','0','0','0','0','1','28666','0','0','0','0','0','0','0','0','0','0','Pilot Vic - Say on Receive AI Event Custom C'), ('2864607','28646','30','0','100','0','9','28710','0','0','0','0','53','20788','0','0','0','0','0','0','0','0','0','0','Pilot Vic - START_RELAY_SCRIPT on Receive AI Event Custom D'), ('2864608','28646','30','0','100','0','10','28710','0','0','0','0','1','28756','0','0','0','0','0','0','0','0','0','0','Pilot Vic - Say on Receive AI Event Custom E'), --- Artruis the Heartless 28659 (REMOVED IMMUNITY SPELL UNTIL OTHER ASPECTS OF QUEST ARE IMPLIMENTED - SO IT IS AT LEAST COMPLETEABLE CURRENTLY) -('2865901','28659','6','0','100','0','0','0','0','0','0','0','11','52518','0','7','0','0','0','0','0','0','0','0','Artruis the Heartless - Cast Summon Artruis Quest Complete on Death'), -('2865902','28659','4','0','100','0','0','0','0','0','0','0','57','2','35','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Enable Range Mode on Aggro'), +-- Artruis the Heartless 28659 +('2865901','28659','11','0','100','0','0','0','0','0','0','0','53','20794','0','0','42','0','0','0','0','0','0','0','Artruis the Heartless - START_RELAY_SCRIPT on Spawn'), +('2865902','28659','4','0','100','0','0','0','0','0','0','0','57','2','35','0','1','28646','0','0','42','1','0','0','Artruis the Heartless - Enable Range Mode and Say on Aggro'), ('2865903','28659','0','0','100','1025','2000','3000','25000','35000','0','0','11','54792','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Cast Icy Veins'), ('2865904','28659','9','0','100','1025','0','10','14000','18000','0','0','11','11831','0','1024','0','0','0','0','0','0','0','0','Artruis the Heartless - Cast Frost Nova'), ('2865905','28659','9','0','100','1025','0','35','7000','9000','0','0','11','54261','4','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Cast Ice Lance'), ('2865906','28659','9','0','100','1025','0','40','3400','4800','0','0','11','15530','1','256','0','0','0','0','0','0','0','0','Artruis the Heartless - Cast Frostbolt'), +('2865907','28659','2','0','100','1024','80','0','0','0','0','0','1','28647','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Say at 80% HP'), +('2865908','28659','2','0','100','1024','50','0','0','0','0','0','1','28648','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Say at 50% HP'), +('2865909','28659','2','0','100','1024','30','0','0','0','0','0','11','52185','0','1','53','20797','0','0','42','0','0','0','Artruis the Heartless - Cast Bindings of Submission and START_RELAY_SCRIPT at 30% HP'), +('2865910','28659','30','0','100','1','5','28667','0','0','0','0','52','3','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Interrupt Channelling on Receive AI Event Custom A'), +('2865911','28659','30','0','100','1','6','28668','0','0','0','0','52','3','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Interrupt Channelling on Receive AI Event Custom B'), +('2865912','28659','30','0','100','1','10','28667','0','0','0','0','52','3','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Interrupt Channelling on Receive AI Event Custom E'), +('2865913','28659','30','0','100','1','11','28668','0','0','0','0','52','3','0','0','0','0','0','0','0','0','0','0','Artruis the Heartless - Interrupt Channelling on Receive AI Event Custom F'), +('2865914','28659','7','0','100','0','0','0','0','0','0','0','52','3','0','0','45','8','100','0','42','0','0','0','Artruis the Heartless - Interrupt Channelling and Send AI Event Custom C on Evade'), +('2865915','28659','6','0','100','0','0','0','0','0','0','0','11','52518','0','7','1','28650','0','0','45','9','100','0','Artruis the Heartless - Cast Summon Artruis Quest Complete and Send AI Event Custom D on Death'), +-- Jaloot 28667 +('2866701','28667','11','0','100','0','0','0','0','0','0','0','11','52182','0','0','58','0','0','0','22','0','0','0','Jaloot - Cast Tomb of the Heartless, RuN and Set Phase 0 on Spawn'), +('2866702','28667','8','0','100','1','52185','-1','0','0','0','0','28','0','52182','0','2','21','3','0','0','0','0','0','Jaloot - Remove Aura and set Faction on Spell Hit'), +('2866703','28667','30','0','100','1','6','28668','0','0','0','0','53','20791','0','0','14','-101','0','0','1','28936','0','0','Jaloot - START_RELAY_SCRIPT on Receive AI Event Custom B'), +('2866704','28667','30','0','100','1','8','28659','0','0','0','0','14','-101','0','0','53','20792','0','0','0','0','0','0','Jaloot - Drop Aggro and START_RELAY_SCRIPT on Receive AI Event Custom C'), +('2866705','28667','30','0','100','1','9','28659','0','0','0','0','2','35','1','0','0','0','0','0','0','0','0','0','Jaloot - Set Faction on Receive AI Event Custom D'), +('2866706','28667','30','0','100','1','10','28659','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Jaloot - Despawn Self on Receive AI Event Custom E'), +('2866707','28667','7','0','100','0','0','0','0','0','0','0','53','20795','0','0','0','0','0','0','0','0','0','0','Jaloot - START_RELAY_SCRIPT on Evade'), +('2866708','28667','6','0','100','0','0','0','0','0','0','0','45','5','100','0','41','100','0','0','0','0','0','0','Jaloot - Send AI Event Custom A and Despawn on Death'), +-- Zepik the Gorloc Hunter 28668 +('2866801','28668','11','0','100','0','0','0','0','0','0','0','11','52182','0','0','58','0','0','0','22','0','0','0','Zepik the Gorloc Hunter - Cast Tomb of the Heartless, RuN and Set Phase 0 on Spawn'), +('2866802','28668','8','0','100','1','52185','-1','0','0','0','0','28','0','52182','0','2','21','3','0','0','0','0','0','Zepik the Gorloc Hunter - Remove Aura and set Faction on Spell Hit'), +('2866803','28668','30','0','100','1','5','28667','0','0','0','0','53','20791','0','0','14','-101','0','0','1','28937','0','0','Zepik the Gorloc Hunter - START_RELAY_SCRIPT on Receive AI Event Custom A'), +('2866804','28668','30','0','100','1','8','28659','0','0','0','0','14','-101','0','0','53','20793','0','0','0','0','0','0','Zepik the Gorloc Hunter - Drop Aggro and START_RELAY_SCRIPT on Receive AI Event Custom C'), +('2866805','28668','30','0','100','1','9','28659','0','0','0','0','2','35','1','0','0','0','0','0','0','0','0','0','Zepik the Gorloc Hunter - Set Faction on Receive AI Event Custom D'), +('2866806','28668','30','0','100','1','10','28659','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Zepik the Gorloc Hunter - Despawn Self on Receive AI Event Custom E'), +('2866807','28668','7','0','100','0','0','0','0','0','0','0','53','20796','0','0','0','0','0','0','0','0','0','0','Zepik the Gorloc Hunter - START_RELAY_SCRIPT on Evade'), +('2866808','28668','6','0','100','0','0','0','0','0','0','0','45','6','100','0','41','100','0','0','0','0','0','0','Zepik the Gorloc Hunter - Send AI Event Custom B and Despawn on Death'), -- Vic's Flying Machine 28710 ('2871001','28710','11','0','100','0','0','0','0','0','0','0','58','0','0','0','50','0','0','0','0','0','0','0','Vic\'s Flying Machine - RuN and Set Passive on Spawn'), ('2871002','28710','1','0','100','0','100','100','0','0','0','0','11','52211','0','0','0','0','0','0','0','0','0','0','Vic\'s Flying Machine - Cast Flight on Timer'), diff --git a/Updates/4923_OracleTribe_Quests.sql b/Updates/4923_OracleTribe_Quests.sql new file mode 100644 index 0000000000..5075eee5f1 --- /dev/null +++ b/Updates/4923_OracleTribe_Quests.sql @@ -0,0 +1,270 @@ +-- Oracle Tribe - Quest Chain + +-- High-Oracle Soo-say 28027 +-- REDO HIS options ..use wotlk range for conditions +DELETE FROM gossip_menu_option WHERE menu_id = 9742 AND id = 2; -- duplicate +-- Player can use 3 companions there (items for summons from c.28138) +-- they reQ conditions: +UPDATE gossip_menu_option SET condition_id = 20610 WHERE menu_id = 9742 AND id = 1; -- Lafoo 28120 +UPDATE gossip_menu_option SET condition_id = 20618 WHERE menu_id = 9742 AND id = 3; -- Jaloot 28121 +UPDATE gossip_menu_option SET condition_id = 20624 WHERE menu_id = 9742 AND id = 5; -- Moodle 28122 +DELETE FROM dbscripts_on_gossip WHERE id IN (974201,974203,974205); +INSERT INTO dbscripts_on_gossip (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(974201,0,15,52547,0,0,0,0,0,0,0,0,0,0,0,0,0,'cast Forceitem Lafoo'), +(974201,1,17,38623,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'), +(974201,2,17,38624,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'), +(974203,0,15,52548,0,0,0,0,0,0,0,0,0,0,0,0,0,'cast Forceitem Jaloot'), +(974203,1,17,38624,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'), +(974203,2,17,38622,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'), +(974205,0,15,52549,0,0,0,0,0,0,0,0,0,0,0,0,0,'cast Forceitem Moodle'), +(974205,1,17,38622,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'), +(974205,2,17,38623,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'); +-- old conditions - removed +DELETE FROM `conditions` WHERE `condition_entry` IN (556,557,558,297,298,299,300,301,302); +DELETE FROM `conditions` WHERE `condition_entry` BETWEEN 20603 AND 20624; +INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES +-- Lafoo 28120 +(20603,9,12571,0,0,0,0,''), +(20604,9,12572,0,0,0,0,''), +(20605,19,12571,0,0,0,0,''), +(20606,-2,20605,20604,20603,0,0,''), +(20607,5,1105,5,0,0,0,''), +(20608,-2,20607,20606,0,0,0,''), +(20609,23,38622,1,0,0,1,''), -- Lafoo's Bug Bag 38622 +(20610,-1,20609,20608,0,0,0,''), +-- Jaloot 28121 +(20611,8,12572,0,0,0,0,''), +(20612,8,12573,0,0,0,0,''), +(20613,8,12578,0,0,0,1,''), +(20614,9,12578,0,0,0,1,''), +(20615,-1,20614,20613,20612,20611,0,''), +(20616,-2,20615,20607,0,0,0,''), +(20617,23,38623,1,0,0,1,''), -- Jaloot's Favorite Crystal 38623 +(20618,-1,20617,20616,0,0,0,''), +-- Moodle 28122 +(20619,8,12577,0,0,0,0,''), +(20620,9,12580,0,0,0,1,''), +(20621,-1,20620,20619,0,0,0,''), +(20622,-2,20621,20607,0,0,0,''), +(20623,23,38624,1,0,0,1,''), -- Moodle's Stress Ball 38624 +(20624,-1,20623,20622,0,0,0,''); + +-- QUESTS +-- q.12571 'Make the Bad Snake Go Away' +-- q.12572 'Gods like Shiny Things' +-- spell script +DELETE FROM dbscripts_on_spell WHERE id IN (52547); +INSERT INTO dbscripts_on_spell (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(52547,0,15,53163,0,0,0,0,0,0,0,0,0,0,0,0,0,''), +(52547,100,15,51190,0,0,0,0,6,0,0,0,0,0,0,0,0,''); +DELETE FROM spell_script_target WHERE entry IN (53163); +INSERT INTO spell_script_target (`entry`, `type`, `targetEntry`, `inverseEffectMask`) VALUES +(53163, 1, 28214, 0), +(53163, 1, 28215, 0), +(53163, 1, 28216, 0), +(53163, 1, 28120, 0), +(53163, 1, 28121, 0), +(53163, 1, 28122, 0); +-- Lafoo 28120 +DELETE FROM dbscript_random_templates WHERE `id` BETWEEN 20325 AND 20327; +INSERT INTO dbscript_random_templates (id, `type`, target_id, chance, comments) VALUES +(20325,0,28291,0,'Lafoo 28120 - Random OOC Say 1'), +(20325,0,28292,0,'Lafoo 28120 - Random OOC Say 2'), +(20325,0,28293,0,'Lafoo 28120 - Random OOC Say 3'), +(20325,0,28294,0,'Lafoo 28120 - Random OOC Say 4'), +(20325,0,28306,0,'Lafoo 28120 - Random OOC Say 5'), +(20326,0,28276,0,'Lafoo 28120 - Random Say 1 (kill Venomtip 28358)'), +(20326,0,28277,0,'Lafoo 28120 - Random Say 2 (kill Venomtip 28358)'), +(20326,0,28278,0,'Lafoo 28120 - Random Say 3 (kill Venomtip 28358)'), +(20326,0,28279,0,'Lafoo 28120 - Random Say 4 (kill Venomtip 28358)'), +(20327,0,28265,0,'Lafoo 28120 - Random Say 1 (q.12572)'), +(20327,0,28261,0,'Lafoo 28120 - Random Say 2 (q.12572)'), +(20327,0,28266,0,'Lafoo 28120 - Random Say 3 (q.12572)'), +(20327,0,28267,0,'Lafoo 28120 - Random Say 4 (q.12572)'); +DELETE FROM conditions WHERE condition_entry BETWEEN 20625 AND 20627; +INSERT INTO conditions (condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES +(20625,37,28362,7,0,0,0,''), +(20626,9,12572,1,0,0,0,''), +(20627,-1,20626,20625,0,0,0,''); + +-- q.12574 'Back So Soon?' +-- req. q.12573 & q.12572 finished first. +UPDATE quest_template SET RequiredCondition = 20628 WHERE entry IN (12574); +DELETE FROM conditions WHERE condition_entry = 20628; +INSERT INTO conditions (condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES +(20628,-1,20612,20611,0,0,0,''); +DELETE FROM dbscripts_on_quest_start WHERE id IN (12574); +INSERT INTO dbscripts_on_quest_start (id, delay, priority, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(12574,1,0,17,38622,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'); +UPDATE quest_template SET StartScript = 12574 WHERE entry = 12574; +-- spell script +DELETE FROM dbscripts_on_spell WHERE id IN (52548); +INSERT INTO dbscripts_on_spell (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(52548,0,15,53163,0,0,0,0,0,0,0,0,0,0,0,0,0,''), +(52548,100,15,51191,0,0,0,0,6,0,0,0,0,0,0,0,0,''); +-- Jaloot 28121 +DELETE FROM dbscript_random_templates WHERE `id` BETWEEN 20328 AND 20330; +INSERT INTO dbscript_random_templates (id, `type`, target_id, chance, comments) VALUES +(20328,0,28339,0,'Jaloot 28121 - Random OOC Say 1 (Rainspeaker)'), +(20328,0,28340,0,'Jaloot 28121 - Random OOC Say 2 (Rainspeaker)'), +(20328,0,28341,0,'Jaloot 28121 - Random OOC Say 3 (Rainspeaker)'), +(20328,0,28342,0,'Jaloot 28121 - Random OOC Say 4 (Rainspeaker)'), +(20328,0,28343,0,'Jaloot 28121 - Random OOC Say 5 (Rainspeaker)'), +(20328,0,28344,0,'Jaloot 28121 - Random OOC Say 6 (Rainspeaker)'), +(20328,0,28345,0,'Jaloot 28121 - Random OOC Say 7 (Rainspeaker)'), +(20329,0,28346,0,'Jaloot 28121 - Random Respond Say 1 (kill Frenzyheart Spearbearer\Scavenger)'), +(20329,0,28347,0,'Jaloot 28121 - Random Respond Say 2 (kill Frenzyheart Spearbearer\Scavenger)'), +(20329,0,28348,0,'Jaloot 28121 - Random Respond Say 3 (kill Frenzyheart Spearbearer\Scavenger)'), +(20329,0,28349,0,'Jaloot 28121 - Random Respond Say 4 (kill Frenzyheart Spearbearer\Scavenger)'), +(20329,0,28350,0,'Jaloot 28121 - Random Respond Say 5 (kill Frenzyheart Spearbearer\Scavenger)'), +(20329,0,28351,0,'Jaloot 28121 - Random Respond Say 6 (kill Frenzyheart Spearbearer\Scavenger)'), +(20330,0,28315,0,'Jaloot 28121 - Random Respond Say 1 (Kill Tartek)'), +(20330,0,28316,0,'Jaloot 28121 - Random Respond Say 2 (Kill Tartek)'), +(20330,0,28317,0,'Jaloot 28121 - Random Respond Say 3 (Kill Tartek)'), +(20330,0,28318,0,'Jaloot 28121 - Random Respond Say 4 (Kill Tartek)'); +DELETE FROM spell_area WHERE spell = 52217; +INSERT INTO spell_area (spell, area, quest_start, quest_start_active, quest_end, condition_id, aura_spell, racemask, gender, autocast) VALUES +(52217,4287,0,0,0,20629,0,0,2,1), +(52217,4306,0,0,0,20629,0,0,2,1); +DELETE FROM conditions WHERE condition_entry = 20629; +INSERT INTO conditions (condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES +(20629,5,1105,4,0,0,0,''); +DELETE FROM dbscripts_on_relay WHERE id IN (20790); +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(20790,1,31,28399,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'Part of Jaloot 28121 EAI: npc check'), +(20790,10,31,28105,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'Part of Jaloot 28121 EAI: npc check'), +(20790,10,0,20330,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28121 EAI: Say'); + +-- q.12575 'The Lost Mistwhisper Treasure' +-- Zeptek the Destroyer 28399 +UPDATE creature_template SET UnitFlags = 33536, MovementType = 2 WHERE entry = 28399; +DELETE FROM creature_movement_template WHERE entry = 28399; +INSERT INTO creature_movement_template (Entry, PathId, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES +(28399,0,1,6710.399,5162.64,-20.66248,100,0,0), +(28399,0,2,6710.989,5148.311,-19.3981,100,0,0), +(28399,0,3,6712.461,5136.462,-19.3981,100,100,3); +DELETE FROM vehicle_accessory WHERE vehicle_entry = 28399; +INSERT INTO vehicle_accessory (vehicle_entry, seat, accessory_entry, comment) VALUES +(28399,0,28105,'Warlord Tartek on Zeptek the Destroyer'); +DELETE FROM dbscripts_on_creature_death WHERE id IN (28399); +INSERT INTO dbscripts_on_creature_death (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(28399,1,31,28399,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'npc check'), +(28399,10,31,28105,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'npc check'), +(28399,100,27,8,0,0,190578,100,7|0x400,0,0,0,0,0,0,0,0,'unlock Go'); +-- Warlord Tartek 28105 +UPDATE creature_template SET UnitFlags = 33536 WHERE entry = 28105; +DELETE FROM dbscripts_on_relay WHERE id IN (20789); +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(20789,1,27,4,0,0,190578,100,7|0x400,0,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: lock Go'), +(20789,2,0,0,0,0,0,0,0x04,27893,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: Say'), +(20789,9000,14,46598,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: Remove aura'), +(20789,12000,0,0,0,0,0,0,0x04,27895,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: Say'), +(20789,17000,48,768,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: Remove UnitFlags'), +(20789,17001,48,768,0,0,28399,30,7,0,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: buddy: Remove UnitFlags'), +(20789,17002,35,5,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Warlord Tartek 28105 EAI: Send Event 5'); +DELETE FROM dbscripts_on_creature_death WHERE id IN (28105); +INSERT INTO dbscripts_on_creature_death (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(28105,1,31,28399,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'npc check'), +(28105,10,31,28105,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'npc check'), +(28105,100,27,8,0,0,190578,100,7|0x400,0,0,0,0,0,0,0,0,'unlock Go'); +UPDATE broadcast_text SET ChatTypeID = 1 WHERE `Id` IN (27893,27895); +DELETE FROM vehicle_seat_addon WHERE SeatEntry=1682; +INSERT INTO vehicle_seat_addon(SeatEntry, SeatOrientation, ExitParamX, ExitParamY, ExitParamZ, ExitParamO, ExitParamValue) VALUES +(1682,0,6708.172,5130.744,-19.38803,4.836085,2); +-- object update +UPDATE gameobject SET spawntimesecsmin = 45, spawntimesecsmax = 45 WHERE id IN (190578); + +-- q.12577 'Home Time!' +-- req. q.12575 & q.12576 finished first. +UPDATE quest_template SET RequiredCondition = 20632 WHERE entry IN (12577); +DELETE FROM conditions WHERE condition_entry BETWEEN 20630 AND 20632; +INSERT INTO conditions (condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES +(20630,8,12575,0,0,0,0,''), +(20631,8,12576,0,0,0,0,''), +(20632,-1,20631,20630,0,0,0,''); + +-- q.12578 'The Angry Gorloc' +DELETE FROM dbscripts_on_quest_start WHERE id IN (12578); +INSERT INTO dbscripts_on_quest_start (id, delay, priority, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(12578,1,0,17,38623,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'); +UPDATE quest_template SET StartScript = 12578 WHERE entry = 12578; +-- spell script +DELETE FROM dbscripts_on_spell WHERE id IN (52549); +INSERT INTO dbscripts_on_spell (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(52549,0,15,53163,0,0,0,0,0,0,0,0,0,0,0,0,0,''), +(52549,100,15,51192,0,0,0,0,6,0,0,0,0,0,0,0,0,''); +-- Moodle 28122 +UPDATE creature_template SET NpcFlags = 3, GossipMenuId=9746 WHERE entry IN (28122); +DELETE FROM gossip_menu WHERE entry IN (9746); +INSERT INTO gossip_menu (entry, text_id, script_id, condition_id) VALUES +(9746, 13365, 0, 0); +DELETE FROM npc_text_broadcast_text WHERE Id IN(13365); +INSERT INTO npc_text_broadcast_text(Id,Prob0,Prob1,Prob2,Prob3,BroadcastTextId0,BroadcastTextId1,BroadcastTextId2,BroadcastTextId3) VALUES +(13365,1,1,1,1,28910,28923,28924,28925); +DELETE FROM npc_text WHERE id=13365; +DELETE FROM dbscript_random_templates WHERE `id` BETWEEN 20331 AND 20333; +INSERT INTO dbscript_random_templates (id, `type`, target_id, chance, comments) VALUES +(20331,0,28393,0,'Moodle 28122 - Random OOC Say 1 (Rainspeaker)'), +(20331,0,28394,0,'Moodle 28122 - Random OOC Say 2 (Rainspeaker)'), +(20331,0,28395,0,'Moodle 28122 - Random OOC Say 3 (Rainspeaker)'), +(20331,0,28396,0,'Moodle 28122 - Random OOC Say 4 (Rainspeaker)'), +(20332,0,28397,0,'Moodle 28122 - Random OOC Say 1 (Mosswalker Village)'), +(20332,0,28398,0,'Moodle 28122 - Random OOC Say 2 (Mosswalker Village)'), +(20332,0,28399,0,'Moodle 28122 - Random OOC Say 3 (Mosswalker Village)'), +(20332,0,28400,0,'Moodle 28122 - Random OOC Say 4 (Mosswalker Village)'), +(20332,0,28401,0,'Moodle 28122 - Random OOC Say 5 (Mosswalker Village)'), +(20332,0,28402,0,'Moodle 28122 - Random OOC Say 6 (Mosswalker Village)'); + +-- q.12581 'A Hero's Burden' +-- req. q.12579 & q.12580 finished first. +UPDATE quest_template SET RequiredCondition = 20635 WHERE entry IN (12581); +DELETE FROM conditions WHERE condition_entry BETWEEN 20633 AND 20635; +INSERT INTO conditions (condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES +(20633,8,12579,0,0,0,0,''), +(20634,8,12580,0,0,0,0,''), +(20635,-1,20634,20633,0,0,0,''); +DELETE FROM dbscripts_on_quest_start WHERE id IN (12581); +INSERT INTO dbscripts_on_quest_start (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(12581,1,17,38624,1,0,0,0,0x08,0,0,0,0,0,0,0,0,'Remove item from Player'), +(12581,2,15,53163,0,0,0,0,0,0,0,0,0,0,0,0,0,''); +UPDATE quest_template SET StartScript = 12581 WHERE entry = 12581; +UPDATE broadcast_text SET ChatTypeID = 1 WHERE `Id` IN (28646,28647,28648,28649,28650); +UPDATE broadcast_text SET ChatTypeID = 3 WHERE `Id` IN (33188); -- Artruis is shielded. You mus +DELETE FROM spell_script_target WHERE entry IN (52185); +INSERT INTO spell_script_target (`entry`, `type`, `targetEntry`, `inverseEffectMask`) VALUES +(52185, 1, 28667, 0), +(52185, 1, 28668, 0), +(52185, 1, 28659, 0); +-- Jaloot 28667 +-- Zepik the Gorloc Hunter 28668 +-- Artruis the Heartless 28659 +UPDATE creature_template SET Detection = 40 WHERE entry IN (28667,28668); +UPDATE creature_template_addon SET auras = '50726 52119' WHERE entry = 28667; +UPDATE creature_template_addon SET auras = 54176 WHERE entry = 28668; +DELETE FROM dbscripts_on_relay WHERE id BETWEEN 20791 AND 20797; +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(20791,1,22,2036,1,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: temp faction'), +(20791,2,48,512,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Remove UnitFlag'), +(20792,1,21,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: active'), +(20792,2,22,250,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Set default faction'), +(20792,3,48,512,1,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Add UnitFlag'), +(20792,10,3,0,0,0,0,0,0x04,0,0,0,0,5616.917,3772.682,-94.25798,1.780236,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Move'), +(20792,10000,15,52182,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Cast 52182'), +(20792,10001,21,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: unactive'), +(20793,1,21,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: active'), +(20793,2,22,250,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Set default faction'), +(20793,3,48,512,1,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Add UnitFlag'), +(20793,10,3,0,0,0,0,0,0x04,0,0,0,0,5631.632,3794.364,-92.23675,3.455752,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Move'), +(20793,10000,15,52182,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: Cast 52182'), +(20793,10001,21,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: unactive'), +(20794,1,35,10,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Artruis the Heartless 28659 EAI: Send Event E'), +(20794,10,41,0,0,0,28667,523151,7|0x10|0x40,0,0,0,0,0,0,0,0,'Part of Artruis the Heartless 28659 EAI: respawn buddy - event reset'), +(20794,10,41,0,0,0,28668,523152,7|0x10|0x40,0,0,0,0,0,0,0,0,'Part of Artruis the Heartless 28659 EAI: respawn buddy - event reset'), +(20795,1,31,28668,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: npc check'), +(20795,10,35,10,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: send Event AI E'), +(20796,1,31,28667,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: npc check'), +(20796,10,35,11,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jaloot 28667/Zepik the Gorloc Hunter 28668 EAI: send Event AI F'), +(20797,1,0,0,0,0,0,0,0x04,28649,0,0,0,0,0,0,0,'Part of Artruis the Heartless 28659 EAI: Say'), +(20797,2,0,0,0,0,0,0,0x04,33188,0,0,0,0,0,0,0,'Part of Artruis the Heartless 28659 EAI: Say'); +-- Spike Trap 191086 - summoned from spell +DELETE FROM gameobject WHERE id = 191086;