DB/SAI: Fix several runtime warnings / logical mistakes

* Wrong event types for linked events
* Possible multiple AI template initialization
This commit is contained in:
Gacko
2013-06-29 20:46:54 +02:00
parent 0e4cebf9c6
commit c13e84f1f9

View File

@@ -0,0 +1,3 @@
UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (9818,9817) AND `id`=0 AND `source_type`=0;
UPDATE `smart_scripts` SET `event_type`=61 WHERE ((`entryorguid`=10817 AND `id`=9) OR (`entryorguid`= 1399 AND `id`=3)) AND `source_type`=0;
UPDATE `smart_scripts` SET `link`=11 WHERE `entryorguid`=314 AND `id`=10 AND `source_type`=0;