The Emitter
Кат-сценка после окончания квеста http://www.wowhead.com/?quest=9312 Хотел через SD2, но возникали проблемы с проваливанием НПС, когда ставил его на геймобьект.
Код:
-- The Emitter
INSERT INTO `creature_ai_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`comment`,`emote`) VALUES
('-xxx','By the seven Ata''mal crystals! Others have survived the crash! Zhanaa, is that you? It is so good to see you again!','0','0','0','16550','0'),
('-xxx','And who do we have here? No doubt th... crzzzk ...ade this communication I give you greetings fro... psshzzzk... Azure Watch.','0','0','0','16550','0'),
('-xxx','Judging by your signal, we put you... ust southeast of the larger part of the island we crashed onto. Cross the Crystalbrook River to ge... kshhhhk zzzt. Sorry, there''s a lot of stat...','0','0','0','16550','0');
DELETE FROM quest_end_scripts WHERE id = 9312;
INSERT INTO `quest_end_scripts` VALUES
(9312,5,10,16550,15000,0,-4189.75,-13738.50,75.25,0.87),
(9312,22,0,0,0,2000000269,0,0,0,0),
(9312,22,1,1,0,0,0,0,0,0);
UPDATE `quest_template` SET `CompleteScript` ='9312' WHERE `entry` = '9312';
INSERT INTO db_script_string VALUES (2000000269,'This is great news! Your efforts have indeed saved us, $N!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES
('xxxxxxx','16550','1','0','100','0','1000','1000','0','0','1','-xxx','0','0','5','1','0','0','0','0','0','0','ytdb Dyvuun - Say On Spawn'),
('xxxxxxx','16550','1','0','100','0','7000','7000','0','0','1','-xxx','0','0','5','1','0','0','0','0','0','0','ytdb Dyvuun - Say On Spawn'),
('xxxxxxx','16550','1','0','100','0','12000','12000','0','0','1','-xxx','0','0','5','1','0','0','0','0','0','0','ytdb Dyvuun - Say On Spawn');
Кстати, Surveyor Candress, Blood Elf Scout(говорят, когда аггрятся), если нужно:
Код:
INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES
-- Blood Elf Scout
('xxxxxxx','16521','4','0','20','0','0','0','0','0','1','-xx1','-xx2','-xx3','0','0,'0','0','0','0','0','0','Surveyor Candress - Random Say On Aggro'),
-- Surveyor Candress
('xxxxxxx','16522','4','0','100','0','0','0','0','0','1','-xx4','0','0','0','0','0','0','0','0','0','0','Surveyor Candress - Say On Aggro');
INSERT INTO `creature_ai_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`comment`,`emote`) VALUES
('-xx1','We won''t allow you to leave this volley!','0','0','0','16521','0'),
('-xx2','None of you are to leave this valley alive.','0','0','0','16521','0'),
('-xx3','What a pity you survived the crash just to die here.','0','0','0','16521','0'),
('-xx4','You''ll not take me alive, scum!','0','0','0','16522','0');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '16521';
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '16522';
Попутно, с 3.3.0 не аггры:
Код:
UPDATE `creature_template` SET `faction_A` = 7, `faction_H` = 7 WHERE `entry` = 16537;
|