mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
Scripts/ZA: implement Jan'alai encounter
This commit is contained in:
79
sql/updates/world/4.3.4/2020_09_13_00_world.sql
Normal file
79
sql/updates/world/4.3.4/2020_09_13_00_world.sql
Normal file
@@ -0,0 +1,79 @@
|
||||
UPDATE `creature_template` SET `DamageModifier`= 100, `BaseVariance`= 0.5, `flags_extra`= `flags_extra` | 0x800, `mechanic_immune_mask`= 667893631, `ScriptName`= 'boss_janalai' WHERE `entry`= 23578;
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_janalai_amanishi_hatcher', `RegenHealth`= 0, `flags_extra`= 0x100 | 0x40000000, `mechanic_immune_mask`= 42679163 WHERE `entry` IN (23818, 24504);
|
||||
UPDATE `creature_template` SET `DamageModifier`= 8, `BaseVariance`= 0.5, `ScriptName`= 'npc_janalai_amani_dragonhawk_hatchling' WHERE `entry`= 23598;
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`= 23578;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(23578, 0, 0, 'Come, friends. Your bodies gonna feed ma hatchlings, and your souls gonna fill me with power!', 14, 0, 100, 0, 0, 12040, 23313, 'Jan\'alai'),
|
||||
(23578, 1, 0, 'Spirits of da wind be your doom!', 14, 0, 100, 0, 0, 12031, 23590, 'Jan\'alai'),
|
||||
(23578, 2, 0, '%s goes into a frenzy!', 41, 0, 100, 0, 0, 0, 36719, 'Jan\'alai'),
|
||||
(23578, 3, 0, 'I burn ya now!', 14, 0, 100, 0, 0, 12032, 23589, 'Jan\'alai'),
|
||||
(23578, 4, 0, 'I show you strength... in numbers.', 14, 0, 100, 0, 0, 12034, 22838, 'Jan\'alai'),
|
||||
(23578, 5, 0, 'Where ma hatcha? Get to work on dem eggs!', 14, 0, 100, 0, 0, 12033, 23528, 'Jan\'alai'),
|
||||
(23578, 6, 0, 'It all be over now, mon!', 14, 0, 100, 0, 0, 12036, 23585, 'Jan\'alai'),
|
||||
(23578, 7, 0, 'Tazaga-choo!', 14, 0, 100, 0, 0, 12037, 23586, 'Jan\'alai to Player');
|
||||
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` IN
|
||||
('spell_janalai_flame_breath',
|
||||
'spell_janalai_fire_bomb',
|
||||
'spell_janalai_firebomb_dummy',
|
||||
'spell_janalai_hatch_all_eggs',
|
||||
'spell_janalai_hatch_eggs');
|
||||
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(43140, 'spell_janalai_flame_breath'),
|
||||
(97855, 'spell_janalai_flame_breath'),
|
||||
(42621, 'spell_janalai_fire_bomb'),
|
||||
(42628, 'spell_janalai_firebomb_dummy'),
|
||||
(43144, 'spell_janalai_hatch_all_eggs'),
|
||||
(42471, 'spell_janalai_hatch_eggs');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceEntry` IN (42631, 43144, 42471, 43962, 45340) AND `SourceTypeOrReferenceId`= 13;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES
|
||||
(13, 1, 42631, 0, 0, 31, 0, 3, 23920, 0, 0, 0, '', 'Fire Bomb - Target Fire Bomb (Zul''Aman)'),
|
||||
(13, 1, 43144, 0, 0, 31, 0, 3, 23817, 0, 0, 0, '', 'Hatch All Eggs - Target Dragonhawk Egg'),
|
||||
(13, 1, 42471, 0, 0, 31, 0, 3, 23817, 0, 0, 0, '', 'Hatch Eggs - Target Dragonhawk Egg'),
|
||||
(13, 1, 43962, 0, 0, 31, 0, 3, 22515, 0, 0, 0, '', 'Summon Aamani''shi Hatcher - Target World Trigger'),
|
||||
(13, 1, 45340, 0, 0, 31, 0, 3, 22515, 0, 0, 0, '', 'Summon Aamani''shi Hatcher - Target World Trigger');
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` IN (291804, 291805, 291806, 291807, 291808, 291809, 291810, 291811, 291812, 291813, 291814, 291815, 291816, 291817, 291818, 291819, 291820, 291821, 339092, 339093, 339094, 339095, 339096, 339097, 339098, 339099, 339100, 339101, 339102, 339103, 339104, 339105, 339106, 339107, 339108, 339109);
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (291804, 291805, 291806, 291807, 291808, 291809, 291810, 291811, 291812, 291813, 291814, 291815, 291816, 291817, 291818, 291819, 291820, 291821, 339092, 339093, 339094, 339095, 339096, 339097, 339098, 339099, 339100, 339101, 339102, 339103, 339104, 339105, 339106, 339107, 339108, 339109);
|
||||
|
||||
DELETE FROM `creature_summon_groups` WHERE `summonerId`= 23578 AND `summonerType`= 0;
|
||||
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES
|
||||
(23578, 0, 0, 23817, -28.0850696563720703, 1214.2236328125, 18.7946624755859375, 3.385938644409179687, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -34.4182929992675781, 1213.354736328125, 18.79468917846679687, 2.268928050994873046, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -39.7272148132324218, 1216.0911865234375, 18.79474067687988281, 5.585053443908691406, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -30.4304466247558593, 1216.3941650390625, 18.79466056823730468, 4.904375076293945312, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -32.0784492492675781, 1218.5543212890625, 18.79465866088867187, 5.654866695404052734, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -38.5763893127441406, 1218.6827392578125, 18.7947235107421875, 4.97418832778930664, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -28.0705299377441406, 1216.809814453125, 18.7946624755859375, 1.396263360977172851, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -29.8651256561279296, 1211.3843994140625, 18.79466438293457031, 2.94960641860961914, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -36.2872200012207031, 1218.10546875, 18.79469871520996093, 0.03490658476948738, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -27.0043411254882812, 1211.986083984375, 18.79466629028320312, 3.944444179534912109, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -32.7619361877441406, 1215.3272705078125, 18.79466438293457031, 2.809980154037475585, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -29.7243919372558593, 1208.43212890625, 18.79466819763183593, 4.939281940460205078, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -33.1212043762207031, 1209.771240234375, 18.79468345642089843, 2.775073528289794921, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -37.3368072509765625, 1212.525634765625, 18.79472160339355468, 0.314159274101257324, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -36.4397773742675781, 1209.9254150390625, 18.79470634460449218, 0.331612557172775268, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -39.3636054992675781, 1209.7332763671875, 18.79471206665039062, 0.593411922454833984, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -34.05859375, 1207.23291015625, 18.7946929931640625, 4.607669353485107421, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -38.9576835632324218, 1207.24609375, 18.79470634460449218, 4.066617012023925781, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -29.1756725311279296, 1090.2691650390625, 18.79482650756835937, 0.680678427219390869, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -33.5925559997558593, 1090.1617431640625, 18.79481697082519531, 5.131268024444580078, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -35.0347213745117187, 1084.9237060546875, 18.79476165771484375, 5.218534469604492187, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -38.2801666259765625, 1088.1441650390625, 18.79479789733886718, 1.274090290069580078, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -31.0390625, 1088.3272705078125, 18.7947998046875, 2.705260276794433593, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -40.0005416870117187, 1090.55224609375, 18.794830322265625, 1.117010712623596191, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -31.664712905883789, 1081.8824462890625, 18.7947845458984375, 6.17846536636352539, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -36.2433815002441406, 1088.146728515625, 18.79479598999023437, 1.727875947952270507, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -26.5745449066162109, 1084.4417724609375, 18.7948455810546875, 2.792526721954345703, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -33.6638450622558593, 1087.0233154296875, 18.7947845458984375, 0.959931075572967529, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -28.4201393127441406, 1082.093994140625, 18.7948455810546875, 4.014257431030273437, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -30.5146484375, 1084.7174072265625, 18.79480552673339843, 1.797689080238342285, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -40.7069244384765625, 1088.505126953125, 18.79483604431152343, 0.01745329238474369, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -38.8812942504882812, 1084.2034912109375, 18.79480934143066406, 0.575958669185638427, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -34.0567512512207031, 1082.0223388671875, 18.79473495483398437, 2.670353651046752929, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -41.1769752502441406, 1084.592529296875, 18.79484176635742187, 1.064650893211364746, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -39.7955741882324218, 1081.4669189453125, 18.79482841491699218, 2.740166902542114257, 6, 4000), -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
(23578, 0, 0, 23817, -42.8134765625, 1085.9434814453125, 18.79483985900878906, 2.042035102844238281, 6, 4000); -- 23817 (Area: 3805 - Difficulty: 2)
|
||||
Reference in New Issue
Block a user