|
| 1 | +-- add missing text to Kolphis Darkscale from sniff |
| 2 | +DELETE FROM npc_text WHERE ID=10540; |
| 3 | +INSERT INTO npc_text (ID,prob0,text0_0,text0_1) VALUES |
| 4 | +(10540,1,'Begone, overseer! We\'ve already spoken.$B$BStop dragging your feet and execute your orders at Ruuan Weald!',''); |
| 5 | + |
| 6 | +-- Gossip menu insert from sniff |
| 7 | +DELETE FROM gossip_menu WHERE entry=8436 AND text_id=10539; |
| 8 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8436,10539); |
| 9 | +DELETE FROM gossip_menu WHERE entry=8436 AND text_id=10540; |
| 10 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8436,10540); |
| 11 | +DELETE FROM gossip_menu WHERE entry=8435 AND text_id=10541; |
| 12 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8435,10541); |
| 13 | +DELETE FROM gossip_menu WHERE entry=8437 AND text_id=10542; |
| 14 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8437,10542); |
| 15 | +DELETE FROM gossip_menu WHERE entry=8438 AND text_id=10543; |
| 16 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8438,10543); |
| 17 | +DELETE FROM gossip_menu WHERE entry=8439 AND text_id=10544; |
| 18 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8439,10544); |
| 19 | +DELETE FROM gossip_menu WHERE entry=8440 AND text_id=10545; |
| 20 | +INSERT INTO gossip_menu (entry,text_id) VALUES (8440,10545); |
| 21 | + |
| 22 | +-- Creature Gossip_menu_option insert from sniff |
| 23 | +DELETE FROM gossip_menu_option WHERE menu_id IN (8435,8436,8437,8438,8439) AND id=1; |
| 24 | +INSERT INTO gossip_menu_option (menu_id, id, option_icon, option_text ,option_id , npc_option_npcflag, action_menu_id, action_poi_id, action_script_id, box_coded, box_money, box_text, condition_id) VALUES |
| 25 | + (8436 , 1 , 0 , 'I\'m fine, thank you. You asked for me?' ,1 , 1 , 8435 , 0 , 0 , 0 , 0 , '' , 0), |
| 26 | + (8435 , 1 , 0 , 'Oh, it\'s not my fault, I can assure you.' ,1 , 1 , 8437 , 0 , 0 , 0 , 0 , '' , 0), |
| 27 | + (8437 , 1 , 0 , 'Um, no... No, I don\'t want that at all.' ,1 , 1 , 8438 , 0 , 0 , 0 , 0 , '' , 0), |
| 28 | + (8438 , 1 , 0 , 'Impressive. When do we attack?' ,1 , 1 , 8439 , 0 , 0 , 0 , 0 , '' , 0), |
| 29 | + (8439 , 1 , 0 , 'Absolutely!' ,1 , 1 , 8440 , 0 , 8439 , 0 , 0 , '' , 0); |
| 30 | + |
| 31 | +-- quest completion |
| 32 | +DELETE FROM dbscripts_on_gossip where id = 8439 and delay = 0 and command = 7 and datalong = 10722; |
| 33 | +INSERT INTO dbscripts_on_gossip (id , delay, command, datalong, comments) |
| 34 | + VALUES (8439, 0 , 7 , 10722 , 'quest complete 10722 - Meeting at the Blackwing Coven'); |
| 35 | + |
| 36 | +-- remove incorrect text from Kolphis Darkscale |
| 37 | +DELETE FROM npc_gossip where npc_guid = 77171; |
| 38 | +-- Add quest gossip to Kolphis Darkscale |
| 39 | +UPDATE creature_template set GossipMenuId= 8436 WHERE entry = 22019; |
| 40 | + |
| 41 | + |
| 42 | +-- Active quest condition in questlog but no completed |
| 43 | +DELETE FROM conditions WHERE type = 9 and value1 = 10722; |
| 44 | + |
| 45 | +SET @next_condition_entry = 478; |
| 46 | +INSERT INTO conditions (condition_entry , type, value1, value2) |
| 47 | + VALUES (@next_condition_entry, 9 , 10722 , 1); |
| 48 | + |
| 49 | +-- Gossip to use when player has quest active |
| 50 | +UPDATE gossip_menu_option SET condition_id = @next_condition_entry WHERE menu_id=8436; |
| 51 | + |
| 52 | +SET @next_creature_ai_scripts_entry = 2816303; |
| 53 | + |
| 54 | +DELETE FROM creature_ai_scripts WHERE creature_id = 22019; |
| 55 | +-- whirlwind |
| 56 | +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, comment) |
| 57 | + VALUES (@next_creature_ai_scripts_entry, 22019 , 0 , 0 , 100 , 1 , 3000 , 3000 , 8000 , 8000 , 11 , 37704 , 0 , 0 , 'Kolphis Darkscale - Cast Whirlwind'); |
| 58 | + |
| 59 | +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, comment) |
| 60 | + VALUES (@next_creature_ai_scripts_entry + 1, 22019 , 2 , 0 , 100 , 0 , 25 , 0 , 0 , 0 , 11 , 8599 , 0 , 1 , 1 , -46 , 'Kolphis Darkscale - Enrage at 25%'); |
| 61 | + |
| 62 | +UPDATE creature_template SET AIName = 'EventAI' WHERE entry = 22019; |
| 63 | + |
| 64 | + |
0 commit comments