Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 113682;
- DELETE FROM `smart_scripts` WHERE `entryorguid` = 113682 AND `source_type` = 0;
- 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
- (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'),
- (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'),
- (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'),
- (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');
- DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 226289 AND `spell_effect` = 226306;
- 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
- (226289, 226306, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, '', '', 0, 6);
- UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 113741;
- DELETE FROM `smart_scripts` WHERE `entryorguid` = 113741 AND `source_type` = 0;
- 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
- (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'),
- (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'),
- (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'),
- (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'),
- (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');
- -- Конд на спелл в моба
- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 1 AND `SourceEntry` = 226351;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`, `MaxExpansion`, `MinExpansion`) VALUES
- (13, 1, 226351, 0, 0, 31, 0, 3, 113682, 0, 0, 0, '', 'cast on mob', 0, 6);
- UPDATE `creature_template_addon` SET `auras` = '226203' WHERE `entry` = 113682;
- UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 113745;
- DELETE FROM `smart_scripts` WHERE `entryorguid` = 113745 AND `source_type` = 0;
- 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
- (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');
- -- конд на смарт выше
- DELETE FROM conditions WHERE SourceTypeOrReferenceId IN (22) AND SourceGroup IN (1) and SourceEntry IN (113682) AND SourceId = 0;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`, `MaxExpansion`, `MinExpansion`) VALUES
- (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