Advertisement
bucur35

Untitled

Oct 27th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.69 KB | None | 0 0
  1. SET @ENTRY:= 34846;
  2. UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
  3.      
  4. DELETE FROM `smart_scripts` WHERE  `entryorguid`=@ENTRY;
  5. 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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
  6. (@ENTRY, 0, 0, 0, 6, 0, 100, 0, 0, 0, 0, 0, 12, 3395, 2, 100000, 0, 0, 0, 8, -1209.24, -2741.25, 102.575, 1.752177, 'On Death - Summon creature');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement