[Completed][Complete] SAI for Henze Faulk & Narm Faulk

[CODE]-- SAI for Henze Faulk
SET @ENTRY := 6172;
UPDATE creature_template SET AIName=‘SmartAI’ WHERE entry=@ENTRY;
DELETE FROM smart_scripts WHERE source_type=0 AND entryorguid=@ENTRY;
DELETE FROM smart_scripts WHERE source_type=9 AND entryorguid IN (@ENTRY100);
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
– AI
(@ENTRY,0,0,1,11,0,100,0,0,0,0,0,11,29266,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - On spawn - add aura’),
(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - Script - set npcflags’),
(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - On spawn - set phase 1’),
(@ENTRY,0,3,0,8,1,100,0,8593,0,0,0,80,@ENTRY
100,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - On spellhit - run script (phase 1)’),
– Script
(@ENTRY100,9,0,0,0,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - Script - set phase 0’),
(@ENTRY
100,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0, ‘Henze Faulk - Script - turn to player’),
(@ENTRY100,9,2,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0, ‘Henze Faulk - Script - say text’),
(@ENTRY
100,9,3,0,0,0,100,0,1500,1500,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - Script - set npcflags’),
(@ENTRY*100,9,4,0,0,0,100,0,120000,120000,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Henze Faulk - Script - evade (reset script)’);
– NPC talk text insert
DELETE FROM creature_text WHERE entry=@ENTRY;
INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES
(@ENTRY,0,0, ‘Thank you, dear $C, you just saved my life.’,0,7,100,1,0,0, ‘Henze Faulk’);
– Scripting cleanup
UPDATE creature_template SET ScriptName= ‘’,RegenHealth=0 WHERE entry=@ENTRY;
UPDATE creature_template_addon SET auras=‘’ WHERE entry=@ENTRY;

– SAI for Narm Faulk
SET @ENTRY := 6177;
UPDATE creature_template SET AIName=‘SmartAI’ WHERE entry=@ENTRY;
DELETE FROM smart_scripts WHERE source_type=0 AND entryorguid=@ENTRY;
DELETE FROM smart_scripts WHERE source_type=9 AND entryorguid IN (@ENTRY100);
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
– AI
(@ENTRY,0,0,1,11,0,100,0,0,0,0,0,11,29266,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - On spawn - add aura’),
(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - Script - set npcflags’),
(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - On spawn - set phase 1’),
(@ENTRY,0,3,0,8,1,100,0,8593,0,0,0,80,@ENTRY
100,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - On spellhit - run script (phase 1)’),
– Script
(@ENTRY100,9,0,0,0,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - Script - set phase 0’),
(@ENTRY
100,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0, ‘Narm Faulk - Script - turn to player’),
(@ENTRY100,9,2,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0, ‘Narm Faulk - Script - say text’),
(@ENTRY
100,9,3,0,0,0,100,0,1500,1500,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - Script - set npcflags’),
(@ENTRY*100,9,4,0,0,0,100,0,120000,120000,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Narm Faulk - Script - evade (reset script)’);
– NPC talk text insert
DELETE FROM creature_text WHERE entry=@ENTRY;
INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES
(@ENTRY,0,0, ‘Thank you, dear $C, you just saved my life.’,0,7,100,1,0,0, ‘Narm Faulk’);
– Scripting cleanup
UPDATE creature_template SET ScriptName= ‘’,RegenHealth=0 WHERE entry=@ENTRY;
UPDATE creature_template_addon SET auras=‘’ WHERE entry=@ENTRY;[/sql]
[/CODE]

prolly same is needed for the other pally quests?

Different spells. I’ll have to look at them.