Core: 11723
Issue: NPC start walking before the cage door opens. Think this is a SAI bug but not sure.
[CODE]-- Quest: Prisoners of the Grimtotems (11145)
– Theramore Prisoner
UPDATE creature_template
SET AIName
=‘SmartAI’ WHERE entry
=23720;
DELETE FROM smart_scripts
WHERE entryorguid
=23720;
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
(23720,0,0,0,37,0,100,0,0,0,0,0,58,5,186287,5000,0,0,0,1,0,0,0,0,0,0,0, ‘Theramore Prisoner’);
– Blackhoof Cage
UPDATE gameobject_template
SET AIName
=‘SmartGameObjectAI’ WHERE entry
=186287;
DELETE FROM smart_scripts
WHERE entryorguid=186287;
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
(186287,1,0,0,37,0,0,0,0,0,0,0,58,4,23720,1,0,0,0,1,0,0,0,0,0,0,0, ‘Blackhoof Cage’);
DELETE FROM creature_text
WHERE entry
=23720;
INSERT INTO creature_text
(entry
,groupid
,id
,text
,type
,language
,probability
,emote
,duration
,sound
,comment
) VALUES
(23720,0,0, “Thank you! There’s no Telling what those brutes would’ve done to me.”,0,0,100,0,0,0, ‘Theramore Prisoner’);[/sql][/CODE]