New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Quest]Classic] Know Thine Enemy #18574

Closed
Rushor opened this Issue Dec 24, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@Rushor
Contributor

Rushor commented Dec 24, 2016

Description:
http://wowwiki.wikia.com/wiki/Quest:Know_Thine_Enemy

Cut scene

On completion:
Vindicator Aalesia says: These pictographs tell a story. This figure at the beginning, almost looks like one of the creatures we encountered at Azure Watch...
Vindicator Aalesia says: No, this can't be... It says this creature willingly became a servant of the Legion. He transforms into a satyr and receives the Legion's "blessing."
Vindicator Aalesia says: We must defeat these satyr, . We will not suffer the Legion's presence in these lands.

http://wotlk.openwow.com/quest=9567 Endevent for this quest is missing :)

Branch(es): 3.3.5 / master (Tell us which branch(es) this issue affects.)
3.3.5
TC rev. hash/commit:
bddf15d

Operating system:
win 10

@Rushor

This comment has been minimized.

Show comment
Hide comment
@Rushor

Rushor Dec 24, 2016

Contributor

fix:

-- [Q] Know Thine Enemy -- http://wotlk.openwow.com/quest=9567
-- Vindicator Aalesia SAI
SET @ENTRY := 17433;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,1,20,0,100,0,9567,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Quest 'Know Thine Enemy' Finished - Run Script"),
(@ENTRY,0,1,0,61,0,100,0,9567,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Vindicator Aalesia - On Quest 'Know Thine Enemy' Finished - Store Targetlist");

-- Actionlist SAI
SET @ENTRY := 1743300;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Remove Npc Flag Questgiver"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Set Emote State 69"),
(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,17,26,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Set Emote State 26"),
(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Say Line 0"),
(@ENTRY,9,4,0,0,0,100,0,4000,4000,0,0,1,1,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Say Line 1"),
(@ENTRY,9,5,0,0,0,100,0,4000,4000,0,0,1,2,2000,0,0,0,0,12,1,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Say Line 2"),
(@ENTRY,9,6,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Add Npc Flag Questgiver");

DELETE FROM `creature_text` WHERE `entry`=17433;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES 
(17433, 0, 0, 'These pictographs tell a story. This figure at the beginning, almost looks like one of the creatures we encountered at Azure Watch...', 12, 0, 100, 0, 0, 0, 14030, 'Vindicator Aalesia'),
(17433, 1, 0, 'No, this can\'t be... It says this creature willingly became a servant of the Legion. He transforms into a satyr and receives the Legion\'s "blessing.', 12, 0, 100, 274, 0, 0, 14031, 'Vindicator Aalesia'),
(17433, 2, 0, 'We must defeat these satyr, $n. We will not suffer the Legion\'s presence in these lands.', 12, 0, 100, 53, 0, 0, 14032, 'Vindicator Aalesia');

GitHub Logo

credits to https://github.com/unified-db/Database/blob/17f8f6425a4835591606930ab94694d85fd707c0/Updates/441_quest_9567.sql and ty @Grz3s

Contributor

Rushor commented Dec 24, 2016

fix:

-- [Q] Know Thine Enemy -- http://wotlk.openwow.com/quest=9567
-- Vindicator Aalesia SAI
SET @ENTRY := 17433;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,1,20,0,100,0,9567,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Quest 'Know Thine Enemy' Finished - Run Script"),
(@ENTRY,0,1,0,61,0,100,0,9567,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Vindicator Aalesia - On Quest 'Know Thine Enemy' Finished - Store Targetlist");

-- Actionlist SAI
SET @ENTRY := 1743300;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Remove Npc Flag Questgiver"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Set Emote State 69"),
(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,17,26,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Set Emote State 26"),
(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Say Line 0"),
(@ENTRY,9,4,0,0,0,100,0,4000,4000,0,0,1,1,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Say Line 1"),
(@ENTRY,9,5,0,0,0,100,0,4000,4000,0,0,1,2,2000,0,0,0,0,12,1,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Say Line 2"),
(@ENTRY,9,6,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vindicator Aalesia - On Script - Add Npc Flag Questgiver");

DELETE FROM `creature_text` WHERE `entry`=17433;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES 
(17433, 0, 0, 'These pictographs tell a story. This figure at the beginning, almost looks like one of the creatures we encountered at Azure Watch...', 12, 0, 100, 0, 0, 0, 14030, 'Vindicator Aalesia'),
(17433, 1, 0, 'No, this can\'t be... It says this creature willingly became a servant of the Legion. He transforms into a satyr and receives the Legion\'s "blessing.', 12, 0, 100, 274, 0, 0, 14031, 'Vindicator Aalesia'),
(17433, 2, 0, 'We must defeat these satyr, $n. We will not suffer the Legion\'s presence in these lands.', 12, 0, 100, 53, 0, 0, 14032, 'Vindicator Aalesia');

GitHub Logo

credits to https://github.com/unified-db/Database/blob/17f8f6425a4835591606930ab94694d85fd707c0/Updates/441_quest_9567.sql and ty @Grz3s

Killyana added a commit that referenced this issue Dec 25, 2016

DB/Quest: Know Thine Enemy
By Rushor
Closes #18574

Aokromes added a commit to Aokromes/TrinityCore that referenced this issue Dec 28, 2016

Aszune added a commit to Aszune/TrinityCoreRP that referenced this issue Apr 4, 2018

DB/Quest: Know Thine Enemy
By Rushor
Closes #18574

(cherry picked from commit e8314e2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment