|
| 1 | +-- |
| 2 | +SET @SPAWN_GROUP_ID := 402; -- 4 |
| 3 | + |
| 4 | +-- Prisoners |
| 5 | +UPDATE `creature` SET `StringId` = 'BroggokPrisonerCell1' WHERE `guid` IN (100219,100236,100237); |
| 6 | +UPDATE `creature` SET `StringId` = 'BroggokPrisonerCell2' WHERE `guid` IN (99293,100063,100064); |
| 7 | +UPDATE `creature` SET `StringId` = 'BroggokPrisonerCell3' WHERE `guid` IN (99859,99908,100217,100218); |
| 8 | +UPDATE `creature` SET `StringId` = 'BroggokPrisonerCell4' WHERE `guid` IN (99299,99300,99347,100182); |
| 9 | + |
| 10 | +UPDATE `creature_template` SET `unit_flags` = 32832 WHERE `entry` IN (17398,17429,18612,18603); |
| 11 | + |
| 12 | +UPDATE `creature` SET `unit_flags` = 0, `StringId` = 'BroggokPrisonerHighCell' WHERE `id` IN (17398,17429) AND `unit_flags` = 768; |
| 13 | + |
| 14 | +UPDATE `creature` SET `spawntimesecs` = 86400 WHERE `id` IN (17398,17429); |
| 15 | +UPDATE `creature` SET `spawntimesecs` = 7200 WHERE `id` IN (17398,17429) AND `StringId` IS NULL; |
| 16 | + |
| 17 | +DELETE FROM `creature_text` WHERE `CreatureID` IN (17398,17429); |
| 18 | +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES |
| 19 | +(17398,0,0,"We are the true Horde!",12,0,100,0,0,0,16697,0,"Nascent Fel Orc"), |
| 20 | +(17398,0,1,"For Kargath! For Victory!",12,0,100,0,0,0,16698,0,"Nascent Fel Orc"), |
| 21 | +(17398,0,2,"Gakarah ma!",12,0,100,0,0,0,16699,0,"Nascent Fel Orc"), |
| 22 | +(17398,0,3,"The blood is our power! ",12,0,100,0,0,0,16700,0,"Nascent Fel Orc"), |
| 23 | +(17398,0,4,"Lok'tar Illadari!\n",12,0,100,0,0,0,16701,0,"Nascent Fel Orc"), |
| 24 | +(17398,0,5,"This world is OURS!",12,0,100,0,0,0,16702,0,"Nascent Fel Orc"), |
| 25 | +(17398,0,6,"Lok narash!",12,0,100,0,0,0,16703,0,"Nascent Fel Orc"), |
| 26 | + |
| 27 | +(17429,0,0,"We are the true Horde!",12,0,100,0,0,0,16697,0,"Fel Orc Neophyte"), |
| 28 | +(17429,0,1,"For Kargath! For Victory!",12,0,100,0,0,0,16698,0,"Fel Orc Neophyte"), |
| 29 | +(17429,0,2,"Gakarah ma!",12,0,100,0,0,0,16699,0,"Fel Orc Neophyte"), |
| 30 | +(17429,0,3,"The blood is our power! ",12,0,100,0,0,0,16700,0,"Fel Orc Neophyte"), |
| 31 | +(17429,0,4,"Lok'tar Illadari!\n",12,0,100,0,0,0,16701,0,"Fel Orc Neophyte"), |
| 32 | +(17429,0,5,"This world is OURS!",12,0,100,0,0,0,16702,0,"Fel Orc Neophyte"), |
| 33 | +(17429,0,6,"Lok narash!",12,0,100,0,0,0,16703,0,"Fel Orc Neophyte"); |
| 34 | + |
| 35 | +DELETE FROM `spawn_group` WHERE `spawnId` IN (100219,100236,100237,99293,100063,100064,99859,99908,100217,100218,99299,99300,99347,100182) AND `spawnType` = 0; |
| 36 | +INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES |
| 37 | +(@SPAWN_GROUP_ID+0,0,100219), |
| 38 | +(@SPAWN_GROUP_ID+0,0,100236), |
| 39 | +(@SPAWN_GROUP_ID+0,0,100237), |
| 40 | + |
| 41 | +(@SPAWN_GROUP_ID+1,0,99293), |
| 42 | +(@SPAWN_GROUP_ID+1,0,100063), |
| 43 | +(@SPAWN_GROUP_ID+1,0,100064), |
| 44 | + |
| 45 | +(@SPAWN_GROUP_ID+2,0,99859), |
| 46 | +(@SPAWN_GROUP_ID+2,0,99908), |
| 47 | +(@SPAWN_GROUP_ID+2,0,100217), |
| 48 | +(@SPAWN_GROUP_ID+2,0,100218), |
| 49 | + |
| 50 | +(@SPAWN_GROUP_ID+3,0,99299), |
| 51 | +(@SPAWN_GROUP_ID+3,0,99300), |
| 52 | +(@SPAWN_GROUP_ID+3,0,99347), |
| 53 | +(@SPAWN_GROUP_ID+3,0,100182); |
| 54 | + |
| 55 | +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWN_GROUP_ID+0 AND @SPAWN_GROUP_ID+3; |
| 56 | +INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES |
| 57 | +(@SPAWN_GROUP_ID+0,"Blood Furnace - Broggok Prisoners Cell 1",4), -- 402 |
| 58 | +(@SPAWN_GROUP_ID+1,"Blood Furnace - Broggok Prisoners Cell 2",4), -- 403 |
| 59 | +(@SPAWN_GROUP_ID+2,"Blood Furnace - Broggok Prisoners Cell 3",4), -- 404 |
| 60 | +(@SPAWN_GROUP_ID+3,"Blood Furnace - Broggok Prisoners Cell 4",4); -- 405 |
| 61 | + |
| 62 | +-- Broggok Poison Cloud |
| 63 | +DELETE FROM `creature_template_addon` WHERE `entry` IN (17662,18602); |
| 64 | +DELETE FROM `spelldifficulty_dbc` WHERE `id` = 30914; |
| 65 | + |
| 66 | +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 17662; |
| 67 | + |
| 68 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 17662 AND `source_type` = 0; |
| 69 | +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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES |
| 70 | +(17662,0,0,0,11,0,100,2,0,0,0,0,0,11,30914,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Broggok Poison Cloud - On Spawn - Cast 'Poison' (Normal)"), |
| 71 | +(17662,0,1,0,11,0,100,4,0,0,0,0,0,11,38462,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Broggok Poison Cloud - On Spawn - Cast 'Poison' (Heroic)"), |
| 72 | +(17662,0,2,0,11,0,100,0,0,0,0,0,0,11,19951,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Broggok Poison Cloud - On Spawn - Cast 'Pacify Self'"), |
| 73 | +(17662,0,3,0,11,0,100,0,0,0,0,0,0,11,25900,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Broggok Poison Cloud - On Spawn - Cast 'Stun Self'"); |
| 74 | + |
| 75 | +-- InCombat Trigger |
| 76 | +UPDATE `creature_template` SET `AIName` = 'SmartAI', `flags_extra` = `flags_extra` &~ 2 WHERE `entry` = 16006; |
| 77 | + |
| 78 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 16006 AND `source_type` = 0; |
| 79 | +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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES |
| 80 | +(16006,0,0,0,37,0,100,0,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"InCombat Trigger - On AI Initialize - Set Reactstate Passive"), |
| 81 | +(16006,0,1,0,11,0,100,0,0,0,0,0,0,38,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"InCombat Trigger - On Spawn - Set In Combat With Zone"); |
0 commit comments