[Completed]Shattered Sun Marksman SAI

Spell is not targeting dummies. shots are going random all over the place.

[CODE]-- Shattered Sun Marksman fixup (tested)
– Console no longer spamming waypoint script errors in The Dawning Square
UPDATE creature_template SET AIName= ‘SmartAI’ WHERE entry=24938;
– Shattered Sun Marksman shoot at Bridge Marksman Target Dummy SAI
DELETE FROM smart_scripts WHERE entryorguid IN (-65694,-65695,-65696,-65697,-65698,-65699,-65700,-65702);
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
(-65694,0,0,0,1,0,100,0,5000,5000,5000,7000,11,45223,0,0,0,0,0,10,62844,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65695,0,0,0,1,0,100,0,2000,2000,5000,7000,11,45223,0,0,0,0,0,10,62844,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65696,0,0,0,1,0,100,0,3000,3000,5000,7000,11,45223,0,0,0,0,0,10,62843,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65697,0,0,0,1,0,100,0,6000,6000,5000,7000,11,45223,0,0,0,0,0,10,62843,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65698,0,0,0,1,0,100,0,2000,2000,5000,7000,11,45223,0,0,0,0,0,10,59515,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65699,0,0,0,1,0,100,0,5000,5000,5000,7000,11,45223,0,0,0,0,0,10,62841,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65700,0,0,0,1,0,100,0,1000,1000,5000,7000,11,45223,0,0,0,0,0,10,62842,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’),
(-65702,0,0,0,1,0,100,0,5000,5000,5000,7000,11,45223,0,0,0,0,0,10,59473,25192,0,0,0,0,0,‘Shattered Sun Marksman - OOC 5-7 sec - Shoot at trigger’);
– Remove path data and scripts from Shattered Sun Marksman
DELETE FROM waypoint_data WHERE id IN (656940,656950,656960,656970,656980,656990,657000,657020);
DELETE FROM waypoint_scripts WHERE id BETWEEN 80 AND 111;
UPDATE creature SET spawndist=0,MovementType=0 WHERE guid IN (65694,65695,65696,65697,65698,65699,65700,65702);
UPDATE creature_addon SET path_id=0 WHERE guid IN (65694,65695,65696,65697,65698,65699,65700,65702);

– Fix Spell condition for Spell 45223 to target Bridge Marksman Target Dummy 25192
DELETE FROM conditions WHERE SourceTypeOrReferenceId=13 AND SourceEntry=45223;
INSERT INTO conditions (SourceTypeOrReferenceId,SourceGroup,SourceEntry,ElseGroup,ConditionTypeOrReference,ConditionValue1,ConditionValue2,ConditionValue3,ErrorTextId,ScriptName,Comment) VALUES
(13,0,45223,0,18,1,25192,0,0,‘’,‘Spell 45223 targets Bridge Marksman Target Dummy’);[/sql]
[/CODE]

Anyone with any ideas on this targeting issue?

missing spellScriptTarget?

or unscripted dummy effect…