diff options
author | Malcrom <malcromdev@gmail.com> | 2012-12-25 20:26:45 -0330 |
---|---|---|
committer | Malcrom <malcromdev@gmail.com> | 2012-12-25 20:26:45 -0330 |
commit | a01087295b4d243f1e4c8b17cfe4eaef96b47111 (patch) | |
tree | 12de59fc4554bfd35fca8671073342c673e0c9bc | |
parent | d47dfc9eb415ca9a747d27c9ac65c991757a0bd8 (diff) |
DB/SAI: Fix Errors in Previous SAI
-rw-r--r-- | sql/updates/world/2012_12_25_03_world_sai.sql | 8 | ||||
-rw-r--r-- | sql/updates/world/2012_12_25_04_world_sai.sql | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/sql/updates/world/2012_12_25_03_world_sai.sql b/sql/updates/world/2012_12_25_03_world_sai.sql index d85f0179160..2a7553aabb3 100644 --- a/sql/updates/world/2012_12_25_03_world_sai.sql +++ b/sql/updates/world/2012_12_25_03_world_sai.sql @@ -44,10 +44,10 @@ SET @ENTRY := 28136; UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; 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,54,0,100,0,0,0,0,0,11,50681,4,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - On Spawn - cast Bleeding Out'), +(@ENTRY,0,0,1,54,0,100,0,0,0,0,0,11,50665,4,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - On Spawn - cast Bleeding Out'), (@ENTRY,0,1,2,61,0,100,0,0,0,0,0,29,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Crusader Jonothan - On Spawn - follow envoker'), (@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, 'Crusader Jonothan - On Spawn - Set Phase 1'), -(@ENTRY,0,3,0,23,0,100,0,50681,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - Aura missing - despawn'), +(@ENTRY,0,3,0,23,0,100,0,50665,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - Aura missing - despawn'), (@ENTRY,0,4,0,8,1,100,0,50669,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - On spell hit - Set Phase 2'), (@ENTRY,0,5,0,1,2,100,1,0,0,0,0,11,50671,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - OOC - Cast Kill Credit Jonothan 01 (Phase 2)'), (@ENTRY,0,6,0,1,2,100,1,100,100,0,0,11,50709,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Jonothan - OOC - Cast Strip Aura Jonothan 01 (Phase 2)'), @@ -59,10 +59,10 @@ SET @ENTRY := 28148; UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; 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,54,0,100,0,0,0,0,0,11,50681,4,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - On Spawn - cast Bleeding Out'), +(@ENTRY,0,0,1,54,0,100,0,0,0,0,0,11,50695,4,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - On Spawn - cast Bleeding Out'), (@ENTRY,0,1,2,61,0,100,0,0,0,0,0,29,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Crusader Josephine - On Spawn - follow envoker'), (@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, 'Crusader Josephine - On Spawn - Set Phase 1'), -(@ENTRY,0,3,0,23,0,100,0,50681,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - Aura missing - despawn'), +(@ENTRY,0,3,0,23,0,100,0,50695,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - Aura missing - despawn'), (@ENTRY,0,4,0,8,1,100,0,50669,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - On spell hit - Set Phase 2'), (@ENTRY,0,5,0,1,2,100,1,0,0,0,0,11,50698,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - OOC - Cast Kill Credit Josephine 01 (Phase 2)'), (@ENTRY,0,6,0,1,2,100,1,100,100,0,0,11,50711,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crusader Josephine - OOC - Cast Strip Aura Josephine 01 (Phase 2)'), diff --git a/sql/updates/world/2012_12_25_04_world_sai.sql b/sql/updates/world/2012_12_25_04_world_sai.sql new file mode 100644 index 00000000000..46b2c4c2fd1 --- /dev/null +++ b/sql/updates/world/2012_12_25_04_world_sai.sql @@ -0,0 +1,6 @@ +-- Fix SAI for Crusader Jonothan +UPDATE `smart_scripts` SET `action_param1`=50665 WHERE `entryorguid`=28136 AND `id`=0; +UPDATE `smart_scripts` SET `event_param1`=50665 WHERE `entryorguid`=28136 AND `id`=3; +-- Fix SAI for Crusader Josephine +UPDATE `smart_scripts` SET `action_param1`=50695 WHERE `entryorguid`=28148 AND `id`=0; +UPDATE `smart_scripts` SET `event_param1`=50695 WHERE `entryorguid`=28148 AND `id`=3; |