[Completed][Complete] Rotting Storm Giant SAI

-- Rotting Storm Giant SAI UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=27270; DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-108034,-108035,-108036,-108037,-203372,-203373); 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 (-108034,0,0,1,1,0,100,1,1000,1000,1000,1000,11,50389,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108034,0,1,0,61,0,100,1,0,0,0,0,11,50390,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108034,0,2,3,4,0,100,0,0,0,0,0,28,50389,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108034,0,3,0,61,0,100,0,0,0,0,0,28,50390,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108035,0,0,1,1,0,100,1,1000,1000,1000,1000,11,50389,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108035,0,1,0,61,0,100,1,0,0,0,0,11,50390,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108035,0,2,3,4,0,100,0,0,0,0,0,28,50389,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108035,0,3,0,61,0,100,0,0,0,0,0,28,50390,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108036,0,0,1,1,0,100,1,1000,1000,1000,1000,11,50389,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108036,0,1,0,61,0,100,1,0,0,0,0,11,50390,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108036,0,2,3,4,0,100,0,0,0,0,0,28,50389,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108036,0,3,0,61,0,100,0,0,0,0,0,28,50390,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108037,0,0,1,1,0,100,1,1000,1000,1000,1000,11,50389,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108037,0,1,0,61,0,100,1,0,0,0,0,11,50390,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-108037,0,2,3,4,0,100,0,0,0,0,0,28,50389,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-108037,0,3,0,61,0,100,0,0,0,0,0,28,50390,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-203372,0,0,1,1,0,100,1,1000,1000,1000,1000,11,50389,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-203372,0,1,0,61,0,100,1,0,0,0,0,11,50390,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-203372,0,2,3,4,0,100,0,0,0,0,0,28,50389,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-203372,0,3,0,61,0,100,0,0,0,0,0,28,50390,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-203373,0,0,1,1,0,100,1,1000,1000,1000,1000,11,50389,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-203373,0,1,0,61,0,100,1,0,0,0,0,11,50390,1,0,0,0,0,1,0,0,0,0,0,0,0,'Rotting Storm Giant - On reset - Cast Flesh Construct Test'), (-203373,0,2,3,4,0,100,0,0,0,0,0,28,50389,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'), (-203373,0,3,0,61,0,100,0,0,0,0,0,28,50390,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Rotting Storm Giant - On Aggro - Remove Flesh Construct Test'); -- Remove auras from creature addon UPDATE `creature_addon` SET `auras`= '' WHERE `guid` IN (108034,108035,108036,108037,203372,203373);[/sql]

Why set scripts by GUID if those guids are all the creatures that are spawned?

Combat scripts still work if you set by entry

because not all of them stand on the edge and cast, there are actually a few that only path afaik

Complete