mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/Quest: Convert & update support for 'Ebon Blade Prisoners' to SAI
Closes #24672
(cherry picked from commit 6611b71457)
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
-- (Source: https://www.youtube.com/watch?v=jWlqGVyb_mQ & https://www.youtube.com/watch?v=KED-XZBGlmI)
|
||||
UPDATE `gameobject_template` SET `ScriptName` = "" WHERE `entry` = 192135;
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` IN (30186,30194,30195,30196,30197,30198,30199,30200);
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (30186,30194,30195,30196,30197,30198,30199,30200) AND `source_type` = 0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = 3019700 AND `source_type` = 9;
|
||||
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
|
||||
(30186,0,0,0,11,0,100,0,0,0,0,0,0,32,0,0,0,0,0,0,20,192135,5,0,0,0,0,0,0,"Ebon Blade Prisoner - On Respawn - Reset Closest Gameobject 'Jotunheim Cage'"),
|
||||
-- Never seen it videos but the texts are shown in http://web.archive.org/web/20120221235108/www.wowhead.com/npc=30186
|
||||
-- Are they conditioned?
|
||||
-- It does not work because player cannot be in LoS with mobs because of cages
|
||||
(30186,0,1,0,10,0,10,0,1,15,60000,60000,1,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - Within 0-15 Range Out of Combat LoS - Say Line 0"),
|
||||
(30186,0,2,3,8,0,100,1,22096,0,0,0,0,33,30186,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Spellhit 'Ebon Blade Prisoners: Dummy from Player' - Quest Credit 'Ebon Blade Prisoners' (No Repeat)"),
|
||||
(30186,0,3,4,61,0,100,0,0,0,0,0,0,85,56207,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Link - Self Cast 'Ebon Blade Prisoners: Summon Ebon Blade Knight - Human'"),
|
||||
(30186,0,4,0,61,0,100,0,0,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Link - Despawn (1000)"),
|
||||
|
||||
(30194,0,0,0,11,0,100,0,0,0,0,0,0,32,0,0,0,0,0,0,20,192135,5,0,0,0,0,0,0,"Ebon Blade Prisoner - On Respawn - Reset Closest Gameobject 'Jotunheim Cage'"),
|
||||
(30194,0,1,0,10,0,10,0,1,15,60000,60000,1,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - Within 0-15 Range Out of Combat LoS - Say Line 0"),
|
||||
(30194,0,2,3,8,0,100,1,22096,0,0,0,0,33,30186,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Spellhit 'Ebon Blade Prisoners: Dummy from Player' - Quest Credit 'Ebon Blade Prisoners' (No Repeat)"),
|
||||
(30194,0,3,4,61,0,100,0,0,0,0,0,0,85,56209,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Link - Self Cast 'Ebon Blade Prisoners: Summon Ebon Blade Knight - Night Elf'"),
|
||||
(30194,0,4,0,61,0,100,0,0,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Link - Despawn (1000)"),
|
||||
|
||||
(30195,0,0,0,11,0,100,0,0,0,0,0,0,32,0,0,0,0,0,0,20,192135,5,0,0,0,0,0,0,"Ebon Blade Prisoner - On Respawn - Reset Closest Gameobject 'Jotunheim Cage'"),
|
||||
(30195,0,1,0,10,0,10,0,1,15,60000,60000,1,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - Within 0-15 Range Out of Combat LoS - Say Line 0"),
|
||||
(30195,0,2,3,8,0,100,1,22096,0,0,0,0,33,30186,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Spellhit 'Ebon Blade Prisoners: Dummy from Player' - Quest Credit 'Ebon Blade Prisoners' (No Repeat)"),
|
||||
(30195,0,3,4,61,0,100,0,0,0,0,0,0,85,56212,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Script - Self Cast 'Ebon Blade Prisoners: Summon Ebon Blade Knight - Orc'"),
|
||||
(30195,0,4,0,61,0,100,0,0,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Link - Despawn (1000)"),
|
||||
|
||||
(30196,0,0,0,11,0,100,0,0,0,0,0,0,32,0,0,0,0,0,0,20,192135,5,0,0,0,0,0,0,"Ebon Blade Prisoner - On Respawn - Reset Closest Gameobject 'Jotunheim Cage'"),
|
||||
(30196,0,1,0,10,0,10,0,1,15,60000,60000,1,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - Within 0-15 Range Out of Combat LoS - Say Line 0"),
|
||||
(30196,0,2,3,8,0,100,1,22096,0,0,0,0,33,30186,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Spellhit 'Ebon Blade Prisoners: Dummy from Player' - Quest Credit 'Ebon Blade Prisoners' (No Repeat)"),
|
||||
(30196,0,3,4,61,0,100,0,0,0,0,0,0,85,56214,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Script - Self Cast 'Ebon Blade Prisoners: Summon Ebon Blade Knight - Troll'"),
|
||||
(30196,0,4,0,61,0,100,0,0,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Prisoner - On Link - Despawn (1000)"),
|
||||
|
||||
(30197,0,0,0,54,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,23,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Say Line 1"),
|
||||
(30197,0,1,0,54,0,100,0,0,0,0,0,0,67,1,172000,172000,0,0,100,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Create Timed Event 1"),
|
||||
(30197,0,2,0,59,0,100,0,1,0,0,0,0,80,3019700,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Timed Event - Run Script"),
|
||||
(30197,0,3,0,0,0,100,256,6000,10000,7000,12000,0,11,60945,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Blood Strike' (No Reset)"),
|
||||
(30197,0,4,0,0,0,100,256,8000,14000,12000,21000,0,11,60949,0,0,0,0,0,5,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Death Coil' (No Reset)"),
|
||||
(30197,0,5,0,0,0,100,256,3000,11000,3000,17000,0,11,60951,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Frost Strike' (No Reset)"),
|
||||
|
||||
(30198,0,0,0,54,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,23,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Say Line 1"),
|
||||
(30198,0,1,0,54,0,100,0,0,0,0,0,0,67,1,172000,172000,0,0,100,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Create Timed Event 1"),
|
||||
(30198,0,2,0,59,0,100,0,1,0,0,0,0,80,3019700,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Timed Event - Run Script"),
|
||||
(30198,0,3,0,0,0,100,256,6000,10000,7000,12000,0,11,60945,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Blood Strike' (No Reset)"),
|
||||
(30198,0,4,0,0,0,100,256,8000,14000,12000,21000,0,11,60949,0,0,0,0,0,5,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Death Coil' (No Reset)"),
|
||||
(30198,0,5,0,0,0,100,256,3000,11000,3000,17000,0,11,60951,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Frost Strike' (No Reset)"),
|
||||
|
||||
(30199,0,0,0,54,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,23,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Say Line 1"),
|
||||
(30199,0,1,0,54,0,100,0,0,0,0,0,0,67,1,172000,172000,0,0,100,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Create Timed Event 1"),
|
||||
(30199,0,2,0,59,0,100,0,1,0,0,0,0,80,3019700,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Timed Event - Run Script"),
|
||||
(30199,0,3,0,0,0,100,256,6000,10000,7000,12000,0,11,60945,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Blood Strike' (No Reset)"),
|
||||
(30199,0,4,0,0,0,100,256,8000,14000,12000,21000,0,11,60949,0,0,0,0,0,5,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Death Coil' (No Reset)"),
|
||||
(30199,0,5,0,0,0,100,256,3000,11000,3000,17000,0,11,60951,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Frost Strike' (No Reset)"),
|
||||
|
||||
(30200,0,0,0,54,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,23,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Say Line 1"),
|
||||
(30200,0,1,0,54,0,100,0,0,0,0,0,0,67,1,172000,172000,0,0,100,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Just Summoned - Create Timed Event 1"),
|
||||
(30200,0,2,0,59,0,100,0,1,0,0,0,0,80,3019700,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Timed Event - Run Script"),
|
||||
(30200,0,3,0,0,0,100,256,6000,10000,7000,12000,0,11,60945,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Blood Strike' (No Reset)"),
|
||||
(30200,0,4,0,0,0,100,256,8000,14000,12000,21000,0,11,60949,0,0,0,0,0,5,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Death Coil' (No Reset)"),
|
||||
(30200,0,5,0,0,0,100,256,3000,11000,3000,17000,0,11,60951,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Ebon Blade Knight - In Combat - Cast 'Frost Strike' (No Reset)"),
|
||||
|
||||
-- Despawn part shown here https://youtu.be/E3YT1obETZs?t=297
|
||||
(3019700,9,0,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Script - Say Line 0"),
|
||||
-- Probably immune flag
|
||||
(3019700,9,1,0,0,0,100,0,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Script - Set Reactstate Passive"),
|
||||
-- Stop current movement
|
||||
(3019700,9,2,0,0,0,100,0,0,0,0,0,0,69,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Script - Move To Self"),
|
||||
-- They should run but currently even Set Run does not help here
|
||||
(3019700,9,3,0,0,0,100,0,2000,2000,0,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Script - Start Random Movement"),
|
||||
(3019700,9,4,0,0,0,100,0,4000,4000,0,0,0,89,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Ebon Blade Knight - On Script - Stop Random Movement");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` IN (30186,30194,30195,30196,30197,30198,30199,30200);
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(30186,0,0,"Hey you! There are keys on the vrykul. Kill them, get a key and come over here to let me out of this damned cage!",12,0,100,0,0,0,30882,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,1,"It gets the key. It comes here. It opens the lock.",12,0,100,0,0,0,30883,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,2,"Think you could bust me out of this cage?",12,0,100,0,0,0,30884,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,3,"Good thing I don't really feel the cold.",12,0,100,0,0,0,30885,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,4,"I'm over here in this cage. You can't miss it!",12,0,100,0,0,0,30886,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,5,"Let me out and we'll fight side-by-side. The slaughter will be glorious!",12,0,100,0,0,0,30887,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,6,"Were you sent by Baron Sliver to get me out of this cage? Finally. Hurry up!",12,0,100,0,0,0,30888,0,"Ebon Blade Prisoner"),
|
||||
(30186,0,7,"When you get me out of this cage, we're going to make them wish they were never awakened!",12,0,100,0,0,0,30889,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,0,"Hey you! There are keys on the vrykul. Kill them, get a key and come over here to let me out of this damned cage!",12,0,100,0,0,0,30882,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,1,"It gets the key. It comes here. It opens the lock.",12,0,100,0,0,0,30883,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,2,"Think you could bust me out of this cage?",12,0,100,0,0,0,30884,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,3,"Good thing I don't really feel the cold.",12,0,100,0,0,0,30885,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,4,"I'm over here in this cage. You can't miss it!",12,0,100,0,0,0,30886,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,5,"Let me out and we'll fight side-by-side. The slaughter will be glorious!",12,0,100,0,0,0,30887,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,6,"Were you sent by Baron Sliver to get me out of this cage? Finally. Hurry up!",12,0,100,0,0,0,30888,0,"Ebon Blade Prisoner"),
|
||||
(30194,0,7,"When you get me out of this cage, we're going to make them wish they were never awakened!",12,0,100,0,0,0,30889,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,0,"Hey you! There are keys on the vrykul. Kill them, get a key and come over here to let me out of this damned cage!",12,0,100,0,0,0,30882,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,1,"It gets the key. It comes here. It opens the lock.",12,0,100,0,0,0,30883,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,2,"Think you could bust me out of this cage?",12,0,100,0,0,0,30884,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,3,"Good thing I don't really feel the cold.",12,0,100,0,0,0,30885,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,4,"I'm over here in this cage. You can't miss it!",12,0,100,0,0,0,30886,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,5,"Let me out and we'll fight side-by-side. The slaughter will be glorious!",12,0,100,0,0,0,30887,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,6,"Were you sent by Baron Sliver to get me out of this cage? Finally. Hurry up!",12,0,100,0,0,0,30888,0,"Ebon Blade Prisoner"),
|
||||
(30195,0,7,"When you get me out of this cage, we're going to make them wish they were never awakened!",12,0,100,0,0,0,30889,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,0,"Hey you! There are keys on the vrykul. Kill them, get a key and come over here to let me out of this damned cage!",12,0,100,0,0,0,30882,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,1,"It gets the key. It comes here. It opens the lock.",12,0,100,0,0,0,30883,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,2,"Think you could bust me out of this cage?",12,0,100,0,0,0,30884,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,3,"Good thing I don't really feel the cold.",12,0,100,0,0,0,30885,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,4,"I'm over here in this cage. You can't miss it!",12,0,100,0,0,0,30886,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,5,"Let me out and we'll fight side-by-side. The slaughter will be glorious!",12,0,100,0,0,0,30887,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,6,"Were you sent by Baron Sliver to get me out of this cage? Finally. Hurry up!",12,0,100,0,0,0,30888,0,"Ebon Blade Prisoner"),
|
||||
(30196,0,7,"When you get me out of this cage, we're going to make them wish they were never awakened!",12,0,100,0,0,0,30889,0,"Ebon Blade Prisoner"),
|
||||
(30197,0,0,"You have my thanks. I'm going back to The Shadow Vault now.",12,0,100,1,0,0,30874,0,"Ebon Blade Knight"),
|
||||
(30197,0,1,"I've tarried too long here. I must get back to The Shadow Vault. Farewell.",12,0,100,1,0,0,30875,0,"Ebon Blade Knight"),
|
||||
(30197,0,2,"I will see you back at The Shadow Vault.",12,0,100,1,0,0,30876,0,"Ebon Blade Knight"),
|
||||
(30197,0,3,"That's enough for me. I'm heading back now.",12,0,100,1,0,0,30877,0,"Ebon Blade Knight"),
|
||||
(30197,0,4,"I'd love to stay and kill vrykul with you all day, but I'm sure the baron will be wondering where I am.",12,0,100,1,0,0,30878,0,"Ebon Blade Knight"),
|
||||
(30197,0,5,"I have to go. You stay and kill more of these ugly mongrels.",12,0,100,1,0,0,30879,0,"Ebon Blade Knight"),
|
||||
(30197,0,6,"Time to go. Don't let them capture you or they'll put you in the stew!",12,0,100,1,0,0,30880,0,"Ebon Blade Knight"),
|
||||
(30197,0,7,"I'm heading back now. I'll let the baron know that you liberated me.",12,0,100,1,0,0,30881,0,"Ebon Blade Knight"),
|
||||
(30197,1,0,"Let's do this.",12,0,100,5,0,0,30898,0,"Ebon Blade Knight"),
|
||||
(30197,1,1,"Thanks. How can I help?",12,0,100,5,0,0,30899,0,"Ebon Blade Knight"),
|
||||
(30197,1,2,"I can fight by your side for a few minutes before I need to return to The Shadow Vault.",12,0,100,5,0,0,30900,0,"Ebon Blade Knight"),
|
||||
(30197,1,3,"Thank you, $c. I owe you.",12,0,100,5,0,0,30901,0,"Ebon Blade Knight"),
|
||||
(30197,1,4,"Excellent. Let's kill some vrykul!",12,0,100,5,0,0,30902,0,"Ebon Blade Knight"),
|
||||
(30197,1,5,"It's time for revenge!",12,0,100,5,0,0,30903,0,"Ebon Blade Knight"),
|
||||
(30197,1,6,"Where's my damned helmet? Well, at least they left my sword here. Idiots.",12,0,100,5,0,0,30904,0,"Ebon Blade Knight"),
|
||||
(30197,1,7,"Kill!",12,0,100,5,0,0,30905,0,"Ebon Blade Knight"),
|
||||
(30198,0,0,"You have my thanks. I'm going back to The Shadow Vault now.",12,0,100,1,0,0,30874,0,"Ebon Blade Knight"),
|
||||
(30198,0,1,"I've tarried too long here. I must get back to The Shadow Vault. Farewell.",12,0,100,1,0,0,30875,0,"Ebon Blade Knight"),
|
||||
(30198,0,2,"I will see you back at The Shadow Vault.",12,0,100,1,0,0,30876,0,"Ebon Blade Knight"),
|
||||
(30198,0,3,"That's enough for me. I'm heading back now.",12,0,100,1,0,0,30877,0,"Ebon Blade Knight"),
|
||||
(30198,0,4,"I'd love to stay and kill vrykul with you all day, but I'm sure the baron will be wondering where I am.",12,0,100,1,0,0,30878,0,"Ebon Blade Knight"),
|
||||
(30198,0,5,"I have to go. You stay and kill more of these ugly mongrels.",12,0,100,1,0,0,30879,0,"Ebon Blade Knight"),
|
||||
(30198,0,6,"Time to go. Don't let them capture you or they'll put you in the stew!",12,0,100,1,0,0,30880,0,"Ebon Blade Knight"),
|
||||
(30198,0,7,"I'm heading back now. I'll let the baron know that you liberated me.",12,0,100,1,0,0,30881,0,"Ebon Blade Knight"),
|
||||
(30198,1,0,"Let's do this.",12,0,100,5,0,0,30898,0,"Ebon Blade Knight"),
|
||||
(30198,1,1,"Thanks. How can I help?",12,0,100,5,0,0,30899,0,"Ebon Blade Knight"),
|
||||
(30198,1,2,"I can fight by your side for a few minutes before I need to return to The Shadow Vault.",12,0,100,5,0,0,30900,0,"Ebon Blade Knight"),
|
||||
(30198,1,3,"Thank you, $c. I owe you.",12,0,100,5,0,0,30901,0,"Ebon Blade Knight"),
|
||||
(30198,1,4,"Excellent. Let's kill some vrykul!",12,0,100,5,0,0,30902,0,"Ebon Blade Knight"),
|
||||
(30198,1,5,"It's time for revenge!",12,0,100,5,0,0,30903,0,"Ebon Blade Knight"),
|
||||
(30198,1,6,"Where's my damned helmet? Well, at least they left my sword here. Idiots.",12,0,100,5,0,0,30904,0,"Ebon Blade Knight"),
|
||||
(30198,1,7,"Kill!",12,0,100,5,0,0,30905,0,"Ebon Blade Knight"),
|
||||
(30199,0,0,"You have my thanks. I'm going back to The Shadow Vault now.",12,0,100,1,0,0,30874,0,"Ebon Blade Knight"),
|
||||
(30199,0,1,"I've tarried too long here. I must get back to The Shadow Vault. Farewell.",12,0,100,1,0,0,30875,0,"Ebon Blade Knight"),
|
||||
(30199,0,2,"I will see you back at The Shadow Vault.",12,0,100,1,0,0,30876,0,"Ebon Blade Knight"),
|
||||
(30199,0,3,"That's enough for me. I'm heading back now.",12,0,100,1,0,0,30877,0,"Ebon Blade Knight"),
|
||||
(30199,0,4,"I'd love to stay and kill vrykul with you all day, but I'm sure the baron will be wondering where I am.",12,0,100,1,0,0,30878,0,"Ebon Blade Knight"),
|
||||
(30199,0,5,"I have to go. You stay and kill more of these ugly mongrels.",12,0,100,1,0,0,30879,0,"Ebon Blade Knight"),
|
||||
(30199,0,6,"Time to go. Don't let them capture you or they'll put you in the stew!",12,0,100,1,0,0,30880,0,"Ebon Blade Knight"),
|
||||
(30199,0,7,"I'm heading back now. I'll let the baron know that you liberated me.",12,0,100,1,0,0,30881,0,"Ebon Blade Knight"),
|
||||
(30199,1,0,"Let's do this.",12,0,100,5,0,0,30898,0,"Ebon Blade Knight"),
|
||||
(30199,1,1,"Thanks. How can I help?",12,0,100,5,0,0,30899,0,"Ebon Blade Knight"),
|
||||
(30199,1,2,"I can fight by your side for a few minutes before I need to return to The Shadow Vault.",12,0,100,5,0,0,30900,0,"Ebon Blade Knight"),
|
||||
(30199,1,3,"Thank you, $c. I owe you.",12,0,100,5,0,0,30901,0,"Ebon Blade Knight"),
|
||||
(30199,1,4,"Excellent. Let's kill some vrykul!",12,0,100,5,0,0,30902,0,"Ebon Blade Knight"),
|
||||
(30199,1,5,"It's time for revenge!",12,0,100,5,0,0,30903,0,"Ebon Blade Knight"),
|
||||
(30199,1,6,"Where's my damned helmet? Well, at least they left my sword here. Idiots.",12,0,100,5,0,0,30904,0,"Ebon Blade Knight"),
|
||||
(30199,1,7,"Kill!",12,0,100,5,0,0,30905,0,"Ebon Blade Knight"),
|
||||
(30200,0,0,"You have my thanks. I'm going back to The Shadow Vault now.",12,0,100,1,0,0,30874,0,"Ebon Blade Knight"),
|
||||
(30200,0,1,"I've tarried too long here. I must get back to The Shadow Vault. Farewell.",12,0,100,1,0,0,30875,0,"Ebon Blade Knight"),
|
||||
(30200,0,2,"I will see you back at The Shadow Vault.",12,0,100,1,0,0,30876,0,"Ebon Blade Knight"),
|
||||
(30200,0,3,"That's enough for me. I'm heading back now.",12,0,100,1,0,0,30877,0,"Ebon Blade Knight"),
|
||||
(30200,0,4,"I'd love to stay and kill vrykul with you all day, but I'm sure the baron will be wondering where I am.",12,0,100,1,0,0,30878,0,"Ebon Blade Knight"),
|
||||
(30200,0,5,"I have to go. You stay and kill more of these ugly mongrels.",12,0,100,1,0,0,30879,0,"Ebon Blade Knight"),
|
||||
(30200,0,6,"Time to go. Don't let them capture you or they'll put you in the stew!",12,0,100,1,0,0,30880,0,"Ebon Blade Knight"),
|
||||
(30200,0,7,"I'm heading back now. I'll let the baron know that you liberated me.",12,0,100,1,0,0,30881,0,"Ebon Blade Knight"),
|
||||
(30200,1,0,"Let's do this.",12,0,100,5,0,0,30898,0,"Ebon Blade Knight"),
|
||||
(30200,1,1,"Thanks. How can I help?",12,0,100,5,0,0,30899,0,"Ebon Blade Knight"),
|
||||
(30200,1,2,"I can fight by your side for a few minutes before I need to return to The Shadow Vault.",12,0,100,5,0,0,30900,0,"Ebon Blade Knight"),
|
||||
(30200,1,3,"Thank you, $c. I owe you.",12,0,100,5,0,0,30901,0,"Ebon Blade Knight"),
|
||||
(30200,1,4,"Excellent. Let's kill some vrykul!",12,0,100,5,0,0,30902,0,"Ebon Blade Knight"),
|
||||
(30200,1,5,"It's time for revenge!",12,0,100,5,0,0,30903,0,"Ebon Blade Knight"),
|
||||
(30200,1,6,"Where's my damned helmet? Well, at least they left my sword here. Idiots.",12,0,100,5,0,0,30904,0,"Ebon Blade Knight"),
|
||||
(30200,1,7,"Kill!",12,0,100,5,0,0,30905,0,"Ebon Blade Knight");
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 22096;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
|
||||
(13,1,22096,0,0,31,0,3,30186,0,0,0,0,"","Group 0: Spell 'Ebon Blade Prisoners: Dummy from Player' (Effect 0) targets creature 'Ebon Blade Prisoner'"),
|
||||
(13,1,22096,0,1,31,0,3,30194,0,0,0,0,"","Group 1: Spell 'Ebon Blade Prisoners: Dummy from Player' (Effect 0) targets creature 'Ebon Blade Prisoner'"),
|
||||
(13,1,22096,0,2,31,0,3,30195,0,0,0,0,"","Group 2: Spell 'Ebon Blade Prisoners: Dummy from Player' (Effect 0) targets creature 'Ebon Blade Prisoner'"),
|
||||
(13,1,22096,0,3,31,0,3,30196,0,0,0,0,"","Group 3: Spell 'Ebon Blade Prisoners: Dummy from Player' (Effect 0) targets creature 'Ebon Blade Prisoner'");
|
||||
@@ -24,7 +24,6 @@ go_tablet_of_the_seven
|
||||
go_tele_to_dalaran_crystal
|
||||
go_tele_to_violet_stand
|
||||
go_scourge_cage
|
||||
go_jotunheim_cage
|
||||
go_table_theka
|
||||
go_soulwell
|
||||
go_amberpine_outhouse
|
||||
@@ -546,76 +545,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_jotunheim_cage
|
||||
######*/
|
||||
|
||||
enum JotunheimCage
|
||||
{
|
||||
NPC_EBON_BLADE_PRISONER_HUMAN = 30186,
|
||||
NPC_EBON_BLADE_PRISONER_NE = 30194,
|
||||
NPC_EBON_BLADE_PRISONER_TROLL = 30196,
|
||||
NPC_EBON_BLADE_PRISONER_ORC = 30195,
|
||||
|
||||
SPELL_SUMMON_BLADE_KNIGHT_H = 56207,
|
||||
SPELL_SUMMON_BLADE_KNIGHT_NE = 56209,
|
||||
SPELL_SUMMON_BLADE_KNIGHT_ORC = 56212,
|
||||
SPELL_SUMMON_BLADE_KNIGHT_TROLL = 56214
|
||||
};
|
||||
|
||||
class go_jotunheim_cage : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_jotunheim_cage() : GameObjectScript("go_jotunheim_cage") { }
|
||||
|
||||
struct go_jotunheim_cageAI : public GameObjectAI
|
||||
{
|
||||
go_jotunheim_cageAI(GameObject* go) : GameObjectAI(go) { }
|
||||
|
||||
bool GossipHello(Player* player) override
|
||||
{
|
||||
me->UseDoorOrButton();
|
||||
Creature* pPrisoner = me->FindNearestCreature(NPC_EBON_BLADE_PRISONER_HUMAN, 5.0f, true);
|
||||
if (!pPrisoner)
|
||||
{
|
||||
pPrisoner = me->FindNearestCreature(NPC_EBON_BLADE_PRISONER_TROLL, 5.0f, true);
|
||||
if (!pPrisoner)
|
||||
{
|
||||
pPrisoner = me->FindNearestCreature(NPC_EBON_BLADE_PRISONER_ORC, 5.0f, true);
|
||||
if (!pPrisoner)
|
||||
pPrisoner = me->FindNearestCreature(NPC_EBON_BLADE_PRISONER_NE, 5.0f, true);
|
||||
}
|
||||
}
|
||||
if (!pPrisoner || !pPrisoner->IsAlive())
|
||||
return false;
|
||||
|
||||
pPrisoner->DisappearAndDie();
|
||||
player->KilledMonsterCredit(NPC_EBON_BLADE_PRISONER_HUMAN);
|
||||
switch (pPrisoner->GetEntry())
|
||||
{
|
||||
case NPC_EBON_BLADE_PRISONER_HUMAN:
|
||||
player->CastSpell(player, SPELL_SUMMON_BLADE_KNIGHT_H, true);
|
||||
break;
|
||||
case NPC_EBON_BLADE_PRISONER_NE:
|
||||
player->CastSpell(player, SPELL_SUMMON_BLADE_KNIGHT_NE, true);
|
||||
break;
|
||||
case NPC_EBON_BLADE_PRISONER_TROLL:
|
||||
player->CastSpell(player, SPELL_SUMMON_BLADE_KNIGHT_TROLL, true);
|
||||
break;
|
||||
case NPC_EBON_BLADE_PRISONER_ORC:
|
||||
player->CastSpell(player, SPELL_SUMMON_BLADE_KNIGHT_ORC, true);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
GameObjectAI* GetAI(GameObject* go) const override
|
||||
{
|
||||
return new go_jotunheim_cageAI(go);
|
||||
}
|
||||
};
|
||||
|
||||
enum TableTheka
|
||||
{
|
||||
GOSSIP_TABLE_THEKA = 1653,
|
||||
@@ -1527,7 +1456,6 @@ void AddSC_go_scripts()
|
||||
new go_scourge_cage();
|
||||
new go_arcane_prison();
|
||||
new go_blood_filled_orb();
|
||||
new go_jotunheim_cage();
|
||||
new go_table_theka();
|
||||
new go_soulwell();
|
||||
new go_amberpine_outhouse();
|
||||
|
||||
Reference in New Issue
Block a user