[Problem] Modifed Sai Is Not Working, Please Help

I Took SAI from NPC that cast spell on A Target

Changed only the entry of the npc and the target, That’s all I changed, and its not working and i tried many things and didnt work for me

is there any background settings that i cant see/touch? please help me to fix and explain why it didnt work

Here is the orginal SAI - the NPC casting the spell and i can see the link between the caster and the target.


INSERT INTO `smart_scripts` VALUES

('25392', '0', '0', '0', '1', '0', '100', '0', '2000', '6000', '32000', '32000', '80', '2539200', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0.0', '0.0', '0.0', '0.0', 'High Priest Andorath - OOC - Run Script every 32 sec');

('2539200', '9', '0', '0', '0', '0', '100', '0', '0', '0', '0', '0', '11', '45491', '0', '0', '0', '0', '0', '11', '25534', '20', '0', '0.0', '0.0', '0.0', '0.0', 'High Priest Andorath - script - Channel spell');

('2539200', '9', '1', '0', '0', '0', '100', '0', '23000', '23000', '0', '0', '92', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0.0', '0.0', '0.0', '0.0', 'High Priest Andorath - script - Stop Channeling');

Here is the Modified SAI - the npcs doing nothing, SAI doesnt effect them… there is 3 NPC arround the Target ID (26076) And i Tried to make 3 of them to link the same spell on the target


DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25378,2537800);

INSERT INTO `smart_scripts` VALUES

('25378', '0', '0', '0', '1', '0', '100', '0', '2000', '6000', '32000', '32000', '80', '2537800', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0.0', '0.0', '0.0', '0.0', 'Necromaner - OOC - Run Script every 32 sec'),

('2537800', '9', '0', '0', '0', '0', '100', '0', '0', '0', '0', '0', '11', '45491', '0', '0', '0', '0', '0', '11', '26076', '20', '0', '0.0', '0.0', '0.0', '0.0', 'Necromaner - script - Channel spell'),

('2537800', '9', '1', '0', '0', '0', '100', '0', '23000', '23000', '0', '0', '92', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0.0', '0.0', '0.0', '0.0', 'Necromaner - script - Stop Channeling');

UPDATE `creature_template` SET AIName='SmartAI' WHERE entry='25378';

Check if the npc has eai,

DELETE FROM creature_ai_scripts WHERE creature_id = 25378

[/CODE]

Thank you for respond ill try it now, and yes it have EAI

Remove eai to have SAI working.

Dont forget to convert the original EAI to SAI:

[CODE]
– En’kilah Necromancer
SET @ENTRY := 25378;

DELETE FROM creature_ai_scripts WHERE creature_id=@entry;
DELETE FROM smart_scripts WHERE entryorguid=@ENTRY AND source_type=0;
UPDATE creature_template SET AIName=‘SmartAI’ WHERE entry=@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,0,0,0,100,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,‘En'kilah Necromancer - Prevent Combat Movement on Spawn’),
(@ENTRY,0,1,2,4,0,100,0,0,0,0,0,11,9613,0,0,0,0,0,2,0,0,0,0,0,0,0,‘En'kilah Necromancer - Cast Fireball and Set Phase 1 on Aggro’),
(@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,‘En'kilah Necromancer - Cast Fireball and Set Phase 1 on Aggro’),
(@ENTRY,0,3,0,9,1,100,1,0,40,3400,5400,11,9613,0,0,0,0,0,2,0,0,0,0,0,0,0,‘En'kilah Necromancer - Cast Fireball (Phase 1)’),
(@ENTRY,0,4,0,3,1,100,0,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,‘En'kilah Necromancer - Start Combat Movement and Set Phase 2 when Mana is at 15% (Phase 1)’),
(@ENTRY,0,5,0,9,1,100,0,35,80,0,0,21,1,0,0,0,0,0,0,0,0,0,0,0,0,0,‘En'kilah Necromancer - Start Combat Movement at 35 Yards (Phase 1)’),
(@ENTRY,0,6,0,9,1,100,0,5,15,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,‘En'kilah Necromancer - Prevent Combat Movement at 15 Yards (Phase 1)’),
(@ENTRY,0,7,0,3,2,100,0,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,‘En'kilah Necromancer - Set Phase 1 when Mana is above 30% (Phase 2)’),
(@ENTRY,0,8,0,0,0,100,1,4500,7900,40000,55000,11,32063,0,0,0,0,0,0,0,0,0,0,0,0,0,‘En'kilah Necromancer - Cast Corruption’),
(@ENTRY,0,9,0,7,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,‘En'kilah Necromancer - Set Phase to 0 on Evade’);[/sql][/CODE]

lol already did that V_V and saw that just now

thx for that to bad didnt saw it sooner

And Thank you for your help I now know if i want to use SAI i need to remove EAI first.