This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM `smart_scripts` WHERE `entryorguid`=27439 AND `source_type`=0; | |
DELETE FROM `smart_scripts` WHERE `entryorguid`=2743900 AND `source_type`=9; | |
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`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `cus_target_param1`, `comment`) VALUES | |
(27439, 0, 0, 1, 10, 0, 100, 513, 1, 20, 0, 0, 1, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Abbot Landgren - OOC Los - Store Target'), | |
(27439, 0, 1, 0, 61, 0, 100, 512,0, 0, 0, 0, 0, 53, 0, 27439, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Abbot Landgren - OOC Los - Start WP'), | |
(27439, 0, 2, 3, 40, 0, 100, 512,2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else if (bg_template->IsRatedBG()) | |
{ | |
// found out the minimum and maximum ratings the newly added team should battle against | |
// arenaRating is the rating of the latest joined team, or 0 | |
// 0 is on (automatic update call) and we must set it to team's with longest wait time | |
if (!arenaRating) | |
{ | |
GroupQueueInfo* front1 = NULL; | |
GroupQueueInfo* front2 = NULL; | |
if (!m_QueuedGroups[bracket_id][BG_QUEUE_PREMADE_ALLIANCE].empty()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Framework.Constants; | |
using Framework.GameMath; | |
using Game.AI; | |
using Game.Entities; | |
using Game.Maps; | |
using Game.Scripting; | |
using Game.Spells; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; |