bucur35

Know Your Ley Lines

Aug 24th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.93 KB | None | 0 0
  1. /********************
  2.  Know Your Ley Lines
  3.  *******************/
  4.  
  5.  /**************
  6.      Assign
  7.  **************/
  8.  
  9.  UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=34533;    
  10.  
  11.  /*********
  12.    Script
  13.  *********/  
  14.  
  15.  DELETE FROM `smart_scripts` WHERE  `entryorguid`=34533 AND `source_type`=1 AND `id`=2 AND `link`=0 LIMIT 1;
  16.  INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`,
  17.  `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`,
  18.  `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`,
  19.  `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`,
  20.  `target_param1`, `target_param2`, `target_param3`, `target_x`, `comment`, `target_y`,
  21.  `target_z`, `target_o`) VALUES
  22.  (34533, 1, 2, 0, 8, 0, 100, 32, 45191, 0, 0, 0, 33, 1, 0, 0 , 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Bla Bla Bla');
Advertisement
Add Comment
Please, Sign In to add comment