Advertisement
_Stuff_

Ashes to Ashes (Quest=26010)

Apr 12th, 2020
866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.58 KB | None | 0 0
  1. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 13 AND `ConditionTypeOrReference` = 31 AND `SourceGroup` = 1 AND `SourceEntry` = 78140;
  2. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`, `ErrorType`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES
  3. (13, 1, 78140, 0, 0, 31, 0, 5, 203431, 0, 0, 0, 0, '', 'On Spell Target - target object');
  4.  
  5. UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` = 203431;
  6. DELETE FROM `smart_scripts` WHERE entryorguid = 203431 AND source_type = 1;
  7. 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
  8. (203431, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 33, 41936, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On GameObject Loot State Changed - Call KilledMonster - Target Invoker'),
  9. (203431, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 118, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On GameObject Loot State Changed - Set GOB state - Target Self'),
  10. (203431, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On GameObject Link - Force Despawn - Target Self');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement