[WIP][core] SAI for Ruul the Darkener

[CODE]-- SAI for Ruul the Darkener
SET @ENTRY := 21315;
UPDATE creature_template SET speed_walk=2.4,speed_run=1.5,ScriptName=‘’,AIName=‘SmartAI’ WHERE entry=@ENTRY;
UPDATE creature_template_addon SET bytes2=1 WHERE entry=@ENTRY;
UPDATE creature SET position_x=-3761.743,position_y=1081.672,position_z=125.3161 WHERE id=@ENTRY;
DELETE FROM creature WHERE guid=86103;
DELETE FROM smart_scripts WHERE source_type=0 AND entryorguid=@ENTRY;
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,11,0,100,0,0,0,0,0,53,0,@ENTRY,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - On Spawn - Load Path’),
(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,60,1,0,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - On Spawn - Set fly on’),
(@ENTRY,0,2,3,40,0,100,0,9,@ENTRY,0,0,18,512,0,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - Reach wp - Add unit flags’),
(@ENTRY,0,3,0,61,0,100,0,0,0,0,0,19,6384,0,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - Reach wp - remove unit flags’),
(@ENTRY,0,4,0,40,0,100,0,12,@ENTRY,0,0,60,0,0,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - Reach wp - Set fly off’),
(@ENTRY,0,5,0,40,0,100,0,24,@ENTRY,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - Reach wp - despawn’),
– Combat AI (Not Complete)
(@ENTRY,0,6,0,4,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - On aggro - Set phase 1’),
(@ENTRY,0,7,0,6,1,100,0,0,0,0,0,12,25193,4,30000,0,1,0,1,0,0,0,0,0,0,0,‘Ruul the Darkener - On death - Summon Ruul’‘s Nether Drake (Phase 1)’);

– Waypoints for Ruul the Darkener from sniff
DELETE FROM waypoints WHERE entry=@ENTRY;
INSERT INTO waypoints (entry,pointid,position_x,position_y,position_z,point_comment) VALUES
(@ENTRY,1,-3805.743,1074.672,125.3161, ‘Ruul the Darkener WP’),
(@ENTRY,2,-3806.74,1074.585,125.3161, ‘Ruul the Darkener WP’),
(@ENTRY,3,-3844.399,1071.154,116.4082, ‘Ruul the Darkener WP’),
(@ENTRY,4,-3871.77,1061.122,104.3527, ‘Ruul the Darkener WP’),
(@ENTRY,5,-3897.401,1040.65,84.43602, ‘Ruul the Darkener WP’),
(@ENTRY,6,-3923.55,1019.801,59.43599, ‘Ruul the Darkener WP’),
(@ENTRY,7,-3946.312,1007.962,41.49157, ‘Ruul the Darkener WP’),
(@ENTRY,8,-3981.2,987.1596,17.43604, ‘Ruul the Darkener WP’),
(@ENTRY,9,-4003.07,957.1582,13.24213, ‘Ruul the Darkener WP’),
(@ENTRY,10,-4012.831,932.0213,12.51513, ‘Ruul the Darkener WP’),
(@ENTRY,11,-4023.356,901.5677,8.140135, ‘Ruul the Darkener WP’),
(@ENTRY,12,-4033.129,864.9609,4.726814, ‘Ruul the Darkener WP’),
(@ENTRY,13,-4039.05,829.5438,1.101814, ‘Ruul the Darkener WP’),
(@ENTRY,14,-4046.8,785.2863,2.422696, ‘Ruul the Darkener WP’),
(@ENTRY,15,-4053.405,754.4661,1.867994, ‘Ruul the Darkener WP’),
(@ENTRY,16,-4077.986,718.4368,1.501426, ‘Ruul the Darkener WP’),
(@ENTRY,17,-4104.671,681.145,2.619006, ‘Ruul the Darkener WP’),
(@ENTRY,18,-4124.385,652.7042,3.424712, ‘Ruul the Darkener WP’),
(@ENTRY,19,-4139.037,629.68,4.261003, ‘Ruul the Darkener WP’),
(@ENTRY,20,-4144.591,607.7719,5.011003, ‘Ruul the Darkener WP’),
(@ENTRY,21,-4148.39,587.783,8.4231, ‘Ruul the Darkener WP’),
(@ENTRY,22,-4155.772,562.8152,11.38299, ‘Ruul the Darkener WP’),
(@ENTRY,23,-4165.006,542.4948,15.88299, ‘Ruul the Darkener WP’),
(@ENTRY,24,-4174.202,524.9961,22.73551, ‘Ruul the Darkener WP’);[/sql]
[/CODE]

Tried to turn fly mode off not working.

Needs someone to get into combat with him on offi and and get combat info.

http://www.wowhead.com/spell=15284

http://www.wowhead.com/spell=35871

wowhead comments.

He’s immune to ALL snare, stuns, frost effects

once you have killed Ruul you also have to kill his netherdrake mount. – done

if you kill him as a Dragonmaw Orc, you don’t have to kill his drake.

I’ve tried everything, I can’t turn of fly mode grrrrrrrrrr.

Could a core dev please look at why I can’t turn fly off?