{"action":"closed","issue":{"url":"https://api.github.com/repos/ProjectSkyfire/SkyFire.548/issues/712","repository_url":"https://api.github.com/repos/ProjectSkyfire/SkyFire.548","labels_url":"https://api.github.com/repos/ProjectSkyfire/SkyFire.548/issues/712/labels{/name}","comments_url":"https://api.github.com/repos/ProjectSkyfire/SkyFire.548/issues/712/comments","events_url":"https://api.github.com/repos/ProjectSkyfire/SkyFire.548/issues/712/events","html_url":"https://github.com/ProjectSkyfire/SkyFire.548/issues/712","id":155028619,"number":712,"title":"SmartAI misc npc.","user":{"login":"Ulduar","id":18075953,"avatar_url":"https://avatars.githubusercontent.com/u/18075953?v=3","gravatar_id":"","url":"https://api.github.com/users/Ulduar","html_url":"https://github.com/Ulduar","followers_url":"https://api.github.com/users/Ulduar/followers","following_url":"https://api.github.com/users/Ulduar/following{/other_user}","gists_url":"https://api.github.com/users/Ulduar/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulduar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulduar/subscriptions","organizations_url":"https://api.github.com/users/Ulduar/orgs","repos_url":"https://api.github.com/users/Ulduar/repos","events_url":"https://api.github.com/users/Ulduar/events{/privacy}","received_events_url":"https://api.github.com/users/Ulduar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-16T13:24:12Z","updated_at":"2016-09-18T15:24:31Z","closed_at":"2016-09-18T15:24:31Z","body":"``` SQL\r\n-- Pile of Corpses\r\nSET @ENTRY := 59722;\r\nUPDATE `creature_template` SET `AIName`=\"SmartAI\" WHERE `entry`=@ENTRY;\r\nDELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;\r\nINSERT 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\r\n(@ENTRY,0,0,0,25,0,100,6,0,0,0,0,11,114951,0,0,0,0,0,1,0,0,0,0,0,0,0,\"Pile of Corpses - Cast Pile of Corpses On Reset\"),\r\n(@ENTRY,0,1,0,0,0,100,6,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\"Pile of Corpses -  Set React Passive on Reset.\");\r\n-- Scarlet Centurion SAI\r\nSET @ENTRY := 59746;\r\nUPDATE `creature_template` SET `AIName`=\"SmartAI\" WHERE `entry`=@ENTRY;\r\nDELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;\r\nINSERT 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\r\n(@ENTRY,0,0,0,0,0,100,6,15000,15000,35000,35000,11,115511,2,0,0,0,0,1,0,0,0,0,0,0,0,\"Scarlet Centurion - On IC Timer - Cast Retaliation.\"),\r\n(@ENTRY,0,1,0,1,0,100,6,1000,1000,1000,1000,49,0,0,0,0,0,0,11,59771,20,0,0,0,0,0,\"Scarlet Centurion - On OOC Timer - Attack Start on Zombified Corpse.\"),\r\n(@ENTRY,0,2,0,0,0,100,6,7000,7000,16000,16000,11,115519,0,0,0,0,0,2,0,0,0,0,0,0,0,\"Scarlet Centurion - On IC Timer - Cast Cleave.\");\r\n-- Scarlet Flamethrower SAI\r\nSET @ENTRY := 59705;\r\nUPDATE `creature_template` SET `AIName`=\"SmartAI\" WHERE `entry`=@ENTRY;\r\nDELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;\r\nINSERT 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\r\n(@ENTRY,0,0,0,0,0,100,6,7000,7000,20000,20000,11,115506,0,0,0,0,0,1,0,0,0,0,0,0,0,\"Scarlet Flamethrower - On IC Timer - Cast Flamethrower.\"),\r\n(@ENTRY,0,1,0,1,0,100,6,1000,1000,1000,1000,49,0,0,0,0,0,0,11,59771,20,0,0,0,0,0,\"Scarlet Flamethrower - On OOC Timer - Attack Start on Zombified Corpse.\");\r\n-- Aqueous Defender SAI\r\nSET @ENTRY := 73191;\r\nUPDATE `creature_template` SET `AIName`=\"SmartAI\" WHERE `entry`=@ENTRY;\r\nDELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;\r\nINSERT 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\r\n(@ENTRY,0,1,0,0,0,100,0,5000,7000,22000,24000,11,147185,0,0,0,0,0,1,0,0,0,0,0,0,0,\"Aqueous Defender -  In Combat - Cast Rushing Waters\"),\r\n(@ENTRY,0,2,0,0,0,100,0,4000,5500,7000,7500,11,147305,2,0,0,0,0,2,0,0,0,0,0,0,0,\"Aqueous Defender -  In Combat - Cast Vortex.\");\r\n```\r\nSource: Combat Log."}}
{"actor":{"display_login":"Ulduar"}}