frenado05

Untitled

May 28th, 2026
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.97 KB | None | 0 0
  1. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 113682;
  2. DELETE FROM `smart_scripts` WHERE `entryorguid` = 113682 AND `source_type` = 0;
  3. 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param_float`, `action_delay`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
  4. (113682, 0, 0, 1, 62, 0, 100, 0, 20422, 0, 0, 0, 0, 85, 226289, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'GS - Cast'),
  5. (113682, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Link - Despawn'),
  6. (113682, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Link - Despawn'),
  7. (113682, 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 11, 226382, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cast');
  8.  
  9. DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 226289 AND `spell_effect` = 226306;
  10. INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `caster`, `target`, `hastype`, `hastalent`, `hasparam`, `hastype2`, `hastalent2`, `hasparam2`, `chance`, `cooldown`, `duration`, `hitmask`, `removeMask`, `effectMask`, `targetCountType`, `targetCount`, `actiontype`, `group`, `param`, `randList`, `comment`, `MaxExpansion`, `MinExpansion`) VALUES
  11. (226289, 226306, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, '', '', 0, 6);
  12.  
  13. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 113741;
  14. DELETE FROM `smart_scripts` WHERE `entryorguid` = 113741 AND `source_type` = 0;
  15. 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param_float`, `action_delay`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
  16. (113741, 0, 0, 1, 54, 0, 100, 1, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'just sum - set pet mode'),
  17. (113741, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Link - Follow'),
  18. (113741, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 8, 3, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Link - Helper'),
  19. (113741, 0, 3, 0, 0, 0, 100, 0, 6000, 8000, 14000, 20000, 0, 11, 219339, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cast Spell'),
  20. (113741, 0, 4, 0, 9, 0, 100, 0, 5, 30, 7000, 12000, 0, 11, 219588, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cast Spell');
  21.  
  22. -- Конд на спелл в моба
  23. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 1 AND `SourceEntry` = 226351;
  24. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`, `MaxExpansion`, `MinExpansion`) VALUES
  25. (13, 1, 226351, 0, 0, 31, 0, 3, 113682, 0, 0, 0, '', 'cast on mob', 0, 6);
  26.  
  27. UPDATE `creature_template_addon` SET `auras` = '226203' WHERE `entry` = 113682;
  28.  
  29. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 113745;
  30. DELETE FROM `smart_scripts` WHERE `entryorguid` = 113745 AND `source_type` = 0;
  31. 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param_float`, `action_delay`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
  32. (113745, 0, 0, 0, 54, 0, 100, 1, 0, 0, 0, 0, 0, 11, 226351, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'just sum - Cast');
  33.  
  34. -- конд на смарт выше
  35. DELETE FROM conditions WHERE SourceTypeOrReferenceId IN (22) AND SourceGroup IN (1) and SourceEntry IN (113682) AND SourceId = 0;
  36. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`, `MaxExpansion`, `MinExpansion`) VALUES
  37. (22, 1, 113682, 0, 0, 50, 0, 1155, 50, 0, 0, 0, '', 'True If player Have Currency', 0, 6);
Advertisement
Add Comment
Please, Sign In to add comment