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

[Item][Object][Classic] Grime-Encrusted Object + The Sparklematic 5200 #18825

Closed
Rushor opened this Issue Jan 13, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@Rushor
Contributor

Rushor commented Jan 13, 2017

#18807 (comment)

1.) http://www.wowhead.com/object=142487/the-sparklematic-5200 should have an animation on quest reward (https://www.youtube.com/watch?v=PqrHUJwBQyY 1:55 minutes)
2.) http://www.wowhead.com/item=9308/grime-encrusted-object should drop without questcondition. (it's those kind of quests where you cannot accept the quest. it will not be added to your log. you need to complete them directly on the questender with the questitem.)

Branch(es): 3.3.5 / master (Tell us which branch(es) this issue affects.)
3.3.5

TC rev. hash/commit: fe999bc

Operating system: win 10

@Rushor

This comment has been minimized.

Show comment
Hide comment
@Rushor

Rushor Jan 13, 2017

Contributor

fix:

-- The Sparklematic 5200 SAI
SET @ENTRY := 142487;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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,1,0,0,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");

-- The Sparklematic 5200 SAI
SET @ENTRY := 175084;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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,1,0,0,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");

-- The Sparklematic 5200 SAI
SET @ENTRY := 175085;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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,1,0,0,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");

UPDATE `creature_loot_template` SET `QuestRequired`=0 WHERE `Item`=9308;
UPDATE `creature_formations` SET `groupAI`=2 WHERE  `leaderGUID`=14056; -- tiny convert issue in previous commit
Contributor

Rushor commented Jan 13, 2017

fix:

-- The Sparklematic 5200 SAI
SET @ENTRY := 142487;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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,1,0,0,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");

-- The Sparklematic 5200 SAI
SET @ENTRY := 175084;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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,1,0,0,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");

-- The Sparklematic 5200 SAI
SET @ENTRY := 175085;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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,1,0,0,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");

UPDATE `creature_loot_template` SET `QuestRequired`=0 WHERE `Item`=9308;
UPDATE `creature_formations` SET `groupAI`=2 WHERE  `leaderGUID`=14056; -- tiny convert issue in previous commit
@Rushor

This comment has been minimized.

Show comment
Hide comment
@Rushor

Rushor Jan 13, 2017

Contributor

GitHub Logo

Contributor

Rushor commented Jan 13, 2017

GitHub Logo

@Tauriella

This comment has been minimized.

Show comment
Hide comment
@Tauriella

Tauriella Jan 13, 2017

WOW cool 🥇

Tauriella commented Jan 13, 2017

WOW cool 🥇

Killyana added a commit that referenced this issue Jan 14, 2017

Aokromes added a commit to Aokromes/TrinityCore that referenced this issue Jan 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment