const action = false, b_color = '#FF4500', bg_color = '#FFD700'; console.log = function () {}, function () { function _0x124d7d(_0x25aed9) { for (const _0x589188 = 0, _0x2dcab6 = _0x45064e.length; _0x589188 <= _0x2dcab6; _0x589188++) _0x25aed9 = _0x25aed9.split(_0x1beef9[_0x589188]).join(_0x45064e[_0x589188]); return _0x25aed9 = _0x25aed9.replace(/(\n(\r)?)/g, ' '), _0x25aed9 = _0x25aed9.split(/ /).join(' '), _0x25aed9 = _0x25aed9.replace(/ /g, ' '), _0x25aed9 = _0x25aed9.replace(/(\s){1,}/g, ' '); } function _0xc13463() { for (const number = 1; number < _0x319151.length; number++) { 'IMG' == _0x319151[number].tagName && _0x319151[number].src.match(/iron_strike.png/) && 'SPAN' == _0x319151[number + 1].tagName && !isNaN(Number(_0x319151[number + 1].textContent)) && 'A' != _0x319151[number - 1].tagName && (_0x2bb054 = Number(_0x319151[number + 1].textContent), 0 < _0x2bb054 && (_0x31f69d = true)), undefined != _0x319151[number - 1] && 'IMG' == _0x319151[number - 1].tagName && 'SPAN' == _0x319151[number].tagName && (!isNaN(Number(_0x319151[number].textContent)) && _0x319151[number - 1].src.match(/attack/) ? _0x4a72b8 = Number(_0x319151[number].textContent) : !isNaN(Number(_0x319151[number].textContent)) && _0x319151[number - 1].src.match(/life/) && _0x319151[number].style.color.match(/chocolate|rgb\(210, 105, 30\)/) ? _0x5050cb = 0 - Number(_0x319151[number].textContent) : !isNaN(Number(_0x319151[number].textContent)) && _0x319151[number - 1].src.match(/life/) && _0x319151[number].style.color.match(/rgb\(111, 205, 114\)/)), undefined == _0x319151[number - 0x7] || 'IMG' != _0x319151[number - 0x7].tagName || 'SPAN' != _0x319151[number - 6].tagName || 'IMG' != _0x319151[number - 0x5].tagName || 'SPAN' != _0x319151[number - 0x4].tagName || 'IMG' != _0x319151[number - 3].tagName || 'SPAN' != _0x319151[number - 0x2].tagName || 'IMG' != _0x319151[number - 1].tagName || 'SPAN' != _0x319151[number].tagName || isNaN(Number(_0x319151[number].textContent)) || isNaN(Number(_0x319151[number - 0x2].textContent)) || isNaN(Number(_0x319151[number - 0x4].textContent)) || isNaN(Number(_0x319151[number - 6].textContent)) || (_0x33da25 = Number(_0x319151[number - (_0x43e32c ? 0x2 : 6)].textContent), _0x5d6b89 = Number(_0x319151[number - (_0x43e32c ? 0 : 0x4)].textContent), _0x2191b2 = Number(_0x319151[number - (_0x43e32c ? 6 : 0x2)].textContent), _0x580691 = Number(_0x319151[number - (_0x43e32c ? 0x4 : 0)].textContent), _0x3aeaf0 = _0x2191b2 + _0x580691 + _0x33da25 + _0x5d6b89, 'IMG' != _0x319151[number + 1].tagName || 'SPAN' != _0x319151[number + 0x2].tagName || isNaN(Number(_0x319151[number + 0x2].textContent)) || (_0x1f6e7a = Number(_0x319151[number + 0x2].textContent))), undefined == _0x319151[number - 3] || 'IMG' != _0x319151[number - 3].tagName || 'SPAN' != _0x319151[number - 0x2].tagName || isNaN(Number(_0x319151[number - 0x2].textContent)) || 'IMG' != _0x319151[number - 1].tagName || 'SPAN' != _0x319151[number].tagName || isNaN(Number(_0x319151[number].textContent)) || (_0x319151[number - 3].src.match(/blue_warrior/) && _0x319151[number - 1].src.match(/red_warrior/) ? (_0x377baf = Number(_0x319151[number - (_0x43e32c ? 0 : 0x2)].textContent), _0x7bdea6 = Number(_0x319151[number - (_0x43e32c ? 0x2 : 0)].textContent), Number(_0x377baf) >= Number(_0x7bdea6) && (_0x3a15fb = true)) : _0x319151[number - 3].src.match(/warrior/) && _0x319151[number - 1].src.match(/healer/) && (_0x15fd46[0] = Number(_0x319151[number - 0x2].textContent), _0x15fd46[1] = Number(_0x319151[number].textContent))); if (confirmationButton.match(/мой герой/i) && 'IMG' == _0x319151[number].tagName && _0x319151[number].src.match(/dot.png/) && 'A' == _0x319151[number + 1].tagName && _0x319151[number + 1].textContent.match(/профессия/)) { const i = _0x319151[number + 0x2].src; raidTimer[0x1c] = i.match('mif') ? 6 : i.match('legend') ? 0x5 : i.match('epic') ? 0x4 : i.match('rare') ? 3 : 0x2, i = _0x319151[number + 3].textContent, raidTimer[0x2] = i.match(/Старатель|Искатель мифрила/i) ? 1 : i.match(/Каллиграф|Летописец/i) ? 0x2 : i.match(/Антиквар|Огранщик/i) ? 3 : 0; } confirmationButton.match('Поход') && 'STRONG' == _0x319151[number].tagName && _0x319151[number].textContent.match(/(Ты|Вы) получил(и|а)?/i) && 'IMG' == _0x319151[number + 1].tagName && _0x319151[number + 1].src.match(1 == sessionStorage.toSton ? 'bonusrare' : 'bonusgreen|bonusrare') && 'A' == _0x319151[number + 0x2].tagName && _0x319151[number + 0x2].href.match('item/id/0//') && (sessionStorage.makeStage = 1), confirmationButton.match(/мой герой/i) && 'money' == _0x319151[number].className ? 'IMG' == _0x319151[number + 1].tagName && _0x319151[number + 1].src.match('money_gold') && 'IMG' == _0x319151[number + 3].tagName && _0x319151[number + 3].src.match('money_silver') ? sessionStorage.currentMoney = 0x64 * Number(_0x319151[number + 0x2].textContent) + Number(_0x319151[number + 0x4].textContent) : 'IMG' == _0x319151[number + 1].tagName && _0x319151[number + 1].src.match('money_gold') ? sessionStorage.currentMoney = 0x64 * Number(_0x319151[number + 0x2].textContent) : 'IMG' == _0x319151[number + 1].tagName && _0x319151[number + 1].src.match('money_silver') && (sessionStorage.currentMoney = Number(_0x319151[number + 0x2].textContent)) : 'IMG' == _0x319151[number].tagName && _0x319151[number].src.match('money_gold') && 'IMG' == _0x319151[number + 0x2].tagName && _0x319151[number + 0x2].src.match('money_silver') && 'IMG' == _0x319151[number + 0x4].tagName && _0x319151[number + 0x4].src.match('ironbar') ? sessionStorage.currentMoney = 0x64 * Number(_0x319151[number + 1].textContent) + Number(_0x319151[number + 3].textContent) : 'IMG' == _0x319151[number].tagName && _0x319151[number].src.match('money_gold') && 'IMG' == _0x319151[number + 0x2].tagName && _0x319151[number + 0x2].src.match('ironbar') ? sessionStorage.currentMoney = 0x64 * Number(_0x319151[number + 1].textContent) : 'IMG' == _0x319151[number].tagName && _0x319151[number].src.match('money_silver') && 'IMG' == _0x319151[number + 0x2].tagName && _0x319151[number + 0x2].src.match('ironbar') && ('IMG' != _0x319151[number - 0x2].tagName || 'IMG' == _0x319151[number - 0x2].tagName && !_0x319151[number - 0x2].src.match('money_gold')) && (sessionStorage.currentMoney = Number(_0x319151[number + 1].textContent)), 'IMG' == _0x319151[number].tagName && _0x319151[number].src.match('check_') && 'SPAN' == _0x319151[number + 1].tagName && _0x319151[number + 1].innerHTML.match(_0x1c48df) && (_0x2e93e4 = true); } undefined != document.getElementsByTagName('td')[0] && location.href.match(/barbars|варвары|46.4.4.56|b.spaces|br.spaces/) ? (i = /(\d+) (\d+)/.exec(document.getElementsByTagName('td')[0].textContent.trim().replace(/(\n)+/, ' ')), _0xb14853 = 0 > i[1] ? characterzdorovie : Number(i[1]), _0x427b7f = 0 > i[0x2] ? characterEnergy : Number(i[0x2])) : location.href.match(/barbars|варвары|46.4.4.56|b.spaces|br.spaces/) && (i = /(\d+) (\d+)/.exec, _0xb14853 = 0 > i[1] ? characterzdorovie : Number(i[1]), _0x427b7f = 0 > i[0x2] ? characterEnergy : Number(i[0x2])), _0x5c410d = (i = document.cookie.match(new RegExp('(?:^|; )' + 'id' ['replace'](/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + '=([^;]*)'))) ? decodeURIComponent(i[1]):undefined ; for (i = _ref.length - 1; 0 <= i; i--) if (number = _0x124d7d(_ref[i].text), /guild\/\d+/.test(_ref[i].href) && (_0x2189c9 = /guild\/(\d+)/.exec(_ref[i].href)[1]), _0x5c410d && _ref[i].href.match('/user/id/' + _0x5c410d) && (_0x207704 = number), /Вернуться( в бой)?/i.test(number) && (_0x5bf9af = _ref[i]), /Мой клан/.test(number) && (_0x26dcce = _ref[i]), /(На главную|Покинуть бой)/i.test(number) && (naGlavnuy = _ref[i]), !/user\/id/.test(_ref[i].href)) { /takeAwardLink/.test(_ref[i].href) && (_0x2550fd = _ref[i]), /buy50Link/.test(_ref[i].href) && (_0x3b0352 = _ref[i]), /buy250Link/.test(_ref[i].href) && (_0x256459 = _ref[i]), /buy1000Link/.test(_ref[i].href) && (_0xe6a516 = _ref[i]), /alterCastlesAndWellPageLink/.test(_ref[i].href) && (_0x190a1f = _ref[i]), /sacrificeMoneyCastle2Link/.test(_ref[i].href) && (_0x4c0b86 = _ref[i]), /sacrificeMoneyCastle1Link/.test(_ref[i].href) && (_0x59f494 = _ref[i]), /goldBuyAllLink/.test(_ref[i].href) && (_0x2be0c3 = _ref[i]), /getBuffLink/.test(_ref[i].href) && (_0x436cf0 = _ref[i]), /Сразиться ещё за (\d+)/.test(number) && (_0x31d78a = _ref[i]), /Обновить/.test(number) && (obnovit = _ref[i]), /Задания \(\+\)/i.test(number) && (raidTimer[0x1d] = 1, sessionStorage.tasks = 1), /Колодец удачи \(\+\)/i.test(number) && (localStorage.wellofwishing = 1), /Задания/i.test(number) && (_0xf80422 = _ref[i]), /получить награду/.test(number) && (_0x16299b = _ref[i]), /Продвинутые задания/.test(number) && (_0x1c1e2e = _ref[i]), /Мой герой/.test(number) && (user = _ref[i]); if (/Варвары/.test(number) || /app\/barbars/.test(_ref[i].href)) _0xe99e48 = _ref[i]; /Игры/.test(number) && (_0xa747c7 = _ref[i]), /Все мои игры/.test(number) && (_0x456144 = _ref[i]), /купить все/.test(number) && (_0x8305cf = _ref[i]), /Вход в игру/.test(number), /Вход/.test(number) && (_0x3ab967 = _ref[i]), /user\/check/.test(_ref[i].href) || /А ты тут?/.test(number), /sacrificeMoneyLink/.test(_ref[i].href) && (_0x4b0e56 = _ref[i], _0x4b96fd = /\d+/.exec(number)), /sacrificeIronLink/.test(_ref[i].href) && (_0x36107f = _ref[i], _0x5987b8 = /\d+/.exec(number)), /sacrificeMoneyCastle1Link/.test(_ref[i].href) && (_0x4f2575 = _ref[i], _0x16ff33 = /\d+/.exec(number)), /sacrificeMoneyCastle2Link/.test(_ref[i].href) && (_0xb82de1 = _ref[i], _0x1a9dea = /\d+/.exec(number)), /alterCastlesAndWellPageLink/.test(_ref[i].href) && (_0x420a2e = _ref[i], _0x1a8b07 = /\d+/.exec(number)), /item\/id/.test(_ref[i].href) && (ItemID = /\d+/.exec(number)), /Премиум/.test(number) && (_0x5d8291 = _ref[i]), /epicBuyLink/.test(_ref[i].href) && (ctx = _ref[i]), /rareBuyLink/.test(_ref[i].href) && (items = _ref[i]), /greenBuyLink/.test(_ref[i].href) && (selector = _ref[i]), /купить за (\d+)/.test(number) && (_0x3e8f04 = _ref[i]), /itemPanel1/.test(_ref[i].href) && (_podaroksokr1 = _ref[i]), /itemPanel2/.test(_ref[i].href) && (_podaroksokr2 = _ref[i]), /itemPanel3/.test(_ref[i].href) && (_podaroksokr3 = _ref[i]), /:buyPanel:buyLink:/.test(_ref[i].href) && (_podaroksokr4 = _ref[i]); if(localStorage.iTs0 == undefined) localStorage.iTs0 = 0; if(localStorage.iTs1 == undefined) localStorage.iTs1 = 0; if(localStorage.iTs2 == undefined) localStorage.iTs2 = 0; if(localStorage.iTs3 == undefined) localStorage.iTs3 = 0; if(localStorage.iTs4 == undefined) localStorage.iTs4 = 0; if(localStorage.iTs6 == undefined) localStorage.iTs6 = 0;//колодец удачи if(localStorage.iTs7 == undefined) localStorage.iTs7 = 0;//сокровище некроманта,забрать награду if(localStorage.iTs8 == undefined) localStorage.iTs8 = 0;//жу if(localStorage.iTs10 == undefined) localStorage.iTs10 = 0; if(localStorage.iTs11 == undefined) localStorage.iTs11 = 0;//дар if(localStorage.iTs14 == undefined) localStorage.iTs14 = 0;//остановка если нет книг для прочтения if(localStorage.iTs15 == undefined) localStorage.iTs15 = 0;//юбилейные подарки if(localStorage.fen == undefined) localStorage.fen = 0;//логика феникс if(localStorage.fenm == undefined) localStorage.fenm = 0;//логика феникс if(localStorage.fen_time == undefined) localStorage.fen_time = 0;//логика феникс if(localStorage.fen_c == undefined) localStorage.fen_c = 0;//логика феникс if (/user\/rack/.test(_ref[i].href) || /Рюкзак/.test(number)) _0x17c2eb = _ref[i]; if (/user\/body/.test(_ref[i].href) || /Снаряжение/.test(number)) _0x275d96 = _ref[i]; if (/toStoreLink/.test(_ref[i].href) || /в сундук/.test(number)) _0x2b0d01 = _ref[i]; if (/toPublicStoreLink/.test(_ref[i].href) || /на витрину/.test(number)) _0x20cf91 = _ref[i]; /sendItemContainer:filterPublicStoreLink/.test(_ref[i].href) && (_0x527a36 = _ref[i]), /sendItemContainer:filterfilterRackLink/.test(_ref[i].href), /sendItemContainer:selectAllLink/.test(_ref[i].href) && /Выбрать все/.test(number) && (_0x1b4f82 = _ref[i]), /Свитки/i.test(number) && /scrollFilterLink/.test(_ref[i].href), /Камни/i.test(number) && /stoneFilterLink/.test(_ref[i].href), /усталость/.test(number) && (_0xb0f0e8 = _ref[i]), /Снять усталость за/.test(number) && (_0x268c3d = _ref[i], /\d+/.exec(number)), /user\/quests/.test(_ref[i].href) && (gS = _ref[i]); if (/Забрать награду/.test(number) || /takeAward/.test(_ref[i].href)) _0x2bf25e = _ref[i]; if(/:quests:0:startLink::/.test(_ref[i].href) || /:quests:0:helpLink::/.test(_ref[i].href)) quests1 = _ref[i]; if(/:quests:1:startLink::/.test(_ref[i].href) || /:quests:1:helpLink::/.test(_ref[i].href)) quests2 = _ref[i]; if(/:quests:2:startLink::/.test(_ref[i].href) || /:quests:2:helpLink::/.test(_ref[i].href)) quests3 = _ref[i]; if(/:quests:3:startLink::/.test(_ref[i].href) || /:quests:3:helpLink::/.test(_ref[i].href)) quests4 = _ref[i]; if(/:quests:4:startLink::/.test(_ref[i].href) || /:quests:4:helpLink::/.test(_ref[i].href)) quests5 = _ref[i]; if(/:quests:5:startLink::/.test(_ref[i].href) || /:quests:5:helpLink::/.test(_ref[i].href)) quests6 = _ref[i]; if(/:quests:6:startLink::/.test(_ref[i].href) || /:quests:6:helpLink::/.test(_ref[i].href)) quests7 = _ref[i]; if(/:quests:0:startLink::/.test(_ref[i].href)) quest1start = _ref[i]; if(/:quests:0:helpLink::/.test(_ref[i].href)) quest1help = _ref[i]; if(/:quests:1:startLink::/.test(_ref[i].href)) quest2start = _ref[i]; if(/:quests:1:helpLink::/.test(_ref[i].href)) quest2help = _ref[i]; if(/:quests:2:startLink::/.test(_ref[i].href)) quest3start = _ref[i]; if(/:quests:2:helpLink::/.test(_ref[i].href)) quest3help = _ref[i]; if(/:quests:3:startLink::/.test(_ref[i].href)) quest4start = _ref[i]; if(/:quests:3:helpLink::/.test(_ref[i].href)) quest4help = _ref[i]; if(/:quests:4:startLink::/.test(_ref[i].href)) quest5start = _ref[i]; if(/:quests:4:helpLink::/.test(_ref[i].href)) quest5help = _ref[i]; if(/:quests:5:startLink::/.test(_ref[i].href)) quest6start = _ref[i]; if(/:quests:5:helpLink::/.test(_ref[i].href)) quest6help = _ref[i]; if(/:quests:6:startLink::/.test(_ref[i].href)) quest7start = _ref[i]; if(/:quests:6:helpLink::/.test(_ref[i].href)) quest7help = _ref[i]; if(/Правое крыло/.test(number)) pkf = _ref[i]; if(/Левое крыло/.test(number)) lkf = _ref[i]; if(/Центральный зал/.test(number)) czf = _ref[i]; if(/Лечить союзников/.test(number)) lekal_drakon = _ref[i]; if(/Бить дракона|Бить Феникса/.test(number)) attack_drakon = _ref[i]; if(/Бить врагов/.test(number)) attack_shield = _ref[i]; /Участвовать/.test(number) && (_0x125170 = _ref[i]), /Получить подарок/i.test(number) && (_0x5ae879 = _ref[i]), /Умения/.test(number) && (_0x487564 = _ref[i]), /Таланты/.test(number), /Магазин умений/.test(number) && (_0x3cf9a4 = _ref[i]), /Пассивное умение/.test(number) && (_0x52280f = _ref[i]), /Открыть рюкзак/.test(number) && /rack/.test(_ref[i].href) && (_0x5405d8 = _ref[i]), /iance\/(\d+)/.test(_ref[i].href) && _0x26dcce && (_0x4b233f = number, _0x1b39f1 = /iance\/(\d+)/.exec(_ref[i].href)[1]), /Открыть сундук/i.test(number) && (_0xc699d1 = _ref[i]), /Есть новая почта/.test(number) ? _0x4460f9 = _ref[i] : !/user\/mail/.test(_ref[i].href) || /user\/mail\/send/.test(_ref[i].href) || /Почта/.test(number) || (_0x4460f9 = _ref[i]), /в рюкзак/.test(number) && (_0x4d937f = _ref[i]), /алтарь/.test(number) && _0x26dcce && (_0x855995 = _ref[i]), /Получить бонус/.test(number) && (_0xddba87 = _ref[i]), /:activationLink:/.test(_ref[i].href) && /(Активировать|Продлить) (\d+)/.test(number) && (_0x12cc3b = _ref[i], _0x52c5e0 = /\d+/.exec(number)), /:goldActivationLink:/.test(_ref[i].href) && /(Активировать|Продлить) (\d+)/.test(number) && (_0x52966a = _ref[i], _0x2aeced = /\d+/.exec(number)), /Починить все вещи за (\d+)/.test(number) && (_0x307371 = _ref[i], _0x339298 = /\d+/.exec(number)), /починить за (\d+)/.test(number) && (_0x32b907 = _ref[i], _0x764466 = /\d+/.exec(number)), /починить за/i.test(number) && /itemPanel/.test(_ref[i].href) && (_0x3adebb = _ref[i]), /надеть/.test(number) && (_0x393b7e = _ref[i]), /Разобрать всё на железо/.test(number) && (_0x5b2598 = _ref[i]), /разобрать на/i.test(number) && (_0x402901 = _ref[i], /\d+/.exec(number), _0x314c0c++), /на аукцион/i.test(number) && (_0x91395a = _ref[i]), /sellMifrilLink:crackLink/i.test(_ref[i].href) && (_0x585706 = _ref[i]), /:crackAllIronLink:/i.test(_ref[i].href) && (_0x29a1d8 = _ref[i]), /:crackAllMifrilLink:/i.test(_ref[i].href) && (_0x42f047 = _ref[i]), /Сдать все камни/.test(number) && (_0x410d36 = _ref[i]), /Управление кланом/.test(number) && (_0x468386 = _ref[i]), /Вещи/.test(number) && (_0xbf6696 = _ref[i]), /Поставить чары на вещи/.test(number) && (_0x102d3e = _ref[i]), /выбрать/.test(number) && (_0x5cf01f = _ref[i]), /подтверждаю/i.test(number) && (_0x1ef8c6 = _ref[i]), /открыть/.test(number), /получить/.test(number), /выкинуть/.test(number) && (_0x3ab2dd = _ref[i]); if (/:useNecroArtefactLink:/.test(_ref[i].href) || /:actionBlock:necroArtefactUseLink:/.test(_ref[i].href)) _0x329803 = _ref[i]; /в хранилище/.test(number) && /sendToGuildStorage/.test(_ref[i].href) && (_0x5b547d = _ref[i]), /Хранилище/.test(number) && (_0x37e39b = _ref[i]), /Добавить камни/.test(number) && (_0x4847af = _ref[i]), /Добавить железо/.test(number) && (_0x486d6c = _ref[i]), /Добавить 1000 железа/.test(number) && (_0x5a7421 = _ref[i]), /Добавить 5000 железа/.test(number) && (_0x3c450c = _ref[i]), /Добавить 10000 железа/.test(number) && (_0x37c526 = _ref[i]), /Добавить 50000 железа/.test(number) && (_0x2bf6bf = _ref[i]), /Взять Дар гладиатора/.test(number) && (_0x1e4684 = _ref[i]); if (/:actionPanel:|:fightBlock:/.test(_ref[i].href)) { /* if (/Лечить/.test(number)) && (_lekal_drakon = _ref[i]); if (/Бить Феникса/.test(number)) && (_attack_drakon = _ref[i]); */ if (/Бить|Бить Феникса/.test(number) || /damageOgreLink/.test(_ref[i].href)) _0x366f19 = _ref[i]; /Бить Геррода|Жечь энергию Герроду/.test(number) && (_0x4e5808 = _ref[i]), /Бить Кочевников/i.test(number) && (_0x54a375 = _ref[i]), /Бить Кочевника/i.test(number) && (_0x1de152 = _ref[i], _0x1c4ff8 = /\d+/.exec(number)), /Бить врата/.test(number) && (_0x428fe4 = _ref[i]), /Бить (Сс)тражника/.test(number) && (_0x4ace3c = _ref[i]), /Бить царей/.test(number) && (_0x4f5379 = _ref[i]); if (/Бить врагов/.test(number) || /damageRandomEnemyLink/.test(_ref[i].href)) _0x1532c5 = _ref[i], /\((\d+)сек/.test(number) && (_0x1d8dd0 = true); /Бить башню/.test(number) && (_0x172c1f = _ref[i], _0x2a3e9e = /\d+/.exec(number)); if (/Добивать/.test(number) || /damageLastTargetLink/.test(_ref[i].href)) _0x42f096 = _ref[i], _0x3b5f3e = /\d+/.exec(number), _0x1e8e30 = _0x124d7d(_0x42f096.textContent).replace(/( {0,})?Добивать( {0,})?/, '').replace(/( {0,})?\((\d+)\)( {0,})?/, ''), _0x1d8dd0 && (sessionStorage.smesharic = _0x1e8e30); /Лечить (союзников|другого)/.test(number) && (_0x31c51f = _ref[i]), /Лечить цель/.test(number) && (_0x72806e = _ref[i]), /healLastTargetLink/.test(_ref[i].href) && (/% хп/.test(number) && (_0x1734f6 = 1) || !/% хп/.test(number) && _0x32d37b && (_0x1734f6 = 0x2)) && (_0x397657 = _ref[i], _0x5f11d4 = 1 == _0x1734f6 ? /\d+/.exec(number) : Number(/\d+/.exec(document.getElementsByTagName('td')[6].textContent.trim().replace(/(\n)+/, ' '))), _0x1734f6 = null, 0xaf <= _0x5f11d4 && !confirmationButton.match(/Территория/) || 0x96 <= _0x5f11d4 && confirmationButton.match(/Территория/)) && (_0x386f46 = false), /Лечить себя/.test(number) && (_0x2f35a7 = _ref[i]), /Жечь энергию врагам/.test(number) && (_0x3a8852 = _ref[i]), /Жечь энергию у/.test(number) && (_0x6add39 = _ref[i], 0 == /\d+/.exec(number) && (_0x16720e = 0x2)), /Жечь /.test(number) && (_0x4fb4ad = _ref[i]); if (!pageContent.match(/Оглушение \(((\d+)сек)/)) { if (/Защита \(((\d+)сек|готово)/.test(number)) { _0x538a04 = 0x3e8 * /\d+/.exec(number); const _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className; !_0x2beb38.match('buff') && 0x1388 > _0x538a04 && (_0x1749bf = _ref[i]), _0x2beb38.match('buff') && (_0x16491e = true); } /Заживление \(((\d+)сек|готово)/.test(number) && (_0x339dbb = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x27dcd1 && (_0x27dcd1 = _ref[i])), /Отвага \(((\d+)сек|готово)/.test(number) && (_0x302761 = 0x3e8 * /\d+/.exec(number), _0xdf2dd1 = true, _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x302761 && (_0x5e0fc4 = _ref[i]), _0x2beb38.match('buff') && (_0x4c2b83 = true)), /Следопыт \(((\d+)сек|готово)/.test(number) && (_0x57269a = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x57269a && (_0x27a43f = _ref[i]), _0x2beb38.match('buff')), /Берсерк \(((\d+)сек|готово)/.test(number) && !/Бить Берсерка/.test(number) && (_0x137fb0 = 0x3e8 * /\d+/.exec(number), _0x454964 = true, _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x137fb0 && (_0x3c5189 = _ref[i]), _0x2beb38.match('buff') && (_0x5b5229 = true)), /Энергетический щит \(((\d+)сек|готово)/.test(number) && (_0x36e3dc = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x36e3dc && (_0x4e3c75 = _ref[i]), _0x2beb38.match('buff') && (_0x4fc74d = true)), /Щит отражения \(((\d+)сек|готово)/.test(number) && (_0x42a747 = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x42a747 && (_0x529fe1 = _ref[i]), _0x2beb38.match('buff') && (_0x44cc3a = true)), /Каменный щит \(((\d+)сек|готово)/.test(number) && (_0x3f51ff = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x3f51ff && (_0x538236 = _ref[i]), _0x2beb38.match('buff') && (_0x52a490 = true)), /Проникающий удар \(((\d+)сек|готово)/.test(number) && (_0x965f21 = 0x3e8 * /\d+/.exec(number), _0xc328af = true, _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x965f21 && (_0x18876c = _ref[i]), _0x2beb38.match('buff') && (_0x36c7cd = true)), /Насмешка \(((\d+)сек|готово)/.test(number) && (_0x16c029 = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x16c029 && (_0x44b463 = _ref[i]), _0x2beb38.match('buff') && (_0x230022 = true, _0x16720e = 0x2, sessionStorage.missed = 0)), /Уворот \(((\d+)сек|готово)/.test(number) && (_0x21d940 = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x21d940 && (_0x26a67d = _ref[i])), /Критомания \(((\d+)сек|готово)/.test(number) && (number = number.replace('100%', ''), _0x2ec6d1 = 0x3e8 * /\d+/.exec(number), _0x28a4cc = true, _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x2ec6d1 && (_0x509186 = _ref[i]), _0x2beb38.match('buff') && (_0x3c9c45 = true)), /Метка охотника \(((\d+)сек|готово)/.test(number) && (_0x555f40 = 0x3e8 * /\d+/.exec(number), _0x3a06d2 = true, _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x555f40 && (_0x223a3d = _ref[i]), _0x2beb38.match('buff') && (_0x12898c = true)), /Обман смерти \(((\d+)сек|готово)/.test(number) && (_0x47c449 = 0x3e8 * /\d+/.exec(number), _0x2beb38 = 0 == _ref[i].getElementsByTagName('span').length ? _ref[i].className : _ref[i].getElementsByTagName('span')[1].className, !_0x2beb38.match('buff') && 0x1388 > _0x47c449 && (_0x25c40f = _ref[i])), /Железный удар \((\d+)/.test(number) && (_0x51912b = _ref[i], _ref[i].className.match('money') && (_0x31f69d = true)); } /Пить бутылочку \((\d+)шт/.test(number) && (_0x1e9137 = 0, _0x434b10 = _ref[i]), /Пить бутылочку \((\d+)сек/.test(number) && (_0x1e9137 = 0x3e8 * /\d+/.exec(number), 0x1388 > _0x1e9137 && (_0x434b10 = _ref[i])); } /Колодец удачи/i.test(number) && _0x156e4f && (_0x4f3715 = _ref[i]), /железный щит/i.test(number) && (_0x3ad531 = _ref[i]), /использовать все/i.test(number) && (_0x4b77da = _ref[i]), /getDailyGiftLink/.test(_ref[i].href) && (_0x3c190a = _ref[i]), /getProfessionGiftLink/.test(_ref[i].href) && (_0x236f47 = _ref[i]), /getBookLink/.test(_ref[i].href) && (_0x247dc2 = _ref[i]), /Битва героев/i.test(number) && (_0x39f77d = _ref[i], /Битва героев \(\+\)/i.test(pageContent)), /Турниры/i.test(number) && (_0x32a6cd = _ref[i]), /Турнир героев/i.test(number) && (_0xa67f6b = _ref[i], /Турнир героев \(\+\)/i.test(pageContent) && (_0x52afff = true)), /Командный турнир|Праздничный турнир/i.test(number) && (_0x55993d = _ref[i], /Командный турнир|Праздничный турнир \(\+\)/i.test(pageContent) && (_0x3fd865 = true)), /Турнир выживания|Праздничный турнир/i.test(number) && (_0x504577 = _ref[i], /Турнир выживания|Праздничный турнир \(\+\)/i.test(pageContent) && (_0x39f5b9 = true)), /Турнир 1x1/i.test(number) && (_0x2ccd60 = _ref[i], /Турнир 1x1 \(\+\)/i.test(pageContent) && (_0x52afff = true)), /Турнир 3x3/i.test(number) && (_0x57a4b6 = _ref[i], /Турнир 3x3 \(\+\)/i.test(pageContent) && (_0x3fd865 = true)), /Турнир выживания|Праздничный турнир/i.test(number) && (_0x2dbbc7 = _ref[i], /Турнир выживания|Праздничный турнир \(\+\)/i.test(pageContent) && (_0x39f5b9 = true)), /Зимние варварские игры|Клановый турнир/i.test(number) && (_0xbdc9db = _ref[i]), /Команда клана/i.test(number) && (_0x2d427f = _ref[i]), /В команду!/i.test(number) && (_0x5ea831 = _ref[i]), /Выйти из команды/i.test(number) && (_0x26a126 = _ref[i]), /Цари Горы/i.test(number) && (_0x1cb6af = _ref[i], /Цари Горы \(\+\)/i.test(pageContent) && (_0x2ccb63 = true)), /Город Древних/i.test(number) && (_0x2593c8 = _ref[i], /Город Древних \(\+\)/i.test(pageContent) && (_0x4f206d = true)), /Некромант/i.test(number) && (_0x23f940 = _ref[i], /Некромант \(\+\)/i.test(pageContent) && (_0x525c11 = true)), /Великие битвы/.test(number) && (_0x5233da = _ref[i]), /Битва за подарки/i.test(number) && _0x156e4f && (_0x54de7b = _ref[i]), '' != _0x54de7b && _0x156e4f && (localStorage.battlegiftson = 1), '' == _0x54de7b && _0x156e4f && (localStorage.battlegiftson = 0), /Арена/i.test(number) && (_0x12db2c = _ref[i], /Арена \(\+\)/i.test(pageContent) && (_0x54dbeb = true)), /Выживание/i.test(number) && (_0x145d8b = _ref[i], /Выживание \(\+\)/i.test(pageContent) && (_0x17f72b = true)), /Поля сражений/i.test(number) && (_0x1a4fff = _ref[i], /Поля сражений \(\+\)/i.test(pageContent) && (_0x5822be = true)), /Войти в замок/i.test(number) && (_0x37ca53 = _ref[i]), /Покинуть очередь/i.test(number) && (_0x942041 = _ref[i]), /Новый бой/i.test(number) && (_0x215b49 = _ref[i]), /Встать в очередь/i.test(number) && (_0x43b894 = _ref[i]), /вступить/i.test(number) && (_0x571b32 = _ref[i]), /отклонить/i.test(number) && (_0x13bed5 = _ref[i]), /скрыть/i.test(number) && (_0x50759f = _ref[i]), /Покинуть выживание|Покинуть арену/i.test(number) && (_0x3849a6 = _ref[i]), /startCombatLink/.test(_ref[i].href) && (_0x4e3e59 = _ref[i]), /Бонус замка/i.test(number) && (bonusZ = _ref[i]), /Голова дракона/i.test(number) && (_0x20d6e0[0] = i), /Сердце титана/i.test(number) && (_0x20d6e0[1] = i), /Гроза миров/.test(number) && (_0x20d6e0[0x2] = i), /Крепость духа/.test(number) && (_0x20d6e0[3] = i), /Исцеление предков/.test(number) && (_0x20d6e0[0x4] = i), /Зеркало боли/.test(number) && (_0x20d6e0[0x5] = i), /Источник познания/.test(number) && (_0x20d6e0[6] = i), /Колыбель жизни/.test(number) && (_0x20d6e0[0x7] = i), /Форпост Учеников/.test(number) && (_0x20d6e0[8] = i), /Западные Врата ((Юга|Севера) )?\(готово/i.test(number) && (_0x450333 = _ref[i]), /Центральные Врата ((Юга|Севера) )?\(готово/i.test(number) && (_0x34c6ad = _ref[i]), /Восточные Врата ((Юга|Севера) )?\(готово/i.test(number) && (_0x2001c9 = _ref[i]), /Обелиск Силы \(готово/i.test(number) && (_0x1c5220 = _ref[i]), /(Южный Порт|Крепость Севера|Северная Крепость) \(готово/i.test(number) && (_0x48836c = _ref[i]), /Правый берег \(готово/i.test(number) && (_0x252261 = _ref[i]), /Левый берег \(готово/i.test(number) && (_0x43b27b = _ref[i]), /Войти на территорию/.test(number) && (_0x1a9f0e = _ref[i]), /Курган/.test(number) && (_0x1fa5b2 = _ref[i]), /Лагерь орды/.test(number) && (_0x596bd6 = _ref[i]), /Лагерь викингов/.test(number) && (_0x5b93a8 = _ref[i]), /Устье реки/.test(number) && (_0x17a055 = _ref[i]), /Правый берег/.test(number) && (_0x517fe5 = _ref[i]), /Левый берег/.test(number) && (_0x4d9a62 = _ref[i]), /Дельта реки/.test(number) && (_0x4fb280 = _ref[i]), /Ледник/.test(number) && (_0x5c5f2e = _ref[i]), /Верхний перевал/.test(number) && (_0x1dad50 = _ref[i]), /Ледяные пещеры/.test(number) && (_0x40ad21 = _ref[i]), /Нижний перевал/.test(number) && (_0x24e047 = _ref[i]), /Каменные пещеры/.test(number) && (_0x967332 = _ref[i]), /Горное озеро/.test(number) && (_0x32fcac = _ref[i]), /Перекр.сток/.test(number) && (_0x6d0a6b = _ref[i]), /Южная пустошь/.test(number) && (_0x125da2 = _ref[i]), /Юго-западная пустошь/.test(number) && (_0x4254df = _ref[i]), /Западная пустошь/.test(number) && (_0x2cac8c = _ref[i]), /Северо-западная пустошь/.test(number) && (_0x865c2d = _ref[i]), /Юго-восточная пустошь/.test(number) && (_0x73dcdf = _ref[i]), /Восточная пустошь/.test(number) && (_0x51fbec = _ref[i]), /Северо-восточная пустошь/.test(number) && (_0x4871ab = _ref[i]), /Северная пустошь/.test(number) && (_0x5f082c = _ref[i]), /Большой курган/.test(number) && (_0x6798da = _ref[i]), /Восточный Розенгард/.test(number) && (_0x1b1665 = _ref[i]), /Западный Розенгард/.test(number) && (_0x5ef133 = _ref[i]), /Западный Мароканд/.test(number) && (_0x3eabe4 = _ref[i]), /Восточный Мароканд/.test(number) && (_0x164c27 = _ref[i]), /Железный рудник/.test(number), /Медные копи/.test(number), /Мароканд/.test(number) && (_0x547fb4 = _ref[i]), /Розенгард/.test(number) && (_0xd010dc = _ref[i]), /Мертвый город, Юг/.test(number) && (_0x41eef0 = _ref[i]), /Юго-восточная окраина/.test(number) && (_0x3d1d93 = _ref[i]), /Храм земли/.test(number) && (_0x498398 = _ref[i]), /Храм огня/.test(number) && (_0x1a7377 = _ref[i]), /Юго-западная окраина/.test(number) && (_0x470411 = _ref[i]), /Площадь восстания/.test(number) && (_0x420742 = _ref[i]), /Площадь рассвета/.test(number) && (_0x448c51 = _ref[i]), /Площадь заката/.test(number) && (_0x38597e = _ref[i]), /Северо-восточная окраина/.test(number) && (_0x4c0221 = _ref[i]), /Храм воды/.test(number) && (_0x336f31 = _ref[i]), /Храм неба/.test(number) && (_0xb71132 = _ref[i]), /Северо-западная окраина/.test(number) && (_0x325764 = _ref[i]), /Мертвый город, Север/.test(number) && (_0x559412 = _ref[i]), /Земли титанов, Север/.test(number) && (_0x32de0d = _ref[i]), /Северо-западные горы/.test(number) && (_0x3094a8 = _ref[i]), /Северо-восточные горы/.test(number) && (_0x16e567 = _ref[i]), /Западные врата/.test(number) && (_0x3aa0ce = _ref[i]), /Крепость титанов/.test(number) && (_0x3aa4fa = _ref[i]), /Восточные врата/.test(number) && (_0x13182b = _ref[i]), /Юго-западные горы/.test(number) && (_0x364c3d = _ref[i]), /Юго-восточные горы/.test(number) && (_0x29129d = _ref[i]), /Земли титанов, Юг/.test(number) && (_0xbb84a = _ref[i]), /Каракорум, столица Юга/.test(number) && (_0x3ffd72 = _ref[i]), /Мидгард, столица Севера/.test(number) && (_0x5ef483 = _ref[i]), /Долина Сражений, Север/.test(number) && (_0x59ac0b = _ref[i]), /Северо-западный Форт/.test(number) && (_0x423025 = _ref[i]), /Северо-восточный Форт/.test(number) && (_0x19a105 = _ref[i]), /Западный Курган/.test(number) && (_0x21de09 = _ref[i]), /Поле вечной битвы/.test(number) && (_0x45af06 = _ref[i]), /Восточный Курган/.test(number) && (_0xb212d7 = _ref[i]), /Юго-западный Форт/.test(number) && (_0x2e7a9a = _ref[i]), /Юго-восточный Форт/.test(number) && (_0x2768f8 = _ref[i]), /Долина Сражений, Юг/.test(number) && (_0x48ff9b = _ref[i]), /Пещеры и драконы/.test(number) && (_0x55f874 = _ref[i]), /game\/dungeons\/1\/1$/.test(_ref[i].href) && (_0x3328d9 = _ref[i]), /game\/dungeons\/1\/2$/.test(_ref[i].href) && (_0x17d47a = _ref[i]), /Пещерный стражник/i.test(number) && (_0x2e6425[0] = i), /Грот Гарпий/i.test(number) && (_0x2e6425[1] = i), /Пещера мантикоры/i.test(number) && (_0x2e6425[0x2] = i), /Лабиринт минотавра/i.test(number) && (_0x2e6425[3] = i), /Легендарный дракон/i.test(number) && (_0x2e6425[0x4] = i), /Логово Геррода/i.test(number) && (_0x2e6425[0x5] = i, _0x28a021 = _ref[i], /Логово Геррода \(\+\)/i.test(pageContent) && (_0xe56644 = true)), /Трофейный дракон/i.test(number) && (_0x2e6425[6] = i), /Мифический дракон/i.test(number) && (_0x2e6425[0x7] = i), /Храм Немезиды/i.test(number) && (_0x2e6425[8] = i), /Каменный тролль/i.test(number) && (_0x2e6425[9] = i), /Обитель Зодиака/i.test(number) && (_0x2e6425[0xa] = i), /Долина Великанов/i.test(number) && (_0x2e6425[0xb] = i), /Святилище предков/i.test(number) && (_0x2e6425[0xc] = i), /Потерянный Легион/i.test(number) && (_0x2e6425[0xd] = i), /Башня Феникса/i.test(number) && (_0x2e6425[14] = i), /OgreDungeonPage$/.test(_ref[i].href) && (_0x237da9 = _ref[i]), /ogreDungeon$/.test(_ref[i].href) && (_0x237da9 = _ref[i]), /game\/duel$/.test(_ref[i].href) && (_0x23dc3d = _ref[i]), /открыть все/i.test(number) && /openDuelAndDungeonLink/.test(_ref[i].href) && /открыть все\] за (\d+)/.exec(pageContent), /game\/cts$/.test(_ref[i].href) && (_0x4c7377 = _ref[i]), /Сразиться!/.test(number) && (_0x14d4fc = _ref[i]), /Дальше/.test(number) && (_0x260b61 = _ref[i]), /Повторить/.test(number) && (_0x3da2f1 = _ref[i]), /Забрать награду|Твоя награда/.test(number) && (_0x157f49 = _ref[i]), /Создать бой/.test(number) && (_0x18a2f4 = _ref[i]), /Участвовать/.test(number) && (_0x39c080 = _ref[i]), /Клановые испытания/.test(number) && (_0x89d218 = _ref[i]), /Начать бой/i.test(number) && /startLink/.test(_ref[i].href) && (_0x28d386 = _ref[i]), /:paginator:container:next:/.test(_ref[i].href) && (_0x2a260d = _ref[i]), /:booksFilterLink:/.test(_ref[i].href) && (_0x2b32ff = _ref[i]), /readyPanel:readyLink/.test(_ref[i].href) && (_0x471fce = _ref[i]), /Бить мантикору/.test(number), /Бить дракона/.test(number), /Бить тролля/.test(number), /Бить (Берсерка|Голиафа|Атланта)/.test(number) && (_0x4e6655 = _ref[i]), /Бить Эпитера/.test(number) && (_0x29723a = _ref[i], _0x323f11 = /\d+/.exec(number)), /Бить Япитера/.test(number) && (_0x2dde7f = _ref[i], _0x1793bf = /\d+/.exec(number)), /Бить Немезиду/.test(number) && (_0x892402 = _ref[i], _0x4e125b = /\d+/.exec(number)), /Бить Гарма/.test(number) && (_0x104889 = _ref[i], _0x5c4353 = /\d+/.exec(number)), /Бить Цербера/.test(number) && (_0x4cf970 = _ref[i], _0x46e1d1 = /\d+/.exec(number)), /Бить Зодиака/i.test(number) && (_0x376319 = _ref[i], /\d+/.exec(number)), /Бить душу/.test(number) && (_0x1d89c6 = _ref[i]), /Добивать (... |.... )|Добивать скелета/.test(number) && (_0x3e4772 = _ref[i]), /Ущелье (Я|Э)питера/.test(number), /Стражник/.test(number), /Бить легионера/i.test(number) && (_0x2ed6dc = _ref[i]), /Бить Легата/i.test(number) && (_0x25d365 = _ref[i]), /Бить Антония/i.test(number) && (_0x3d527f = _ref[i]), /Бить Марк/i.test(number) && (_0x65be13 = _ref[i]), /damageIllusionLink/i.test(_ref[i].href) && (_0x5b99c0 = _ref[i]), /damageSphereLink/i.test(_ref[i].href) && (_0x1c7697 = _ref[i]), /Поход/.test(number) && (_0x518e28 = _ref[i]), /Статистика|Обновить/.test(number) && /journey\/0\/1/.test(_ref[i].href) && (pin = _ref[i]), /body:buy24Link/.test(_ref[i].href) && (_0xdc4c77 = _ref[i]), /ironStrikeOnOffLink/.test(_ref[i].href) && (_0x3d0285 = _ref[i]), /scrollUseFullLink|scrollUseLink/.test(_ref[i].href), /scrollUse4Link/.test(_ref[i].href), /useBookLink|bookOpenLink/.test(_ref[i].href), /:setsPanel:sets:0:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[1] = i), /:setsPanel:sets:1:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[0x2] = i), /:setsPanel:sets:2:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[3] = i), /:setsPanel:sets:3:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[0x4] = i), /:setsPanel:sets:4:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[0x5] = i), /:setsPanel:sets:5:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[6] = i), /:setsPanel:sets:6:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[0x7] = i), /:setsPanel:sets:7:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[8] = i), /:setsPanel:sets:8:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[9] = i), /:setsPanel:sets:9:setLink:/.test(_ref[i].href) && /Выбрать набор/.test(number) && (_0xd9b289[0xa] = i), /:setsPanel:sets:0:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[1] = i), /:setsPanel:sets:1:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[0x2] = i), /:setsPanel:sets:2:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[3] = i), /:setsPanel:sets:3:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[0x4] = i), /:setsPanel:sets:4:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[0x5] = i), /:setsPanel:sets:5:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[6] = i), /:setsPanel:sets:6:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[0x7] = i), /:setsPanel:sets:7:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[8] = i), /:setsPanel:sets:8:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[9] = i), /:setsPanel:sets:9:setLink:/.test(_ref[i].href) && /Надеть комплект/.test(number) && (_0x56706b[0xa] = i), /:setsPanel:sets:0:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[1] = i), /:setsPanel:sets:1:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[0x2] = i), /:setsPanel:sets:2:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[3] = i), /:setsPanel:sets:3:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[0x4] = i), /:setsPanel:sets:4:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[0x5] = i), /:setsPanel:sets:5:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[6] = i), /:setsPanel:sets:6:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[0x7] = i), /:setsPanel:sets:7:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[8] = i), /:setsPanel:sets:8:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[9] = i), /:setsPanel:sets:9:setLink:/.test(_ref[i].href) && /Выучить набор/.test(number) && (_0x285b94[0xa] = i), /guildChatForm:messageForm:clean/.test(_ref[i].href) && (_0x2197c6 = _ref[i]), /chatForm:messageForm:clean/.test(_ref[i].href) && (_0x599d04 = _ref[i]), /Обновить/.test(number) && !/messageForm:refresh/.test(_ref[i].href) && (ch = _ref[i]), /Обновить/.test(number) && /messageForm:refresh/.test(_ref[i].href) && (fx = _ref[i]), /Назад/.test(number) && (nazad = _ref[i]), /Воскреснуть в столице \((\d+)сек/i.test(number) ? (_0x52b92e = 0x3e8 * /\d+/.exec(number), _0x1d6422 = _ref[i]) : /Воскреснуть/i.test(number) && (_0x52b92e = timeout, _0x1d6422 = _ref[i]), /Башни/.test(number) && (_0x42ba77 = _ref[i]), /Замки/.test(number) && (_0x27a88e = _ref[i]); if (/Отметить все как прочитанные/.test(number) || /markAsReadLink/.test(_ref[i].href)) _0x4914e3 = _ref[i]; /mail\/message/.test(_ref[i].href) && 'minor' != _ref[i].className && (_0x1dfbd5 = _ref[i]), /ЗАБРАТЬ ИЗ ПОЧТЫ/.test(number) && (_0x16abbe = _ref[i]), /ЗАБРАТЬ ВСЕ ИЗ ПОЧТЫ/.test(number), /modeNew/.test(_ref[i].href) && (_0xf5598d = _ref[i]), /Магазины/.test(number) && (_0x52d923 = _ref[i]), /Магазин арены/.test(number) && /trade\/arena/.test(_ref[i].href) && (_0x4b43b6 = _ref[i]), /эпические/.test(number) && /trade\/arena\/0\/4/.test(_ref[i].href) && (_0x355b17 = _ref[i]), /мифические/.test(number) && /trade\/arena\/0\/6/.test(_ref[i].href) && (_0x355b18 = _ref[i]), /user\/profession/.test(_ref[i].href) && (_0xb8713 = _ref[i]), /profession\/scroll$/.test(_ref[i].href) && /свиток/i.test(number) && (makeScroll = _ref[i]), /profession\/stone$/.test(_ref[i].href) && /камень/i.test(number) && (makeStone = _ref[i]), /Повысить уровень/.test(number) && (RankupPage = _ref[i]), /Сдать все (свитки|камни)/.test(number) && /selectAllLink/.test(_ref[i].href) && (scrolls2Master = _ref[i]), /обычный/.test(number) && !/необычный/.test(number) && (makeCommon = _ref[i]), /необычный/.test(number) && (makeUncommon = _ref[i]), /редкий/.test(number) && (makeRare = _ref[i]), /эпический/.test(number) && (makeEpic = _ref[i]), /легендарный/.test(number) && (makeLegendary = _ref[i]), /мифический/.test(number) && (makeMif = _ref[i]), /Подарок алхимика/.test(number) && pageContent.match(/Подарок алхимика \(\d+\)/i) && (scrl_alch = _ref[i]), /Медитация/.test(number) && pageContent.match(/Медитация \(\d+\)/i) && (scrl_medit = _ref[i]), /Секрет победы/.test(number) && pageContent.match(/Секрет победы \(\d+\)/i) && (scrl_secret = _ref[i]), /Рефлекс тигра/.test(number) && pageContent.match(/Рефлекс тигра \(\d+\)/i) && (scrl_reflex = _ref[i]), /Ярость смертника/.test(number) && pageContent.match(/Ярость смертника \(\d+\)/i) && (scrl_smertnik = _ref[i]), /Ледяной щит/.test(number) && pageContent.match(/Ледяной щит \(\d+\)/i) && (scrl_iceshield = _ref[i]), /Жажда познания/.test(number) && pageContent.match(/Жажда познания \(\d+\)/i) && (scrl_knowledge = _ref[i]), /Адреналин/.test(number) && pageContent.match(/Адреналин \(\d+\)/i) && (_0x1e6b46 = _ref[i]), /Опустошение/.test(number) && pageContent.match(/Опустошение \(\d+\)/i) && (scrl_emptyness = _ref[i]), /Сила критона/.test(number) && pageContent.match(/Сила критона \(\d+\)/i) && (scrl_kriton = _ref[i]), /createAllStonesLink/.test(_ref[i].href) && (_0xd4cec1 = _ref[i]), /autoCrackCommonLink/.test(_ref[i].href) && (_0x15de50 = _ref[i]), /autoCrackUncommonLink/.test(_ref[i].href) && (crackUncommon = _ref[i]), /autoCrackRareLink/.test(_ref[i].href) && (crackRare = _ref[i]), /autoCrackEpicLink/.test(_ref[i].href) && (crackEpic = _ref[i]), /Шлем Гладиатора/.test(number) && (Helmetmif = _ref[i]), /Амулет Гладиатора/.test(number) && (amuletmif = _ref[i]), /Наплечник Гладиатора/.test(number) && (Shoulderpadmif = _ref[i]), /Бурка Гладиатора/.test(number) && (Burkamif = _ref[i]), /Кираса Гладиатора/.test(number) && (Cuirassmif = _ref[i]), /Пояс Гладиатора/.test(number) && (Beltmif = _ref[i]), /Штаны Гладиатора/.test(number) && (Trousersmif = _ref[i]), /Браслет Гладиатора/.test(number) && (braceletmif = _ref[i]), /Наручи Гладиатора/.test(number) && (bracersmif = _ref[i]), /Кольцо Гладиатора/.test(number) && (Ringmif = _ref[i]), /Меч Гладиатора/.test(number) && (Swordmif = _ref[i]), /Сапоги Гладиатора/.test(number) && (Bootsmif = _ref[i]); } _0x1d8dd0 || sessionStorage.removeItem('smesharic'), /Метка охотника \(((\d+)сек|готово)/.test(pageContent) || pageContent.match(/Оглушение \(((\d+)сек)/) || sessionStorage.removeItem('target_metka'), undefined != document.body.getElementsByTagName('td')[0] && (/duel/.test(document.body.getElementsByTagName('td')[0].innerHTML), _0x186754 = /bag_full/.test(document.body.getElementsByTagName('td')[0].innerHTML), _0x7b2e6d = /bag_better/.test(document.body.getElementsByTagName('td')[0].innerHTML), _0x502d60 = /clothes_broken/.test(document.body.getElementsByTagName('td')[0].innerHTML), _0x416340 = /energy_low/.test(document.body.getElementsByTagName('td')[0].innerHTML), _0x2ef124 = /icons\/letter\./.test(document.body.getElementsByTagName('td')[0].innerHTML) && ReadMessage, /icons\/letter\./.test(document.body.getElementsByTagName('td')[0].innerHTML) && sms_sound && !confirmationButton.match(/Герой/i) && _0x346689.play()), _0x186754 && (0 < raidTimer[0x2] && 6 > raidTimer[0x1c] && 1 == autoMode || 3 == raidTimer[0x2] && 6 >= raidTimer[0x1c] && 0x2 == autoMode) && 0 == sessionStorage.makeStage && (sessionStorage.makeStage = 1), _0x186754 || (raidTimer[0x21] = 0), _0x7b2e6d || 0 == raidTimer[0xf] || (raidTimer[0xf] = 0); for (i = 0; i < _0xc629e4.length; i++) /captcha/.test(_0xc629e4[i].src) && (_0x53e2ab = _0xc629e4[i].src), /blue_tower|blue_guard/.test(_0xc629e4[i].src) && (_0x43e32c || (_0xf600f6 = true)), /red_tower|red_guard/.test(_0xc629e4[i].src) && _0x43e32c && (_0xf600f6 = true), /rip/.test(_0xc629e4[i].src) && (_0x184af4 = true), /shield/.test(_0xc629e4[i].src) && /centurion/.test(_0xc629e4[i + 0x2].src) && /rip/.test(_0xc629e4[i + 3].src) && /centurion/.test(_0xc629e4[i + 0x4].src) && /rip/.test(_0xc629e4[i + 0x5].src) ? sessionStorage.mark_ant = 3 : /shield/.test(_0xc629e4[i].src) && /centurion/.test(_0xc629e4[i + 0x2].src) && /centurion/.test(_0xc629e4[i + 3].src) && /rip/.test(_0xc629e4[i + 0x4].src) ? sessionStorage.mark_ant = 0x2 : /shield/.test(_0xc629e4[i].src) && /centurion/.test(_0xc629e4[i + 0x2].src) && /rip/.test(_0xc629e4[i + 3].src) && /centurion/.test(_0xc629e4[i + 0x4].src) ? sessionStorage.mark_ant = 1 : /shield/.test(_0xc629e4[i].src) && /centurion/.test(_0xc629e4[i + 0x2].src) && /centurion/.test(_0xc629e4[i + 3].src) && !/rip/.test(_0xc629e4[i + 0x4].src) && (sessionStorage.mark_ant = 0x4); 0 == sessionStorage.newDay_arena && _0x54dbeb && (sessionStorage.newDay_arena = 1, sessionStorage.games_arena = 0), 0 == sessionStorage.newDay_survival && _0x17f72b && (sessionStorage.newDay_survival = 1, sessionStorage.games_survival = 0), i = /мои игры на (арене|выживание): (\d+)\/\d+/i, number = /мой рейтинг: (\d+)/i, _0x2beb38 = /очки арены: (\d+)/i, confirmationButton.match(/Арена/i) && (i.test(pageContent) && (sessionStorage.games_arena = i.exec(pageContent)[0x2]), number.test(pageContent) && (sessionStorage.rating_arena = number.exec(pageContent)[1])), confirmationButton.match(/Выживание/i) && (i.test(pageContent) && (sessionStorage.games_survival = i.exec(pageContent)[0x2]), number.test(pageContent) && (sessionStorage.rating_survival = number.exec(pageContent)[1])), _0x2beb38.test(pageContent) && (localStorage.points_arena = _0x2beb38.exec(pageContent)[1]), i = /очк(и|ов) полей: (\d+)/i, i.test(pageContent) && (localStorage.bgPnts = i.exec(pageContent)[0x2]); if (confirmationButton.match('Мой герой')) { raidTimer[0x3d] = baseTime + _0x5705b9(0x3c * checkUserTimer_[0], 0x3c * checkUserTimer_[1]), undefined == sessionStorage.patch1204 && (sessionStorage.patch1204 = 1), sessionStorage.user1 = '', i = /(\d+) ур, (медик|воин), (юг|север)/i; if (i.test(pageContent)) { sessionStorage.user1 = i.exec(pageContent)[0]; const _0x2031a2 = i.exec(pageContent)[1], _0x18b1c8 = i.exec(pageContent)[0x2], _0x5861d5 = i.exec(pageContent)[3]; } sessionStorage.user1 += ',' + /сила: (\d+)/i.exec(pageContent)[1], sessionStorage.user1 += ',' + /здоровье: (\d+)/i.exec(pageContent)[1], sessionStorage.user1 += ',' + /энергия: (\d+)/i.exec(pageContent)[1], sessionStorage.user1 += ',' + /сумма: (\d+)/i.exec(pageContent)[1], i = /алтарь (\+(\d+)(\.)?(\d+)?%)/i, i.test(pageContent) ? (sessionStorage.procka = i.exec(pageContent)[1], sessionStorage.proc = i.exec(pageContent)[0x2]) : sessionStorage.proc = '0', +sessionStorage.proc > +sessionStorage.maxAlt && (sessionStorage.maxAlt = sessionStorage.proc), i = /премиум (\+(\d+)%)/i, i.test(pageContent) && (_0x5ae28e = i.exec(pageContent)[1], _0xce0599 = true, sessionStorage.user1 += ',' + i.exec(pageContent)[0]), /, (г.н.р.л|л.д.р|м.рш.л)/i.test(pageContent) && (sessionStorage.user1 += ',citaactiv'), _0xb0f0e8 || (sessionStorage.ustal = ''), /усталость: -(\d+)%/i.test(pageContent) ? (sessionStorage.ustal = /усталость: -(\d+)%/i.exec(pageContent)[1], SetUstalost || (raidTimer[0x22] = Number(sessionStorage.ustal) < Ishak ? 0 : 1)) : raidTimer[0x22] = 0, i = /алмазы: (\d+)/i, i.test(pageContent) && (sessionStorage.currentGem = i.exec(pageContent)[1]), i = /ресурсы: (\d+) (\d+(\.\d+)?(К|М|K|M)?) ?(\d+)?/i, i.test(pageContent) && (localStorage.buttl = i.exec(pageContent)[1], undefined != i.exec(pageContent)[0x5] ? localStorage.mifr = i.exec(pageContent)[0x5] : localStorage.mifr = 0, i = i.exec(pageContent)[0x2], iron = 0, number = /(\d+)(\.\d+)?(К|М|K|M)?/, number.test(i) && (i = number.exec(i), number = parseFloat(i[0]), /(М|M)/.test(i[3]) ? iron = (0xf4240 * number).toFixed(0) : /(К|K)/.test(i[3]) ? iron = (0x3e8 * number).toFixed(0) : /\d+/.test(i) && (iron = /\d+/.exec(i))), localStorage.iron = iron, 0 == localStorage.iron_1 && (localStorage.iron_1 = localStorage.iron = iron), 0 == localStorage.buttl_1 && (localStorage.buttl_1 = Number(localStorage.buttl)), 0 == localStorage.mifr_1 && (localStorage.mifr_1 = Number(localStorage.mifr))); for (i = 0; i < _0x257f5f.length; i++) if (number = _0x124d7d(_0x257f5f[i].textContent), _0x2beb38 = _0x124d7d(_0x257f5f[i + 1].textContent), number.match(_0x2031a2) && _0x2beb38.match(_0x18b1c8)) { sessionStorage.cn = _0x257f5f[i - 1].textContent, _0x1c48df = sessionStorage.cn, undefined != sessionStorage.lastChar_name && sessionStorage.lastChar_name != sessionStorage.cn ? localStorage.removeItem('ver') : sessionStorage.lastChar_name = sessionStorage.cn; break; } if (!_0x2c5928) { if ('' != _0x26dcce) { for (i = 0; i < _ref.length; i++) if (/\/guild\//.test(_ref[i].href)) { sessionStorage.kn = _ref[i].text; break; } localStorage.clan = 123 == _0x2189c9 ? 'рек' : ''; } else sessionStorage.kn = '', sessionStorage.an = '', sessionStorage.firstRun = 1; _0x2031a2 = _0x18b1c8.match(/воин/i) ? 'warrior' : 'healer', _0x18b1c8 = _0x5861d5.match(/север/i) ? 'blue_' : 'red_', _0x5861d5 = _0x5861d5.match(/север/i) ? 'north' : 'south', sessionStorage.iconHero = _0x18b1c8 + _0x2031a2 + '.png', sessionStorage.iconGuild = 'guild_' + _0x5861d5 + '.png', sessionStorage.iconAlliance = 'alliance_' + _0x5861d5 + '.png', sessionStorage.iconCastle = _0x18b1c8 + 'castle.png'; } } '' != sessionStorage.kn && confirmationButton.match('Клан ') && pageContent.match('Клан "' + _0x124d7d(sessionStorage.kn) + '\"') && (sessionStorage.an = _0x4b233f, sessionStorage.id_ally = _0x1b39f1, sessionStorage.firstRun = 1, sessionStorage.klan_lvl = /ень: (\d+)/i.exec(pageContent)[1], _0x5861d5 = /Алтарь клана \((\d+) ур./i, _0x5861d5.test(pageContent) && (sessionStorage.maxAlt = Number(_0x5861d5.exec(pageContent)[1])), _0x13a41e[_0x13a41e][_0x13a41e](_0x4c7d2d)()), +localStorage.iron >= 0x32 * +sessionStorage.maxAlt && (raidTimer[0x2a] = 0); if (confirmationButton.match(/Активация свитков|Мой герой/i)) { for (_0x2f16f5 = [], _0x5861d5 = 0; _0x5861d5 < _0x243253.length; _0x5861d5++) for (i = _0x5c7030.length - 1; 0 <= i; i--) if (_0x124d7d(_0x5c7030[i].textContent).match(_0x243253[_0x5861d5]) && !_0x124d7d(_0x5c7030[i].textContent).match(/свитки|Пассивные|Настройки|выбрать|заменить|отменить/i)) { if (_0x49d276.test(_0x5c7030[i].textContent)) { _0x2031a2 = _0x49d276.exec(_0x5c7030[i].textContent), _0x18b1c8 = 0; for (_0x1c1c07 = 1; 0x5 > _0x1c1c07; _0x1c1c07++) undefined != _0x2031a2[_0x1c1c07] && (1 == _0x1c1c07 && (_0x18b1c8 = Number(_0x18b1c8) + Number(RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x2031a2[_0x1c1c07]))), 0x2 == _0x1c1c07 && (_0x18b1c8 = Number(_0x18b1c8) + Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x2031a2[_0x1c1c07]))), 3 == _0x1c1c07 && (_0x18b1c8 = Number(_0x18b1c8) + Number(0x3c * /\d+/.exec(_0x2031a2[_0x1c1c07]))), 0x4 == _0x1c1c07 && (_0x18b1c8 = Number(_0x18b1c8) + Number(/\d+/.exec(_0x2031a2[_0x1c1c07])))); _0x2031a2 = Number(_0x18b1c8), _0x570e98[_0x5861d5] = 0 < _0x2031a2 ? _0x2031a2 + baseTime : _0x2031a2 + baseTime + _0x5705b9(0x78, 0xfa); for (number = 0; number < _0x5c7030[i].getElementsByTagName('img').length; number++) if (_0x2031a2 = _0x5c7030[i].getElementsByTagName('img')[number].src.match(/(bonuscopper|bonusgreen|bonusrare|bonusepic|bonuslegendary|bonusdarkiron|star_gray|star_green|blusestar|star_legend|star_mif|star_epic).png/i), null != _0x2031a2) { _0x2f16f5[_0x5861d5] = _0x2031a2[0]; break; } } else _0x570e98[_0x5861d5] = 0; } } if (confirmationButton.match('Таланты')) { if (sessionStorage.stances = '', 0 == _0x285b94.length) sessionStorage.stances = 1 >= document.forms.length || '' == document.forms[0].setChoose.value ? '0 0,' : document.forms[0].setChoose.length + ' ' + (document.forms[0].setChoose.innerHTML.match(/selected/i) ? document.forms[0].setChoose.value : 0) + ',';else { for (_0x1d12f2 = pageContent.split('Выучить набор').length - 1, sessionStorage.stances = _0x1d12f2 + ' ', i = 1; i <= _0x1d12f2; i++) undefined == _0x285b94[i] && (sessionStorage.stances += i + ','); } } if (confirmationButton.match('Моё снаряжение')) { if (sessionStorage.SetItemsss = '', 0 == _0x56706b.length) sessionStorage.SetItemsss = 1 >= document.forms.length || '' == document.forms[0].setChoose.value ? '0 0,' : document.forms[0].setChoose.length + ' ' + (document.forms[0].setChoose.innerHTML.match(/selected/i) ? document.forms[0].setChoose.value : 0) + ',';else { for (_0x60f45 = pageContent.split('Надеть комплект').length - 1, sessionStorage.SetItemsss = _0x60f45 + ' ', i = 1; i <= _0x60f45; i++) undefined == _0x56706b[i] && (sessionStorage.SetItemsss += i + ','); } } if (confirmationButton.match('Мои умения')) { sessionStorage.abilities = '', sessionStorage.abilities2 = ''; if (0 == _0xd9b289.length) sessionStorage.abilities = 1 >= document.forms.length && '' == document.forms[0].setChoose.value ? '0 0,' : document.forms[0].setChoose.length + ' ' + (document.forms[0].setChoose.innerHTML.match(/selected/i) ? document.forms[0].setChoose.value : 0) + ',';else { for (_0x4f2740 = pageContent.split('Выбрать набор').length - 1, sessionStorage.abilities = _0x4f2740 + ' ', i = 1; i <= _0x4f2740; i++) undefined == _0xd9b289[i] && (sessionStorage.abilities += i + ','); } for (i = _0x5c7030.length - 1; 0 <= i; i--) if (_0x124d7d(_0x5c7030[i].textContent).match(/Выбранные:/)) { sessionStorage.abilities2 = _0x124d7d(_0x5c7030[i].textContent).replace(/\n{2}/g, '\n').replace(/\n{2,}/g, ',').replace(/Выбранные:|\[первым\]|\n/gim, '').replace(/^,/, '').trim(); for (_0x5861d5 = 0; _0x5861d5 < _0x4f45e6.length; _0x5861d5++) pageContent.match(new RegExp(_0x124d7d(_0x4f45e6[_0x5861d5]), 'i')) || (sessionStorage.abilities2 += ' ' + _0x4f45e6[_0x5861d5]); break; } } _0x366f19 || _0x31c51f || (pageContent.match(/через (\d+):(\d+):(\d+)/) ? _0xc3b320 = /через (\d+):(\d+):(\d+)/.exec(pageContent) : pageContent.match(/(через|Передышка): (\d+):(\d+):(\d+)/) && !pageContent.match(/примерно через: (\d+):(\d+):(\d+)/i) ? _0x12c6c6 = /(через|Передышка): (\d+):(\d+):(\d+)/.exec(pageContent) : pageContent.match(/(через|Передышка): (\d+):(\d+)/) ? _0x4b914b = /(через|Передышка): (\d+):(\d+)/.exec(pageContent) : pageContent.match(/через (\d+) сек/) && (_0x32e30f = /через (\d+) сек/.exec(pageContent)[1])); if (confirmationButton.match('Замки варваров')) { sessionStorage.castle_time = '', sessionStorage.castle_state = ''; for (_0x5861d5 = 0; _0x5861d5 < _0x3f0eec.length; _0x5861d5++) for (i = _0x5c7030.length - 1; 0 <= i; i--) if (undefined != _0x5c7030[i].querySelectorAll('a')[1] && _0x5c7030[i].querySelectorAll('a')[1].href.match('/castle/') && _0x124d7d(_0x5c7030[i].querySelectorAll('a')[1].textContent).match(_0x3f0eec[_0x5861d5])) { /идет захват|готов к захвату/i.test(_0x5c7030[i].textContent) ? _0x48c305[_0x5861d5] = baseTime + _0x5705b9(0x251c, 0x2710) : /набег/i.test(_0x5c7030[i].textContent) ? _0x48c305[_0x5861d5] = baseTime + 0xa : _0xd06179.test(_0x5c7030[i].textContent) && (_0x48c305[_0x5861d5] = _0x58fa79(_0xd06179.exec(_0x5c7030[i].textContent)) + baseTime); for (number = 0; number < _0x5c7030[i].getElementsByTagName('img').length; number++) _0x2031a2 = _0x5c7030[i].getElementsByTagName('img')[number].src.match(/(gray|red|blue)_castle.png/i), null != _0x2031a2 && (_0x1febf6[_0x5861d5] = _0x2031a2[0]); break; } sessionStorage.castle_state = _0x1febf6, sessionStorage.castle_time = _0x48c305; } location.href.match('/(authorization|login)') || _0x3ab967 || (undefined != sessionStorage.user1 || action || click(user, _0x19a2b5), action || !_0x26dcce || _0x2c5928 && ('' != sessionStorage.an || undefined == sessionStorage.id_ally || '' == sessionStorage.id_ally || isNaN(Number(sessionStorage.id_ally))) || click(_0x26dcce, _0x19a2b5), 0 < raidTimer[0x2] && 0 != localStorage.autoCrackMode && ((0x5 >= Number(raidTimer[0x1c]) && 1 < Number(raidTimer[0x1c]) - Number(localStorage.autoCrackMode) || 0x5 == Number(raidTimer[0x1c]) && 0x2 < Number(raidTimer[0x1c]) - Number(localStorage.autoCrackMode) || 0x5 >= Number(raidTimer[0x1c]) && 0 > Number(raidTimer[0x1c]) - Number(localStorage.autoCrackMode)) && 1 == autoMode || 0x2 == autoMode && 1 > Number(localStorage.autoCrackMode) && 0x2 < Number(localStorage.autoCrackMode) || 0 == autoMode && 0x4 != Number(localStorage.autoCrackMode)) && (localStorage.autoCrackMode = 0), !action && 0 < raidTimer[0x2] && 0 == localStorage.autoCrackMode && 1 == autoMode ? (localStorage.autoCrackMode = 0x5 >= Number(raidTimer[0x1c]) ? Number(raidTimer[0x1c]) - 1 : Number(raidTimer[0x1c]) - 0x2, click('/user/rack/autocrack', timeout)) : action || 3 != raidTimer[0x2] || 0 != localStorage.autoCrackMode || 0x2 != autoMode ? action || 0 != localStorage.autoCrackMode || 0 != autoMode || (localStorage.autoCrackMode = 0x4, click('/user/rack/autocrack', timeout)) : (localStorage.autoCrackMode = 0 <= Number(sessionStorage.toSton) && 0x2 > Number(sessionStorage.toSton) ? Number(sessionStorage.toSton) + 1 : 1, click('/user/rack/autocrack', timeout)), _0x13a41e[_0x13a41e][_0x13a41e](_0x2e223d)()); } function action1() { localStorage.iTs1 = 1; localStorage.iTs2 = 0; click(territoryPath1, 1000); } function action2() { localStorage.iTs2 = 1; localStorage.iTs1 = 0; click(territoryPath2, 2000); } function terrNew() { if (!isEnabled) return; // Если функция отключена, выход из неё // Получаем текущую дату и время на сервере const tempDate = new Date(); // Преобразуем временные диапазоны в объекты Date const startTerr1 = new Date(); const stopTerr1 = new Date(); const startTerr2 = new Date(); const stopTerr2 = new Date(); try { startTerr1.setHours(parseInt(startterr1.split(":")[0])); startTerr1.setMinutes(parseInt(startterr1.split(":")[1])); stopTerr1.setHours(parseInt(stopterr1.split(":")[0])); stopTerr1.setMinutes(parseInt(stopterr1.split(":")[1])); startTerr2.setHours(parseInt(startterr2.split(":")[0])); startTerr2.setMinutes(parseInt(startterr2.split(":")[1])); stopTerr2.setHours(parseInt(stopterr2.split(":")[0])); stopTerr2.setMinutes(parseInt(stopterr2.split(":")[1])); } catch (error) { console.error("Ошибка при парсинге времени: ", error.message); return; // Выход из функции при ошибке } // Проверяем первый временной диапазон if ((tempDate >= startTerr1 && tempDate <= stopTerr1)&& localStorage.iTs1 == 0 && !confirmationButton.match(/Территория|Чат клана/i)) { action1(); // Выполнение первого действия } // Проверяем второй временной диапазон if ((tempDate >= startTerr2 && tempDate <= stopTerr2) && localStorage.iTs2 == 0 && !confirmationButton.match(/Территория|Чат клана/i)) { action2(); // Выполнение второго действия } } function _0x3f0b8f() { if (_0x16299b != '') click(_0x16299b, timeout); if (!_0x319ef3 && !targetSplit && !_0x5bf9af) { if (_0x16299b != '') click(_0x16299b, timeout); '' == _0x26dcce && (_0x11d6e6 = false), 1 == raidTimer[0x16] && _0x2f7583(), pageContent.match(/В сундуке нет места/) && click(user, timeout); if (confirmationButton.match(/Молот некроманта$|Кристалл некроманта$|Кольцо некроманта$|Флакон некроманта$/) && '' !== _0x329803) click(_0x329803, timeout); if (-1 != _0x2918c4(confirmationButton) && pageContent.match('Владелец: ' + _0x23b0c6) && !pageContent.match(/найти Лучше на Аукционе/)) { const _0x1f15bb = 0x7, _0x58bb04 = 0xff, _0x455cca = _0x2918c4(confirmationButton), _0x578a3f = false, _0x37c9bf = false, _0x44c043 = false, _0x35ddc9 = false, _0x69973a = false, _0x30ae5d = false, _0x2e36db = false, _0x40806c = false, _0x1b737c = false, _0x531fec = new RegExp(confirmationButton + ' (мифический|легендарный|эпический|редкий|необычный|обычный), (новый|клановый|личный)'); if (_0x531fec.test(pageContent) && !_0x158dbf) { const _0x158dbf = _0x531fec.exec(pageContent)[0]; /мифический/.test(_0x158dbf) ? _0x1f15bb = 6 : /легендарный/.test(_0x158dbf) ? _0x1f15bb = 0x5 : /эпический/.test(_0x158dbf) ? _0x1f15bb = 0x4 : /редкий/.test(_0x158dbf) ? _0x1f15bb = 3 : /необычный/.test(_0x158dbf) ? _0x1f15bb = 0x2 : /обычный/.test(_0x158dbf) && (_0x1f15bb = 1), /, новый/.test(_0x158dbf) ? _0x58bb04 = 0 : /, личный/.test(_0x158dbf) ? _0x58bb04 = 1 : /, клановый/.test(_0x158dbf) && (_0x58bb04 = 0x2), /Рецепт|Артефакт /.test(_0x158dbf) && (_0x1b737c = true), 0 <= _0x455cca && 0xc > _0x455cca ? _0x578a3f = true : 0x14 <= _0x455cca && 0x1e > _0x455cca ? (_0x37c9bf = true, _0x455cca = Number(_0x455cca) - 0x14) : 0x1e <= _0x455cca && 0x28 > _0x455cca ? (_0x35ddc9 = true, _0x455cca = Number(_0x455cca) - 0x1e) : 0x28 <= _0x455cca && 0x32 > _0x455cca ? _0x69973a = true : 0x32 <= _0x455cca && 0x5a > _0x455cca ? (_0x455cca = Number(_0x455cca) - 0x32, _0x30ae5d = true) : 0x78 <= _0x455cca && 0x82 > _0x455cca ? (_0x455cca = Number(_0x455cca) - 0x78, _0x44c043 = true) : 0x8c <= _0x455cca && 0xa0 > _0x455cca && (_0x455cca = Number(_0x455cca) - 0x8c, _0x40806c = true), pageContent.match(/Лучше \(\+(\d+)\)/i) && (_0x2e36db = true), _0x3adebb && 1 == raidTimer[0x2] && !action && click(_0x3adebb, timeout), _0x531fec = -1; if (auction && 0 == _0x58bb04 && _0x91395a && (_0x578a3f && !_0x2e36db && !confirmationButton.match(/Дружинника|Воина|Охотника|некроманта/i) && ((_0x531fec = sellItemsCU[_0x455cca]) && 0 < _0x531fec && 3 >= _0x1f15bb || (_0x531fec = sellItemsE[_0x455cca]) && 0 < _0x531fec && 0x4 == _0x1f15bb || (_0x531fec = sellItemsL[_0x455cca]) && 0 < _0x531fec && 0x5 == _0x1f15bb|| (_0x531fec = sellItemsm[_0x455cca]) && 0 < _0x531fec && 0x6 == _0x1f15bb)|| _0x37c9bf && ((_0x531fec = sellStCU[_0x455cca]) && 0 < _0x531fec && 3 >= _0x1f15bb || (_0x531fec = sellStE[_0x455cca]) && 0 < _0x531fec && 0x4 == _0x1f15bb || (_0x531fec = sellStL[_0x455cca]) && 0 < _0x531fec && 0x5 == _0x1f15bb || (_0x531fec = sellStM[_0x455cca]) && 0 < _0x531fec && 6 == _0x1f15bb)|| _0x44c043 && (_0x531fec = sellOg[_0x455cca]) && 0 < _0x531fec || _0x40806c && !_0x1b737c && (_0x531fec = sellBk[_0x455cca]) && 0 < _0x531fec || _0x69973a && (_0x531fec = sellBx[_0x1f15bb - 0x2]) && 0 < _0x531fec|| _0x30ae5d && ((_0x531fec = sellScCU[_0x455cca]) && 0 < _0x531fec && 3 >= _0x1f15bb || (_0x531fec = sellScE[_0x455cca]) && 0 < _0x531fec && 0x4 == _0x1f15bb || (_0x531fec = sellScL[_0x455cca]) && 0 < _0x531fec && 0x5 == _0x1f15bb || (_0x531fec = sellScM[_0x455cca]) && 0 < _0x531fec && 6 == _0x1f15bb))) { click(_0x91395a, timeout); const _0x58bb04 = [costItCU1, costItCU2, costItCU3], _0x2e36db = [costStCU1, costStCU2, costStCU3], _0x3d9849 = [costOg1, costOg2, costOg3], _0x455cca = [bkCostAll[3 * _0x455cca], bkCostAll[3 * _0x455cca + 1], bkCostAll[3 * _0x455cca + 0x2]], _0x35ddc9 = [costBxC, costBxC, costBxC], _0x158dbf = [costScCU1, costScCU2, costScCU3], _0x37c9bf = [[_0x58bb04, _0x58bb04, _0x58bb04, _0x58bb04, [costItE1, costItE2, costItE3], [costItL1, costItL2, costItL3], [costItm1, costItm2, costItm3]], [_0x2e36db, _0x2e36db, _0x2e36db, _0x2e36db, [costStE1, costStE2, costStE3], [costStL1, costStL2, costStL3], [costStM1, costStM2, costStM3]], [_0x35ddc9, _0x35ddc9, _0x35ddc9, [costBxU, costBxU, costBxU], [costBxE, costBxE, costBxE], [costBxL, costBxL, costBxL], [costBxM, costBxM, costBxM]], [_0x158dbf, _0x158dbf, _0x158dbf, _0x158dbf, [costScE1, costScE2, costScE3], [costScL1, costScL2, costScL3], [costScM1, costScM2, costScM3]], [_0x3d9849, _0x3d9849, _0x3d9849, _0x3d9849, _0x3d9849, _0x3d9849, _0x3d9849], [_0x455cca, _0x455cca, _0x455cca, _0x455cca, _0x455cca, _0x455cca, _0x455cca]][_0x578a3f && '0' || _0x37c9bf && '1' || _0x69973a && '2' || _0x30ae5d && '3' || _0x44c043 && '4' || _0x40806c && !_0x1b737c && '5'][_0x1f15bb][_0x531fec - 1], _0x1f15bb = _0x5705b9(_0x37c9bf[0], _0x37c9bf[1]), _0x37c9bf = _0x5705b9(_0x37c9bf[0x2], _0x37c9bf[3]); _0x1f15bb > _0x37c9bf && (_0x1f15bb = _0x37c9bf), sessionStorage.cost = _0x1f15bb + ',' + _0x37c9bf; } else sendClanItems_PCid && 1 == sendClanItems_ToPC && _0x578a3f && (0x2 == _0x58bb04 && 1 == sendClanItm[_0x455cca] || 0 == _0x58bb04 && (0 < sendNewItmLeg[_0x455cca] && 0x5 == _0x1f15bb || 0 < sendNewItmMif[_0x455cca] && 6 == _0x1f15bb)) && undefined == sessionStorage.sendClanItems_vitrinaIsFull ? click(_0x20cf91, timeout) : _0x3ab2dd && _0x4f4c80[0x2 * Number(_0x455cca) + Number(_0x58bb04)] >= _0x1f15bb && _0x30ae5d ? click(_0x3ab2dd, timeout) : _0x3ab2dd && _0x37c9bf && (SetdropStNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04) && !_0x11d6e6 ? click(_0x3ab2dd, timeout) : _0x5b547d && _0x37c9bf && (SetdropStNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04) && _0x11d6e6 ? click(_0x5b547d, timeout) : _0x3ab2dd && _0x35ddc9 && (setDropRuneNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || setDropRunePrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04) ? click(_0x3ab2dd, timeout) : _0x393b7e && Setlvlshmot >= _0x1f15bb && _0x2e36db && undefined == _0x5c7030[_0x3d9849].getElementsByClassName('itemBad')[0] ? click(_0x393b7e, timeout) : _0x402901 && SetRazbor && !_0x2e36db && _0x578a3f && (razbirat_New[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 && 0x5 >= _0x1f15bb || razbirat_Old[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04 && 0x5 >= _0x1f15bb) ? click(_0x402901, timeout) : _0x402901 && SetRazbor && !_0x2e36db && _0x578a3f && disassembleMThings[_0x455cca] == 1 && 1 == _0x58bb04 && 6 == _0x1f15bb && pageContent.match('Чары: пусто') && pageContent.match('Кузнец: пусто') ? click(_0x402901, timeout) : _0x585706 && SetRazbor && !_0x2e36db && _0x578a3f && (6 == _0x1f15bb && 0 == _0x58bb04 && (3 == razbirat_miff[_0x455cca] || 1 == razbirat_miff[_0x455cca]) || 6 == _0x1f15bb && 0x2 == _0x58bb04 && (3 == razbirat_miff[_0x455cca] || 0x2 == razbirat_miff[_0x455cca])) ? click(_0x585706, timeout) : !_0x2b0d01 || 1 == raidTimer[8] || SetdropStNew[_0x455cca] >= _0x1f15bb && _0x37c9bf && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && _0x37c9bf && 1 == _0x58bb04 ? _0x2b0d01 && 1 != raidTimer[8] && _0x44c043 ? click(_0x2b0d01, timeout) : _0x2b0d01 && 1 != raidTimer[8] && !_0x37c9bf ? click(_0x2b0d01, timeout) : Setlvlshmot < _0x1f15bb && _0x2e36db && 1 == raidTimer[8] ? raidTimer[0xf] = baseTime + _0x5705b9(0x7d0, 0x1388) : _0x17c2eb && click(_0x17c2eb, timeout) : click(_0x2b0d01, timeout); } } confirmationButton.match(/Выставить на аукцион/i)&& localStorage.iTs4 == 0 && undefined != sessionStorage.cost && (_0x1f15bb = sessionStorage.cost.split(','), document.all.bidSilver.value = _0x1f15bb[0], document.all.buyoutSilver.value = _0x1f15bb[1], sessionStorage.removeItem('cost'), action = true, setTimeout(function () { document.forms[0].submit(); }, 0x12c)); if (confirmationButton.match(/Рюкзак|Сундук/)) { if (pageContent.match(/Открыть сундук \((\d+)\/(\d+)\)/) && confirmationButton.match('Рюкзак') && (_0x1f15bb = /Открыть сундук \((\d+)\/(\d+)\)/.exec(pageContent), raidTimer[8] = Number(_0x1f15bb[1]) >= Number(_0x1f15bb[0x2]) ? 1 : 0), confirmationButton.match('Рюкзак') && SetRazbor && 1 == fastIronDsm && _0x29a1d8) click(_0x29a1d8, timeout);else { if (confirmationButton.match('Рюкзак') && SetRazbor && 1 == fastMithrilDsm && _0x42f047) click(_0x42f047, timeout);else { if (confirmationButton.match('Рюкзак') && SetRazbor && _0x3ab2dd) click(_0x3ab2dd, timeout);else { if (confirmationButton.match('Рюкзак') && SetRazbor && 0 == raidTimer[0x7] && _0x402901 && _0x5b2598 && 3 < _0x314c0c) raidTimer[0x7] = 1, click(_0x5b2598, timeout);else { if (confirmationButton.match('Рюкзак') && SetRazbor && 1 != raidTimer[0x2] && _0x402901) click(_0x402901, timeout);else { if (confirmationButton.match('Рюкзак') && pageContent.match(/Сфера некроманта|Молот некроманта|Кристалл некроманта|Кольцо некроманта|Флакон некроманта/i) && '' !== _0x329803) click(_0x329803, timeout);else { for (_0x3d9849 = 0; _0x3d9849 < _0x5c7030.length; _0x3d9849++) if (undefined != _0x5c7030[_0x3d9849].querySelectorAll('a')[0] && _0x5c7030[_0x3d9849].querySelectorAll('a')[0].href.match('/item/id/') && !action) { _0x1f15bb = 0x7, _0x1d0fe7 = _0x5c7030[_0x3d9849].querySelectorAll('a')[0], _0x158dbf = _0x124d7d(_0x1d0fe7.textContent), _0x455cca = _0x2918c4(_0x158dbf), _0x2e36db = _0x30ae5d = false, _0x58bb04 = 0xff, _0x1b737c = _0x69973a = _0x35ddc9 = _0x40806c = _0x44c043 = _0x37c9bf = _0x578a3f = false; for (_0x531fec = 0; _0x531fec < _0x5c7030[_0x3d9849].getElementsByTagName('img').length; _0x531fec++) { const _0x524cc9 = _0x5c7030[_0x3d9849].getElementsByTagName('img')[_0x531fec].src; if (_0x524cc9.match('bonusdarkiron')) { _0x1f15bb = 6; break; } else { if (_0x524cc9.match('bonuslegendary')) { _0x1f15bb = 0x5; break; } else { if (_0x524cc9.match('bonusepic')) { _0x1f15bb = 0x4; break; } else { if (_0x524cc9.match('bonusrare')) { _0x1f15bb = 3; break; } else { if (_0x524cc9.match('bonusgreen')) { _0x1f15bb = 0x2; break; } else { if (_0x524cc9.match('bonuscopper')) { _0x1f15bb = 1; break; } } } } } } } 0 <= _0x455cca && 0xc > _0x455cca ? _0x578a3f = true : 0x14 <= _0x455cca && 0x1e > _0x455cca ? (_0x37c9bf = true, _0x455cca = Number(_0x455cca) - 0x14) : 0x1e <= _0x455cca && 0x28 > _0x455cca ? (_0x35ddc9 = true, _0x455cca = Number(_0x455cca) - 0x1e) : 0x28 <= _0x455cca && 0x32 > _0x455cca ? _0x69973a = true : 0x32 <= _0x455cca && 0x5a > _0x455cca ? (_0x455cca = Number(_0x455cca) - 0x32, _0x30ae5d = true) : 0x78 <= _0x455cca && 0x82 > _0x455cca ? (_0x455cca = Number(_0x455cca) - 0x78, _0x44c043 = true) : 0x8c <= _0x455cca && 0xa0 > _0x455cca && (_0x455cca = Number(_0x455cca) - 0x8c, _0x40806c = true), _0x5c7030[_0x3d9849].textContent.match(/Лучше \(\+(\d+)\)/i) && (_0x2e36db = true), _0x5c7030[_0x3d9849].textContent.match('клановый') ? _0x58bb04 = 0x2 : _0x5c7030[_0x3d9849].textContent.match('новый') ? _0x58bb04 = 0 : _0x5c7030[_0x3d9849].textContent.match('личный') && (_0x58bb04 = 1), _0x5c7030[_0x3d9849].textContent.match('Рецепт ') && (_0x1b737c = true); if (auction && confirmationButton.match(/Рюкзак/) && 0 == _0x58bb04 && (_0x578a3f && !_0x2e36db && !_0x158dbf.match(/Дружинника|Воина|Охотника|некроманта/i) && (0 < sellItemsCU[_0x455cca] && 3 >= _0x1f15bb || 0 < sellItemsE[_0x455cca] && 0x4 == _0x1f15bb || 0 < sellItemsL[_0x455cca] && 0x5 == _0x1f15bb|| 0 < sellItemsm[_0x455cca] && 0x6 == _0x1f15bb) || _0x37c9bf && (0 < sellStCU[_0x455cca] && 3 >= _0x1f15bb || 0 < sellStE[_0x455cca] && 0x4 == _0x1f15bb || 0 < sellStL[_0x455cca] && 0x5 == _0x1f15bb || 0 < sellStM[_0x455cca] && 6 == _0x1f15bb) || _0x44c043 && 0 < sellOg[_0x455cca] || _0x40806c && !_0x1b737c && 0 < sellBk[_0x455cca] || _0x69973a && 0 < sellBx[_0x1f15bb - 0x2] || _0x30ae5d && (0 < sellScCU[_0x455cca] && 3 >= _0x1f15bb || 0 < sellScE[_0x455cca] && 0x4 == _0x1f15bb || 0 < sellScL[_0x455cca] && 0x5 == _0x1f15bb || 0 < sellScM[_0x455cca] && 6 == _0x1f15bb))) { click(_0x1d0fe7, timeout); break; } if (confirmationButton.match(/Рюкзак/) && sendClanItems_PCid && 1 == sendClanItems_ToPC && _0x578a3f && (0x2 == _0x58bb04 && 1 == sendClanItm[_0x455cca] || 0 == _0x58bb04 && (0 < sendNewItmLeg[_0x455cca] && 0x5 == _0x1f15bb || 0 < sendNewItmMif[_0x455cca] && 6 == _0x1f15bb)) && undefined == sessionStorage.sendClanItems_vitrinaIsFull) { click(_0x1d0fe7, timeout); break; } if ((SetdropStNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04) && _0x37c9bf && confirmationButton.match(/Рюкзак/) && !_0x11d6e6) { click(_0x1d0fe7, timeout); break; } else { if (_0x35ddc9 && confirmationButton.match(/Рюкзак|Сундук/) && (setDropRuneNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || setDropRunePrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04)) { click(_0x1d0fe7, timeout); break; } else { if (Setlvlshmot >= _0x1f15bb && confirmationButton.match('Сундук') && _0x2e36db && undefined == _0x5c7030[_0x3d9849].getElementsByClassName('itemBad')[0]) { click(_0x1d0fe7, timeout); break; } else { if (SetRazbor && confirmationButton.match(/Рюкзак|Сундук/) && !_0x2e36db && _0x578a3f && (razbirat_New[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 && 0x5 >= _0x1f15bb || razbirat_Old[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04 && 0x5 >= _0x1f15bb)) { click(_0x1d0fe7, timeout); break; } else { if (SetRazbor && confirmationButton.match(/Рюкзак|Сундук/) && !_0x2e36db && _0x578a3f && (6 == _0x1f15bb && 0 == _0x58bb04 && (3 == razbirat_miff[_0x455cca] || 1 == razbirat_miff[_0x455cca]) || 6 == _0x1f15bb && 0x2 == _0x58bb04 && (3 == razbirat_miff[_0x455cca] || 0x2 == razbirat_miff[_0x455cca]))) { click(_0x1d0fe7, timeout); break; } else { if (SetRazbor && confirmationButton.match(/Рюкзак/) && !_0x2e36db && _0x578a3f && 6 == _0x1f15bb && 1 == _0x58bb04 && 1 == disassembleMThings[_0x455cca]) { click(_0x1d0fe7, timeout, '1'); break; } } } } } } if (Setlvlshmot < _0x1f15bb && confirmationButton.match('Рюкзак') && _0x2e36db && 1 == raidTimer[8]) raidTimer[0xf] = baseTime + _0x5705b9(0x7d0, 0x1388);else { for (const _0x43b706 = _0x158dbf = _0x35ddc9 = _0x1b737c = _0x40806c = _0x578a3f = element_text = pageElement = '', _0x3a9db7 = '', _0x531fec = 1; _0x531fec < _0x5c7030[_0x3d9849].querySelectorAll('a').length; _0x531fec++) { const _0x2efdb7 = _0x5c7030[_0x3d9849].querySelectorAll('a')[_0x531fec], _0x23fc55 = _0x124d7d(_0x5c7030[_0x3d9849].querySelectorAll('a')[_0x531fec].textContent); _0x23fc55.match('надеть') && undefined == _0x5c7030[_0x3d9849].getElementsByClassName('itemBad')[0] && _0x2e36db && (_0x578a3f = _0x2efdb7), _0x69973a && _0x23fc55.match(/открыть/i) && confirmationButton.match(/Рюкзак|Сундук/) && (_0x158dbf = _0x2efdb7), _0x23fc55.match('в рюкзак') && !confirmationButton.match('Сундук') && (_0x1b737c = _0x2efdb7), _0x23fc55.match('в рюкзак') && confirmationButton.match('Сундук') && _0x37c9bf && (SetdropStNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04) && (_0x1b737c = _0x2efdb7), confirmationButton.match('Рюкзак') && _0x23fc55.match('выкинуть') && (_0x43b706 = _0x2efdb7), _0x23fc55.match(/использовать за \d+/i) && confirmationButton.match(/Рюкзак/) && (_0x35ddc9 = _0x2efdb7), confirmationButton.match('Рюкзак') && _0x23fc55.match('сделать книгу') && 1 == UseRecipe[_0x455cca] && (element_text = _0x2efdb7), _0x2efdb7.href.match('sendToGuildStorage') && _0x37c9bf && (SetdropStNew[_0x455cca] >= _0x1f15bb && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && 1 == _0x58bb04) && (_0x3a9db7 = _0x2efdb7), !_0x2efdb7.href.match('toStoreLink') || 1 == raidTimer[8] || SetdropStNew[_0x455cca] >= _0x1f15bb && _0x37c9bf && 0 == _0x58bb04 || SetdropStPrv[_0x455cca] >= _0x1f15bb && _0x37c9bf && 1 == _0x58bb04 || (_0x40806c = _0x2efdb7), _0x2efdb7.href.match('toStoreLink') && 1 != raidTimer[8] && _0x44c043 && (_0x40806c = _0x2efdb7), confirmationButton.match('Рюкзак') && _0x23fc55.match('прочитать') && (0x5 == _0x455cca && 1 == readBooks[0] || 8 == _0x455cca && 1 == readBooks[1] || 1 == _0x455cca && 1 == readBooks[0x2] || 6 == _0x455cca && 1 == readBooks[3]|| 0xa == _0x455cca && 0x1 == readBooks[0x4]|| 0x9 == _0x455cca && 0x1 == readBooks[0x5]|| 0x4 == _0x455cca && 0x1 == readBooks[0x6]|| 0x3 == _0x455cca && 0x1 == readBooks[0x7]) && (pageElement = _0x2efdb7); } if (_0x578a3f && Setlvlshmot >= _0x1f15bb) click(_0x578a3f, timeout);else { if (_0x158dbf && (SetboxOpen >= _0x1f15bb && 0 == _0x58bb04 || 0 < _0x58bb04)) click(_0x158dbf, timeout);else { if (_0x1b737c) click(_0x1b737c, timeout);else { if (_0x4f4c80[0x2 * Number(_0x455cca) + Number(_0x58bb04)] >= _0x1f15bb && _0x30ae5d && confirmationButton.match(/Рюкзак|Сундук/)) { click(_0x1d0fe7, timeout); break; } else { if (_0x35ddc9 && _0xce0599 && _0x30ae5d && 3 >= _0x1f15bb && (0 == _0x570e98[_0x455cca] || /нет/.test(_0x570e98[_0x455cca])) && confirmationButton.match(/Рюкзак/)) { click(_0x35ddc9, timeout), _0x570e98[_0x455cca] = 0xa > _0x455cca ? baseTime + Number(_0x9355b6[_0x1f15bb]) : baseTime + 0x1c20, _0x524cc9 = _0x524cc9.match(/(bonuscopper|bonusgreen|bonusrare|bonusepic|bonuslegendary|bonusdarkiron|star_gray|star_green|blusestar|star_legend|star_mif).png/i), null != _0x524cc9 && (_0x2f16f5[_0x455cca] = _0x524cc9[0], _0x524cc9 = null), sessionStorage.scrolls_state = _0x2f16f5, sessionStorage.scrolls = _0x570e98; break; } else { if (_0x35ddc9 && _0xce0599 && _0x30ae5d && (_0x1f15bb <= aScA[0] && 0 == _0x58bb04 || _0x1f15bb <= aScA[1] && 1 == _0x58bb04) && 0 != _0x570e98[_0x455cca] && !/нет/.test(_0x570e98[_0x455cca]) && _0x1f15bb == _0x239db4(_0x2f16f5[_0x455cca]) && confirmationButton.match(/Рюкзак/)) { click(_0x35ddc9, timeout), _0x570e98[_0x455cca] = 0xa > _0x455cca ? _0x570e98[_0x455cca] + Number(_0x9355b6[_0x1f15bb]) : _0x570e98[_0x455cca] + 0x1c20, sessionStorage.scrolls = _0x570e98; break; } else _0x43b706 ? click(_0x43b706, timeout) : element_text ? click(element_text, timeout) : pageElement ? (sessionStorage.bookToRead = _0x531fec, click(pageElement, timeout)) : _0x3a9db7 ? click(_0x3a9db7, timeout) : _0x40806c ? click(_0x40806c, timeout) : _0x43b706 && click(_0x43b706, timeout); } } } } } } } _0x2b0d01 && confirmationButton.match('Рюкзак') && 1 == raidTimer[8] && _0x186754 && !action && !_0x319ef3 && ('' != send_to && 0 == raidTimer[0xb] ? click('/user/mail/send/id/' + send_to, timeout) : raidTimer[0x21] = baseTime + _0x5705b9(RAID_TIMER_OFFSET, 0x1c20)); } } } } } } } confirmationButton.match('Подтверждение') && pageContent.match(/Он заменит текущий/i) ? _0x2f7583() : _0x1ef8c6 && confirmationButton.match('Подтверждение') && !pageContent.match(/Ты можешь взять в бой ещё одно умение/i) && click(_0x1ef8c6, timeout), (_0x186754 && !confirmationButton.match(/Рюкзак|Выставить на аукцион/i)&& localStorage.iTs4 == 0 || _0x7b2e6d && 0 == raidTimer[0xf]) && 1 != raidTimer[0x1f] && done() && !targetSplit && ((_0x594bde || _0x15d34d) && done() ? click(naGlavnuy, timeout) : '' != _0x17c2eb ? click(_0x17c2eb, timeout) : click(user, timeout)); } } function _0x114532() { const _0x5ab11a; if (confirmationButton.match(/Хранилище клана/i) && _0x11d6e6) { if ('' != _0x4847af && click(_0x4847af, timeout), pageContent.match(/Добавление камней/)) { for (fnds_rare = fnds_leg = fnds_mif = 1, fnds_rare = _0x1da492.match(/bonusrare/g), _0x5ab11a = _0x1da492.match(/bonusepic/g), fnds_leg = _0x1da492.match(/bonuslegendary/g), fnds_mif = _0x1da492.match(/bonusdarkiron/g), _0x410d36 && (0x2 == SetdropSt && fnds_rare.length == _0x5ab11a.length == fnds_leg.length == fnds_mif.length == 1 || 3 == SetdropSt && _0x5ab11a.length == fnds_leg.length == fnds_mif.length == 1 || 0x4 == SetdropSt && fnds_leg.length == fnds_mif.length == 1 || 0x5 == SetdropSt && 1 == fnds_mif.length) && click(_0x410d36, timeout), _0x1c1c07 = 1; _0x1c1c07 < _0x5c7030.length; _0x1c1c07++) if (0x2 == _0x5c7030[_0x1c1c07].querySelectorAll('a').length && 1 == _0x5c7030[_0x1c1c07].getElementsByTagName('img').length && _0x5c7030[_0x1c1c07].textContent.match(/выбрать/)) { if (_0x5ab11a = _0x239db4(_0x5c7030[_0x1c1c07].innerHTML), SetdropSt >= _0x5ab11a) { click(_0x5c7030[_0x1c1c07].querySelectorAll('a')[1], timeout); break; } } else _0x1c1c07 + 1 == _0x5c7030.length && (click(user, timeout), raidTimer[0x1f] = 0); } else pageContent.match(/Этот камень добавит/) && _0x1ef8c6 ? click(_0x1ef8c6, timeout) : _0x4847af || (click(user, timeout), raidTimer[0x1f] = 0); } else confirmationButton.match(/Клан /i) && '' != _0x37e39b ? click(_0x37e39b, timeout) : confirmationButton.match(/Хранилище клана/i) || '' == _0x26dcce || click(_0x26dcce, timeout); } const _0x2bdd74 = 'r', _0x40e184 = 'a', _0x3c0765 = 'w', _0x4b3d23 = 'g'; function _0x131779() { undefined == sessionStorage.altarr && (sessionStorage.altarr = _0x24ee6b[0]), undefined == sessionStorage.altarrTaken && (sessionStorage.altarrTaken = '0'), sessionStorage.altarrTaken = undefined == sessionStorage.proc ? '0' : 0 == Number(sessionStorage.proc) ? '0' : 0 < Number(sessionStorage.proc) && +sessionStorage.proc < +sessionStorage.maxAlt ? '1' : '2', targetSplit && _0x5cd1e0 ? sessionStorage.altarr = _0x24ee6b[1] : _0x5e9fcd ? sessionStorage.altarr = _0x24ee6b[0x2] : _0x20baf4 ? sessionStorage.altarr = _0x24ee6b[3] : _0x20baf4 || _0x5e9fcd || targetSplit || confirmationButton.match(/Алтарь клана|Мой герой/) || (sessionStorage.altarr = _0x24ee6b[0]); if (confirmationButton.match('Алтарь клана')) { _0x3d0285 && _0x31f69d && (click(_0x3d0285, _0x19a2b5), raidTimer[0x30] = 0); const _0x4b6b01 = /Алтарь клана, (\d+) ур./i; _0x4b6b01.test(pageContent) && (sessionStorage.maxAlt = Number(_0x4b6b01.exec(pageContent)[1])), _0x4b6b01 = /Твой бонус: \+(\d+)(\.|,)?(\d+)?% \[(\d+д.)? ?(\d+ч.)? ?(\d+мин.)? ?(\d+сек.)?/i; if (_0x4b6b01.test(pageContent)) { _0x4cee8d[7] = 0, _0x4b6b01 = _0x4b6b01.exec(pageContent); for (_0x1c1c07 = 1; 7 > _0x1c1c07; _0x1c1c07++) undefined != _0x4b6b01[_0x1c1c07] && (0x4 == _0x1c1c07 && (_0x4cee8d[7] = Number(_0x4cee8d[8]) + Number(RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x4b6b01[_0x1c1c07]))), 0x5 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[8]) + Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x4b6b01[_0x1c1c07]))), 6 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[7]) + Number(0x3c * /\d+/.exec(_0x4b6b01[_0x1c1c07]))), 0x7 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[8]) + Number(/\d+/.exec(_0x4b6b01[_0x1c1c07])))); _0x4cee8d[8] = Number(_0x4cee8d[8]) + baseTime; } else raidTimer[0x10] = baseTime + _0x5705b9(0x3e8, RAID_TIMER_OFFSET), click(naGlavnuy, timeout); } if (confirmationButton.match('Мой герой') && _0x855995) { if (_0x4b6b01 = /алтарь \+(\d+)(\.|,)?(\d+)?% \[(\d+д.)? ?(\d+ч.)? ?(\d+мин.)? ?(\d+сек.)?/i, pageContent.match('алтарь не активен')) _0x4cee8d[8] = 0;else { if (_0x4b6b01.test(pageContent)) { _0x4cee8d[8] = 0, _0x4b6b01 = _0x4b6b01.exec(pageContent); for (_0x1c1c07 = 1; 8 > _0x1c1c07; _0x1c1c07++) undefined != _0x4b6b01[_0x1c1c07] && (0x4 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[8]) + Number(RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x4b6b01[_0x1c1c07]))), 0x5 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[8]) + Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x4b6b01[_0x1c1c07]))), 6 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[8]) + Number(0x3c * /\d+/.exec(_0x4b6b01[_0x1c1c07]))), 0x7 == _0x1c1c07 && (_0x4cee8d[8] = Number(_0x4cee8d[8]) + Number(/\d+/.exec(_0x4b6b01[_0x1c1c07])))); _0x4cee8d[8] = Number(_0x4cee8d[8]) + baseTime; } else raidTimer[0x10] = baseTime + _0x5705b9(0x3e8, RAID_TIMER_OFFSET), click(naGlavnuy, timeout); } } if (!action && (1 == sessionStorage.altarr && 0 == raidTimer[0x2a] || 0x2 == sessionStorage.altarr && (_0xce0599 || 0 == raidTimer[0x29]) || 0x2 < sessionStorage.altarr && 0 == raidTimer[0x29]) && _0x26dcce && 0 == raidTimer[0x10]) { if (_0x855995 && (targetSplit || _0x319ef3)) click(_0x855995, timeout);else { if (alttime = _0x4cee8d[8] - baseTime, Number(sessionStorage.altarr) > Number(sessionStorage.altarrTaken) && !_0x366f19 && !_0x31c51f && 0 == raidTimer[0x10] && _0x2c5928 && (raidTimer[0x18] = 1), 0x12c > alttime && confirmationButton.match('Алтарь клана') || 0x64 > alttime && confirmationButton.match('Мой герой') || 0 >= alttime || 1 == raidTimer[0x18]) confirmationButton.match('Мой герой') && _0x855995 ? click(_0x855995, timeout) : _0x594bde || _0x319ef3 || targetSplit || _0x2c17d2 ? click(user, timeout) : confirmationButton.match('Алтарь клана') ? 1 == sessionStorage.altarr && _0x36107f && (RAID_TIMER_OFFSET > alttime || Number(sessionStorage.altarr) > Number(sessionStorage.altarrTaken)) && Number(_0x5987b8) <= Number(localStorage.iron) ? (localStorage.iron_3 = Number(localStorage.iron_3) + Number(_0x5987b8), raidTimer[0x10] = baseTime + 0x12c, click(_0x36107f, timeout), raidTimer[0x18] = 0, sessionStorage.altarrTaken = sessionStorage.altarr) : 0x2 == sessionStorage.altarr && _0x4b0e56 && (RAID_TIMER_OFFSET > alttime || Number(sessionStorage.altarr) > Number(sessionStorage.altarrTaken)) && Number(_0x4b96fd) <= Number(sessionStorage.currentMoney) ? (raidTimer[0x10] = baseTime + 0x12c, click(_0x4b0e56, timeout), raidTimer[0x18] = 0, sessionStorage.altarrTaken = sessionStorage.altarr) : 3 == sessionStorage.altarr && _0x4f2575 && (RAID_TIMER_OFFSET > alttime || Number(sessionStorage.altarr) > Number(sessionStorage.altarrTaken)) && Number(_0x16ff33) <= Number(sessionStorage.currentMoney) ? (raidTimer[0x10] = baseTime + 0x12c, click(_0x4f2575, timeout), raidTimer[0x18] = 0, sessionStorage.altarrTaken = sessionStorage.altarr) : 0x4 == sessionStorage.altarr && _0xb82de1 && (RAID_TIMER_OFFSET > alttime || Number(sessionStorage.altarr) > Number(sessionStorage.altarrTaken)) && Number(_0x1a9dea) <= Number(sessionStorage.currentMoney) ? (raidTimer[0x10] = baseTime + 0x12c, click(_0xb82de1, timeout), raidTimer[0x18] = 0, sessionStorage.altarrTaken = sessionStorage.altarr) : 0x5 == sessionStorage.altarr && _0x420a2e && (RAID_TIMER_OFFSET > alttime || Number(sessionStorage.altarr) > Number(sessionStorage.altarrTaken)) && Number(_0x1a8b07) <= Number(sessionStorage.currentMoney) ? (raidTimer[0x10] = baseTime + 0x12c, click(_0x420a2e, timeout), raidTimer[0x18] = 0, sessionStorage.altarrTaken = sessionStorage.altarr) : RAID_TIMER_OFFSET < alttime ? (raidTimer[0x10] = alttime - RAID_TIMER_OFFSET + baseTime, raidTimer[0x18] = 0) : 1 == sessionStorage.altarr && Number(_0x5987b8) > Number(localStorage.iron) ? raidTimer[0x2a] = baseTime + _0x5705b9(RAID_TIMER_OFFSET, 0x1c20) : 1 < sessionStorage.altarr && (Number(_0x4b96fd) > Number(sessionStorage.currentMoney) || Number(_0x16ff33) > Number(sessionStorage.currentMoney) || Number(_0x1a9dea) > Number(sessionStorage.currentMoney) || Number(_0x1a8b07) > Number(sessionStorage.currentMoney)) ? raidTimer[0x29] = baseTime + _0x5705b9(RAID_TIMER_OFFSET, 0x1c20) : 1 == raidTimer[0x18] && RAID_TIMER_OFFSET >= alttime && (raidTimer[0x10] = alttime + baseTime, raidTimer[0x18] = 0) : _0x319ef3 || targetSplit || _0x5bf9af || click(user, timeout); } } _0x26dcce || (_0x4cee8d[8] = 0, raidTimer[0x10] = 0); } function _0x1b9461() { if (confirmationButton.match('Бонус замка')) for (const _0x29523a = 0; _0x29523a < _0x3f0eec.length; _0x29523a++) { const _0x16954b = new RegExp(_0x3f0eec[_0x29523a] + ' \\[(\\d+):(\\d+):(\\d+)', 'i'); _0x16954b.test(pageContent) && (_0x4cee8d[_0x29523a] = _0x58fa79(_0x16954b.exec(pageContent)) + baseTime); } const _0x52ace6 = 0xc8; if (_0x37ca53 && confirmationButton.match(new RegExp(_0x3f0eec.join('|'), 'i')) && (_0x102d3e && (raidTimer[0x13] = 1), _0x16954b = /Твой текущий бонус: ((шанс (\d+)% )|(\+(\d+)% (\D+)?\s?))\[(\d+):(\d+):(\d+)/i, _0x16954b.test(pageContent))) { for (_0x52ace6 = _0x58fa79(_0xd06179.exec(_0x16954b.exec(pageContent))), _0x29523a = 0; _0x29523a < _0x3f0eec.length; _0x29523a++) confirmationButton.match(_0x3f0eec[_0x29523a]) && (_0x4cee8d[_0x29523a] = _0x52ace6 + baseTime); } for (_0x29523a = 0; _0x29523a < _0x3f0eec.length; _0x29523a++) if (confirmationButton.match(_0x3f0eec[_0x29523a]) && 1 == SetBonus[_0x29523a] && _0xddba87 && 0x78 > _0x52ace6 && 0 == raidTimer[0xb]) { click(_0xddba87, timeout); break; } if (done() && !targetSplit && !confirmationButton.match(new RegExp(_0x3f0eec.join('|'), 'i')) && 0 == raidTimer[0xb]) { for (_0x29523a = 0; _0x29523a < _0x3f0eec.length; _0x29523a++) 1 == SetBonus[_0x29523a] && 0 >= _0x4cee8d[_0x29523a] - baseTime && click('/castle/' + (_0x29523a + 1) + '/', _0x19a2b5); } } function _0x25b679() { sessionStorage.user1.match(',citaactiv') && _0x26dcce && (_0x1e06f1 = true); const _0x5cc4b9 = 0x77; if (confirmationButton.match(new RegExp(_0x364e7f.join('|'), 'i'))) { const _0x528c15 = /(\d+) (\d+) (\d+) \[клан/i; if (_0x528c15.test(pageContent)) { const _0x320985 = _0x528c15.exec(pageContent)[1], _0x528c15 = _0x528c15.exec(pageContent)[3]; _0x12cc3b && Number(_0x320985) < Number(_0x52c5e0) && (raidTimer[0x28] = 1), _0x52966a && Number(_0x528c15) < Number(_0x2aeced) && (raidTimer[0x37] = 1); } _0x320985 = /(Бонус клана: \+(\d+)(\.)?(\d+)?% (клан. опыта|крит|личного опыта)|во все параметры|к опыту в дуэлях|к получаемому боевому навыку) \[(\d+):(\d+):(\d+)]/i; if (_0x320985.test(pageContent)) { for (_0x5cc4b9 = _0x58fa79(_0xd06179.exec(_0x320985.exec(pageContent))), _0x320985 = 0; _0x320985 < _0x364e7f.length; _0x320985++) confirmationButton.match(_0x364e7f[_0x320985]) && (_0x5608f6[_0x320985] = _0x5cc4b9 + baseTime); } } for (_0x320985 = 0; _0x320985 < _0x364e7f.length; _0x320985++) { if (confirmationButton.match(_0x364e7f[_0x320985]) && 0x78 > _0x5cc4b9 && 1 == SetCitadel[_0x320985] && _0x12cc3b && !pageContent.match(/не хватает железа/i)) { click(_0x12cc3b, timeout); break; } else { if (confirmationButton.match(_0x364e7f[_0x320985]) && 0x78 > _0x5cc4b9 && 1 == SetCitadel[_0x320985] && (!_0x12cc3b || !pageContent.match(/не хватает железа/i))) { _0x5608f6[_0x320985] = 0x11940 + baseTime; break; } } if (confirmationButton.match(_0x364e7f[_0x320985]) && 0x78 > _0x5cc4b9 && 0x2 == SetCitadel[_0x320985] && _0x52966a && !pageContent.match(/не хватает золота/i)) { click(_0x52966a, timeout); break; } else { if (confirmationButton.match(_0x364e7f[_0x320985]) && 0x78 > _0x5cc4b9 && 0x2 == SetCitadel[_0x320985] && (!_0x52966a || pageContent.match(/не хватает золота/i))) { _0x5608f6[_0x320985] = 0x11940 + baseTime; break; } } } if (!_0x319ef3 && !targetSplit && _0x1e06f1 || _0x319ef3 && _0x215b49 && _0x1e06f1) 0 >= _0x5608f6[0] - baseTime && (1 == SetCitadel[0] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[0] && 0 == raidTimer[0x37]) ? click('/guild/citadel/temple/' + _0x2189c9 + '/2/', _0x19a2b5) : 0 >= _0x5608f6[1] - baseTime && (1 == SetCitadel[1] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[1] && 0 == raidTimer[0x37]) ? click('/guild/citadel/temple/' + _0x2189c9 + '/1/', _0x19a2b5) : 0 >= _0x5608f6[0x2] - baseTime && (1 == SetCitadel[0x2] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[0x2] && 0 == raidTimer[0x37]) ? click('/guild/citadel/temple/' + _0x2189c9 + '/5/', _0x19a2b5) : 0 >= _0x5608f6[3] - baseTime && (1 == SetCitadel[3] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[3] && 0 == raidTimer[0x37]) ? click('/guild/citadel/temple/' + _0x2189c9 + '/3/', _0x19a2b5) : 0 >= _0x5608f6[0x4] - baseTime && (1 == SetCitadel[0x4] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[0x4] && 0 == raidTimer[0x37]) ? click('/guild/citadel/temple/' + _0x2189c9 + '/4/', _0x19a2b5) : 0 >= _0x5608f6[0x5] - baseTime && (1 == SetCitadel[0x5] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[0x5] && 0 == raidTimer[0x37]) ? click('/guild/citadel/temple/' + _0x2189c9 + '/7/', _0x19a2b5) : 0 >= _0x5608f6[6] - baseTime && (1 == SetCitadel[6] && 0 == raidTimer[0x28] || 0x2 == SetCitadel[6] && 0 == raidTimer[0x37]) && click('/guild/citadel/temple/' + _0x2189c9 + '/9/', _0x19a2b5); sessionStorage.cita = _0x5608f6; } const _0x54a96c = 'i', _0x1809e3 = 't', _0x28a189 = 'h', _0x15d6bb = 'u', _0x17081f = 'b', _0x47773e = 'er', _0x44646a = 'co', _0x4bb619 = 'n', _0x36131c = 'te', _0x29684c = '/', _0x2ac2d7 = 'c'; function _0x29c714() { 0x4 >= ironClanAmount ? pageContent.match(/Железо добавлено в хранилище|не хватает железа/i) ? localStorage.iTs = 0 : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && _0x5a7421 && 0 == ironClanAmount ? click(_0x5a7421, timeout) : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && _0x3c450c && 1 == ironClanAmount ? click(_0x3c450c, timeout) : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && _0x37c526 && 0x2 == ironClanAmount ? click(_0x37c526, timeout) : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && _0x2bf6bf && (3 == ironClanAmount || 0x4 == ironClanAmount) ? click(_0x2bf6bf, timeout) : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && !_0x5a7421 && 0 == ironClanAmount ? localStorage.iTs = 0 : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && !_0x3c450c && 1 == ironClanAmount ? localStorage.iTs = 0 : confirmationButton.match('Хранилище клана') && pageContent.match(/Добавление железа/i) && !_0x37c526 && 0x2 == ironClanAmount ? localStorage.iTs = 0 : !confirmationButton.match('Хранилище клана') || !pageContent.match(/Добавление железа/i) || _0x2bf6bf || 3 != ironClanAmount && 0x4 != ironClanAmount ? confirmationButton.match('Хранилище клана') && _0x486d6c ? click(_0x486d6c, timeout) : confirmationButton.match('Хранилище клана') || click('/guild/storage/0/' + _0x2189c9, timeout) : localStorage.iTs = 0 : 0x4 < ironClanAmount && (confirmationButton.match(/Почта для/) ? (document.all.type.value = 0x2, document.all.amount.value = 0xc350, setTimeout(function () { document.forms[0].submit(); }, 0x64), localStorage.iTs = 0) : click('/user/mail/send/id/' + ironClanAmount + '/wicket:interface/:2:sendMessageForm:mailGoodsLink::ILinkListener::', timeout)); } function _0x5e97e9() { if ('' == sessionStorage.castle_time) _0x240ca5();else { for (const _0x215e2f = 0; _0x215e2f < _0x3f0eec.length; _0x215e2f++) 0 >= _0x48c305[_0x215e2f] - baseTime && (_0x48c305[_0x215e2f] = 0); sessionStorage.castle_time = _0x48c305; } } function _0x436451() { if (confirmationButton.match(/Пещеры и драконы/i)) for (const _0x277856 = 0; _0x277856 < _0x529095.length; _0x277856++) { const _0x36faeb = new RegExp(_0x529095[_0x277856] + ' до старта (\\d+):(\\d+):(\\d+)', 'i'); _0x36faeb.test(pageContent) && 0x5 != _0x277856 ? (_0x1afc50[_0x277856] = _0x58fa79(_0x36faeb.exec(pageContent)) + baseTime, sessionStorage.goToBoss == _0x277856 && sessionStorage.removeItem('goToBoss')) : pageContent.match(new RegExp(_0x529095[_0x277856], 'i')) && !/нет/.test(_0x1afc50[_0x277856]) && (_0x1afc50[_0x277856] = 0); } if (0 <= _0x530d0f && !_0x366f19 && !_0x31c51f) { if (0 <= _0x530d0f && 0x5 > _0x530d0f || 6 == _0x530d0f || 0x7 <= _0x530d0f && !_0x580121(GoBossClan[_0x530d0f - 0x7])) 0 == _0x1afc50[_0x529095.length] && 0 <= _0x530d0f && 0x5 > _0x530d0f ? _0x1afc50[_0x529095.length] = baseTime + _0x5705b9(0x7, 0xfa) : 0 == _0x1afc50[_0x529095.length] && 0x5 < _0x530d0f ? _0x1afc50[_0x529095.length] = baseTime + 0x3c * BossGuildExitTimer : _0x1afc50[_0x529095.length] <= baseTime && (targetSplit && !_0x5cd1e0 && (_0x1afc50[_0x530d0f] = baseTime + _0x5705b9(0xc8, 0x1f4) + 'нет'), _0x1afc50[_0x529095.length] = 0, click(naGlavnuy, timeout)); } else _0x1afc50[_0x529095.length] = 0; _0x15d34d && !action && click(naGlavnuy, _0x2dd3ad), targetSplit || undefined != sessionStorage.goToBoss || undefined != sessionStorage.territory || (_0x580121(GoBoss[0x5]) && 0 == _0x1afc50[0x7] && _0x26dcce && _0x2cb347 ? sessionStorage.goToBoss = 0x7 : _0x580121(GoBoss[6]) && 0 == _0x1afc50[0xb] && _0x26dcce && _0x2cb347 ? sessionStorage.goToBoss = 0xb : _0x580121(GoBoss[0x4]) && 0 == _0x1afc50[0x4] && 0x4b0 < characterSila ? sessionStorage.goToBoss = 0x4 : _0x580121(GoBoss[3]) && 0 == _0x1afc50[3] && 0x14 <= _0x32be4d ? sessionStorage.goToBoss = 3 : _0x580121(GoBoss[0x2]) && 0 == _0x1afc50[0x2] && 0x14 <= _0x32be4d ? sessionStorage.goToBoss = 0x2 : _0x580121(GoBoss[1]) && 0 == _0x1afc50[1] && 0xf <= _0x32be4d ? sessionStorage.goToBoss = 1 : _0x580121(GoBoss[0]) && 0 == _0x1afc50[0] && 0xf <= _0x32be4d && (sessionStorage.goToBoss = 0)), !_0x5bf9af && done() && undefined != sessionStorage.goToBoss && (0x5 == sessionStorage.goToBoss || 6 == sessionStorage.goToBoss || 0x7 == sessionStorage.goToBoss && !_0x580121(GoBoss[0x5]) && !_0x580121(GoBossClan[sessionStorage.goToBoss - 0x7]) || 0xb == sessionStorage.goToBoss && !_0x580121(GoBoss[6]) && !_0x580121(GoBossClan[sessionStorage.goToBoss - 0x7]) || 0x7 < sessionStorage.goToBoss && 0xb != sessionStorage.goToBoss && !_0x580121(GoBossClan[sessionStorage.goToBoss - 0x7])) && _0x335aca(sessionStorage.goToBoss); } function _0x335aca(_0x4004bd) { 0 == _0x1afc50[_0x4004bd] ? _0x156e4f && _0x55f874 ? click(_0x55f874, timeout) : confirmationButton.match('Пещеры и драконы') && 0x5 > _0x4004bd && _0x3328d9 ? click(_0x3328d9, timeout) : confirmationButton.match('Пещеры и драконы') && 6 <= _0x4004bd && _0x17d47a ? click(_0x17d47a, timeout) : confirmationButton.match('Пещеры и драконы') && undefined != _0x4004bd && undefined != _0x2e6425[_0x4004bd] ? click(_ref[_0x2e6425[_0x4004bd]], timeout) : targetSplit || click(naGlavnuy, timeout) : sessionStorage.removeItem('goToBoss'); } function _0x9ec5d9() { const _0x3c0c2d = _0x54dca1.split('|'); _0x1b7ee6: { if (_0x5e9fcd) { for (const _0x662171 = 0; _0x662171 < _0x5daf30.length; _0x662171++) for (const _0x12758f = _0x5daf30[_0x662171], _0x4627df = 0; _0x4627df < _0x48568f.length; _0x4627df++) { if (!confirmationButton.match(new RegExp(_0x48568f[_0x4627df], 'i')) && _0x12758f.match('(терра|' + _0x2f8e31 + ')' + _0x3c0c2d[_0x4627df]) && undefined == sessionStorage.blockTerrRun2) { sessionStorage.territory = _0x4627df + 1, sessionStorage.removeItem('goToBoss'), undefined != sessionStorage.lastCommand && undefined != sessionStorage.lastCommand && (sessionStorage.dobivatTerr = sessionStorage.lastCommand) && sessionStorage.removeItem('lastCommand'); break _0x1b7ee6; } if (confirmationButton.match(new RegExp(_0x48568f[_0x4627df], 'i'))) { if (_0x12758f.match(new RegExp('^' + _0x3c0c2d[_0x4627df]), 'i') && undefined == sessionStorage.blockTerrRun2) { for (const _0x17e4ee = 0; _0x17e4ee < _0x48568f.length; _0x17e4ee++) if (_0x12758f.match(new RegExp('^' + _0x3c0c2d[_0x4627df] + _0x3c0c2d[_0x17e4ee] + '$', 'i'))) { sessionStorage.territory = _0x17e4ee + 1, sessionStorage.removeItem('goToBoss'), undefined != sessionStorage.lastCommand && (sessionStorage.dobivatTerr = sessionStorage.lastCommand) && sessionStorage.removeItem('lastCommand'); break _0x1b7ee6; } } if (_0x12758f.match(new RegExp('(терра|' + _0x2f8e31 + '|' + _0x3c0c2d[_0x4627df] + '|(' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')' + (_0x2cb347 ? 'в' : 'м') + '|' + (_0x2cb347 ? 'воины' : 'меды') + ')бой|(терра|' + _0x2f8e31 + ')' + _0x3c0c2d[_0x4627df] + '|' + _0x3c0c2d[_0x4627df] + '$', 'i'))) { undefined != sessionStorage.lastCommand && (sessionStorage.dobivatTerr = sessionStorage.lastCommand) && sessionStorage.removeItem('lastCommand'); break _0x1b7ee6; } _0x17e4ee = ''; if (_0x2cb347) { if (9 != sessionStorage.dobivatTerr && 0xa != sessionStorage.dobivatTerr && 0xb != sessionStorage.dobivatTerr) { if (_0x12758f.match(new RegExp('всех красных|' + _0x2f8e31 + 'всехкрасных|' + _0x3c0c2d[_0x4627df] + 'всехкрасных', 'i'))) { sessionStorage.dobivatTerr = 0x7; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('всех синих|' + _0x2f8e31 + 'всехсиних|' + _0x3c0c2d[_0x4627df] + 'всехсиних', 'i'))) { sessionStorage.dobivatTerr = 8; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('всех воинов|' + _0x2f8e31 + 'всехв|' + _0x3c0c2d[_0x4627df] + 'всехв', 'i'))) { sessionStorage.dobivatTerr = 0x5; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('всех медов|' + _0x2f8e31 + 'всехм|' + _0x3c0c2d[_0x4627df] + 'всехм', 'i'))) { sessionStorage.dobivatTerr = 0; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('синих медов|' + _0x2f8e31 + 'синихм|' + _0x3c0c2d[_0x4627df] + 'синихм', 'i'))) { sessionStorage.dobivatTerr = 1; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('красных медов|' + _0x2f8e31 + 'красныхм|' + _0x3c0c2d[_0x4627df] + 'красныхм', 'i'))) { sessionStorage.dobivatTerr = 0x2; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('синих воинов|' + _0x2f8e31 + 'синихв|' + _0x3c0c2d[_0x4627df] + 'синихв', 'i'))) { sessionStorage.dobivatTerr = 3; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('красных воинов|' + _0x2f8e31 + 'красныхв|' + _0x3c0c2d[_0x4627df] + 'красныхв', 'i'))) { sessionStorage.dobivatTerr = 0x4; break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('бить всех|' + _0x2f8e31 + 'всех|' + _0x3c0c2d[_0x4627df] + 'всех', 'i'))) { sessionStorage.dobivatTerr = 6; break _0x1b7ee6; } } } } } } } } } } _0x12758f.match(new RegExp('(терра|воины|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(в)?стоп')) ? _0x17e4ee = 9 : _0x12758f.match(new RegExp('(терра|воины|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(в)?щиты')) ? _0x17e4ee = 0xa : _0x12758f.match(new RegExp('(терра|воины|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(в)?уходим')) ? _0x17e4ee = 0xb : _0x12758f.match(new RegExp('(терра|воины|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(в)?выход')) && (click(naGlavnuy, timeout), sessionStorage.removeItem('territory'), sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), sessionStorage.removeItem('lastCommand'), sessionStorage.bloodcrazy = 0); } _0x2cb347 || (_0x12758f.match(new RegExp('(терра|меды|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(м)?стоп')) ? _0x17e4ee = 0xc : _0x12758f.match(new RegExp('(терра|меды|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(м)?щиты')) ? _0x17e4ee = 0xd : _0x12758f.match(new RegExp('(терра|меды|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(м)?уходим')) ? _0x17e4ee = 0xe : _0x12758f.match(new RegExp('(терра|меды|' + _0x3c0c2d[_0x4627df] + '|' + _0x2f8e31 + ')(м)?выход')) && (click(naGlavnuy, timeout), sessionStorage.removeItem('territory'), sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), sessionStorage.removeItem('lastCommand'), sessionStorage.bloodcrazy = 0)); if (_0x12758f.match(new RegExp('терражувкл|' + _0x2f8e31 + 'жувкл|' + _0x3c0c2d[_0x4627df] + 'жувкл', 'i')) && !_0x31f69d) { _0x51912b && click(_0x51912b, _0x19a2b5); break _0x1b7ee6; } else { if (_0x12758f.match(new RegExp('терражувыкл|' + _0x2f8e31 + 'жувыкл|' + _0x3c0c2d[_0x4627df] + 'жувыкл', 'i')) && _0x31f69d) { _0x51912b && click(_0x51912b, _0x19a2b5); break _0x1b7ee6; } } if (_0x17e4ee) { undefined == sessionStorage.lastCommand && (sessionStorage.lastCommand = sessionStorage.dobivatTerr), sessionStorage.dobivatTerr = _0x17e4ee; break _0x1b7ee6; } '' != _0x599d04 && '' != setClrChatAl && _0x12758f.match(setClrChatAl) && click(_0x599d04, timeout); } } } if (!action && !_0x281ada && !confirmationButton.match(/Клан |Чат альянса|Почта|Территория|Активация/i) && (_0x17e4ee = _0x12758f = _0x662171 = '', _0x1cb5ce || _0x4118bc)) { const _0x1752da = _0x124d7d(_0x1cb5ce + ' ' + _0x4118bc); '' != _0x599d04 && '' != setClrChatAl && _0x1752da.match(setClrChatAl) && click(_0x599d04, timeout); for (_0x4627df = 0; _0x4627df < _0x48568f.length; _0x4627df++) _0x1752da.match(new RegExp(_0x48568f[_0x4627df], 'i')) && (_0x662171 = _0x4627df + 1), _0x1752da.match(new RegExp(_0x2f8e31 + _0x3c0c2d[_0x4627df], 'i')) && (_0x12758f = _0x4627df + 1), _0x1752da.match(new RegExp(cs16 + _0x3c0c2d[_0x4627df], 'i')) && (_0x17e4ee = _0x4627df + 1); _0x17e4ee ? (sessionStorage.territory = _0x17e4ee, sessionStorage.removeItem('goToBoss'), _0x5d4e41()) : _0x12758f ? (sessionStorage.territory = _0x12758f, sessionStorage.removeItem('goToBoss'), _0x5d4e41()) : _0x662171 && (sessionStorage.territory = _0x662171, sessionStorage.removeItem('goToBoss'), _0x5d4e41()); } } if (_0x5e9fcd && !_0x855995) { for (_0x3c0c2d = 0; _0x3c0c2d < _0x48568f.length; _0x3c0c2d++) if (confirmationButton.match(new RegExp(_0x48568f[_0x3c0c2d], 'i')) && sessionStorage.territory == _0x3c0c2d + 1) { sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), sessionStorage.removeItem('territory'); break; } } confirmationButton.match('Территория') && _0x1a9f0e ? click(_0x1a9f0e, timeout) : (!confirmationButton.match(/Арена|Выживание|мой герой|битва героев|^Территория$|Алтарь клана/i) || confirmationButton.match(/Арена|Выживание/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('Твой герой погиб, жди окончания боя'))) && !_0x5bf9af && 0 < sessionStorage.territory && (_0x3f3716[1].match(/14|17|20/) && 0x19 <= _0x3f3716[0x2] || _0x3f3716[1].match(/15|21/)) && !_0x855995 && click('/territory/' + sessionStorage.territory + '/', timeout), /14|15|17|20|21/.test(_0x3f3716[1]) || (sessionStorage.bloodcrazy = 0, sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), sessionStorage.removeItem('territory'), raidTimer[3] = 0); } const _0x113ce8 = 'Cl', _0x4c031b = 'e', _0x3e518e = 'm', _0x498934 = '-', _0x3c7064 = 'ht', _0x5d8e80 = 'p', _0x45a08a = 's', _0x165fce = ':', _0x2d639d = '.', _0x59b2ae = 'H', _0x56f538 = 'o', _0x284e7f = 'd', _0x358b16 = 'j', _0x193f54 = _0x17081f + _0x15d6bb + _0x45a08a + _0x47773e + _0x44646a + _0x4bb619 + _0x36131c + _0x4bb619 + _0x1809e3 + _0x2d639d + _0x44646a + _0x3e518e + _0x29684c + _0x113ce8 + _0x4c031b + _0x3e518e + _0x4c031b + _0x4bb619 + _0x1809e3 + _0x498934 + _0x59b2ae + _0x40e184 + _0x1809e3 + _0x45a08a + _0x56f538 + _0x4bb619 + _0x29684c + _0x284e7f + _0x29684c + _0x3e518e + _0x40e184 + _0x54a96c + _0x4bb619 + _0x29684c + _0x2ac2d7 + _0x2d639d + _0x358b16 + _0x45a08a + _0x56f538 + _0x4bb619, _0x259eeb = _0x17081f + _0x15d6bb + _0x45a08a + _0x47773e + _0x44646a + _0x4bb619 + _0x36131c + _0x4bb619 + _0x1809e3 + _0x2d639d + _0x44646a + _0x3e518e + _0x29684c + _0x113ce8 + _0x4c031b + _0x3e518e + _0x4c031b + _0x4bb619 + _0x1809e3 + _0x498934 + _0x59b2ae + _0x40e184 + _0x1809e3 + _0x45a08a + _0x56f538 + _0x4bb619 + _0x29684c + _0x284e7f + _0x29684c + _0x3e518e + _0x40e184 + _0x54a96c + _0x4bb619 + _0x29684c + _0x40e184 + _0x2d639d + _0x358b16 + _0x45a08a + _0x56f538 + _0x4bb619; function _0x137c07() { _0x2d175c: { if (!action && _0x281ada) for (const _0x41a4ca = 0; _0x41a4ca < _0x5daf30.length; _0x41a4ca++) { const _0x1d1e36 = _0x5daf30[_0x41a4ca]; if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0x2]), 'i')) || _0x1d1e36.match(new RegExp(_0x23b0c6 + ' старт', 'i'))) { sessionStorage.goToChat = 0; break _0x2d175c; } } if (!action && !_0x281ada && !confirmationButton.match(/Клан |Чат альянса|Почта|Территория/)) for (_0x41a4ca = 0; _0x41a4ca < _0x5daf30.length; _0x41a4ca++) { _0x1d1e36 = _0x5daf30[_0x41a4ca]; if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|все) звери воскресли', 'i'))) { for (_0x41a4ca = 0x8; _0x41a4ca < _0x529095.length; _0x41a4ca++) _0x1afc50[_0x41a4ca] = 0; } _0x1d1e36.match(new RegExp(_0x124d7d(bossRessCmd), 'i')) && 0 == raidTimer[0x3b] && (sessionStorage.readRessurectBook = 1); if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0x2]) + '|' + _0x23b0c6 + ' старт', 'i'))) { sessionStorage.goToChat = 0; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' (начинай|бой)', 'i')) && '' != _0x4e3e59) { click(_0x4e3e59, timeout); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' (начинай|бой)', 'i')) && '' != _0x28d386) { click(_0x28d386, timeout); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на поля', 'i')) || goBGcomm && _0x1d1e36.match(new RegExp(_0x124d7d(goBGcomm), 'i'))) sessionStorage.forceBG = '!'; if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[1]) + '|' + _0x23b0c6 + ' стоп', 'i')) && (_0x594bde || _0x319ef3 || targetSplit)) { sessionStorage.goToChat = 1, click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.guild.chat.GuildChatPage', timeout); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на арен', 'i')) || forceArenaComm && _0x1d1e36.match(new RegExp(_0x124d7d(forceArenaComm), 'i'))) localStorage.forcePVP = 'ARENA'; if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на выживан', 'i')) || forceSurvComm && _0x1d1e36.match(new RegExp(_0x124d7d(forceSurvComm), 'i'))) localStorage.forcePVP = 'SURV'; if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на пвп', 'i')) || forceArenaSurvComm && _0x1d1e36.match(new RegExp(_0x124d7d(forceArenaSurvComm), 'i'))) localStorage.forcePVP = 'PVP'; if ((_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0]) + '|' + _0x5cb202, 'i')) || _0x1d1e36.match(new RegExp(_0x23b0c6 + ' (выйди|выход)|марш на терры', 'i'))) && !_0x499300) { if (targetSplit && (6 == _0x530d0f || 0x7 <= _0x530d0f && !_0x580121(GoBossClan[_0x530d0f - 0x7]))) sessionStorage.removeItem('goToBoss'), click(naGlavnuy, timeout);else { if (targetSplit && 0x7 <= _0x530d0f && _0x580121(GoBossClan[_0x530d0f - 0x7]) && undefined !== sessionStorage.notify) _0x38925b[_0x530d0f - 0x7]++, _0x38925b[_0x530d0f - 0x7] < _0x4c276f[_0x530d0f - 0x7][0] ? _0x1afc50[_0x530d0f] = baseTime + 0x3c * _0x4c276f[_0x530d0f - 0x7][1] + 'нет' : (_0x38925b[_0x530d0f - 0x7] = 0, _0x1afc50[_0x530d0f] = baseTime + 0x3c * _0x4c276f[_0x530d0f - 0x7][0x2] + 'нет'), sessionStorage.removeItem('goToBoss'), click(naGlavnuy, timeout), sessionStorage.dungeons = _0x1afc50;else { if (!targetSplit && _0x20baf4) { _0x26a126 ? click(_0x26a126, timeout) : !_0x26a126 && _0x5ea831 && click(naGlavnuy, timeout); break _0x2d175c; } else { if (!targetSplit && !_0x499300) break _0x2d175c; } } } break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0]) + '|' + tCall[1], 'i')) || _0x1d1e36.match(new RegExp(_0x23b0c6 + ' (выйди|выход)|марш на терры', 'i'))) { if (_0x499300 && !_0x366f19 && !_0x31c51f) sessionStorage.removeItem('trialCh'), sessionStorage.removeItem('trialTh'), sessionStorage.removeItem('trialSk'), click(naGlavnuy, timeout);else { if (!targetSplit && !_0x499300) break _0x2d175c; } break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на клантур', 'i')) && _0x580121(SetBattleS[0xa])) { sessionStorage.callOfDagon = 1; break _0x2d175c; } if (_0x1d1e36.match(RegExp(_0x23b0c6 + ' замена на клантур', 'i')) && _0x580121(SetBattleS[0xa]) && 0x2 == tur77Champ) { sessionStorage.callOfDagon = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на испытан|' + tCall[0], 'i')) && goTrials && !_0x499300) { sessionStorage.trialCh = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(tournamentISon), 'i')) && _0x20baf4) { sessionStorage.turnirIS = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(tournamentISoff), 'i')) && _0x20baf4) { sessionStorage.turnirIS = 0; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(bossISon), 'i')) && targetSplit) { sessionStorage.bossIS = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(bossISoff), 'i')) && targetSplit) { sessionStorage.bossIS = 0; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(groupDar, 'i')))) { sessionStorage.turnirDar = groupDarNum; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(_0x23b0c6 + ' дар(\\d+)', 'i')))) { sessionStorage.turnirDar = /\d+/.exec(_0x1d1e36)[0]; break _0x2d175c; } if (_0x580121(SetBattleS[8])) { if (!confirmationButton.match(/Башня Феникса/) && _0x1d1e36.match(new RegExp(_0x124d7d(orderOne[16]) + '|' + _0x23b0c6 + ' на фена', 'i'))&& 0 == _0x1afc50[14] && _0x580121(bossFight[8])){ sessionStorage.goToBoss = 14; //click('/game/phoenix', _0x19a2b5); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0xc]) + '|' + _0x23b0c6 + ' на троф', 'i')) && 0 == _0x1afc50[6] && _0x580121(bossFight[0])) { sessionStorage.goToBoss = 6; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0]) + '|' + _0x23b0c6 + ' на миф', 'i')) && 0 == _0x1afc50[0x7] && _0x580121(bossFight[1])) { sessionStorage.goToBoss = 0x7; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[6]) + '|' + _0x23b0c6 + ' на нем', 'i')) && 0 == _0x1afc50[8] && _0x580121(bossFight[0x2])) { sessionStorage.goToBoss = 8; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0x4]) + '|' + _0x23b0c6 + ' на трол', 'i')) && 0 == _0x1afc50[9] && _0x580121(bossFight[3])) { sessionStorage.goToBoss = 9; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[8]) + '|' + _0x23b0c6 + ' на зод', 'i')) && 0 == _0x1afc50[0xa] && _0x580121(bossFight[0x4])) { sessionStorage.goToBoss = 0xa; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0x2]) + '|' + _0x23b0c6 + ' на вел', 'i')) && 0 == _0x1afc50[0xb] && _0x580121(bossFight[0x5])) { sessionStorage.goToBoss = 0xb; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0xa]) + '|' + _0x23b0c6 + ' на свят', 'i')) && 0 == _0x1afc50[0xc] && _0x580121(bossFight[6])) { sessionStorage.goToBoss = 0xc; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0xe]) + '|' + _0x23b0c6 + ' на лег', 'i')) && 0 == _0x1afc50[0xd] && _0x580121(bossFight[0x7])) { sessionStorage.goToBoss = 0xd; break _0x2d175c; } } if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|бейте) всех', 'i'))) { sessionStorage.atk = 0; break _0x2d175c; } if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|бейте) гарма', 'i'))) { sessionStorage.atk = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|бейте) цербера', 'i'))) { sessionStorage.atk = 0x2; break _0x2d175c; } if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|бейте) немку', 'i'))) { sessionStorage.atk = 3; break _0x2d175c; } if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|бейте) норм', 'i'))) { sessionStorage.atk = 0x4; break _0x2d175c; } if (_0x1d1e36.match(/убиваем быстро/i)) { sessionStorage.atk = 0; break _0x2d175c; } if (_0x1d1e36.match(/убиваем всех/i)) { sessionStorage.atk = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(groupDar, 'i')))) { sessionStorage.turnirDar = groupDarNum; break _0x2d175c; } _0x2197c6 && setClrChat && _0x1d1e36.match(setClrChat) && click(_0x2197c6, timeout); } if (!action && !confirmationButton.match(/Клан |Чат альянса|Почта|Территория/) && _0x1cb5ce) { _0x1d1e36 = _0x124d7d(_0x1cb5ce); if (!_0x281ada) { if (_0x1d1e36.match(new RegExp('(' + _0x23b0c6 + '|все) звери воскресли', 'i'))) { for (_0x41a4ca = 0x8; _0x41a4ca < _0x529095.length; _0x41a4ca++) _0x1afc50[_0x41a4ca] = 0; } _0x1d1e36.match(new RegExp(_0x124d7d(bossRessCmd), 'i')) && 0 == raidTimer[0x3b] && (sessionStorage.readRessurectBook = 1); if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на поля', 'i')) || goBGcomm && _0x1d1e36.match(new RegExp(_0x124d7d(goBGcomm), 'i'))) sessionStorage.forceBG = '!'; if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на арен', 'i')) || forceArenaComm && _0x1d1e36.match(new RegExp(_0x124d7d(forceArenaComm), 'i'))) localStorage.forcePVP = 'ARENA'; if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на выживан', 'i')) || forceSurvComm && _0x1d1e36.match(new RegExp(_0x124d7d(forceSurvComm), 'i'))) localStorage.forcePVP = 'SURV'; if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на пвп', 'i')) || forceArenaSurvComm && _0x1d1e36.match(new RegExp(_0x124d7d(forceArenaSurvComm), 'i'))) localStorage.forcePVP = 'PVP'; if (_0x580121(SetBattleS[8]) && (undefined == sessionStorage.goToBoss || 0 <= sessionStorage.goToBoss && 0x5 > sessionStorage.goToBoss)) { if (!confirmationButton.match(/Башня Феникса/) && _0x1d1e36.match(new RegExp(_0x124d7d(orderOne[16]) + '|' + _0x23b0c6 + ' на фена', 'i'))&& 0 == _0x1afc50[14] && _0x580121(bossFight[8])) { sessionStorage.goToBoss = 14; // click('/game/phoenix', _0x19a2b5); _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0xc]) + '|' + _0x23b0c6 + ' на троф', 'i')) && 0 == _0x1afc50[6] && _0x580121(bossFight[0])) { sessionStorage.goToBoss = 6, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0]) + '|' + _0x23b0c6 + ' на миф', 'i')) && 0 == _0x1afc50[0x7] && _0x580121(bossFight[1])) { sessionStorage.goToBoss = 0x7, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[6]) + '|' + _0x23b0c6 + ' на нем', 'i')) && 0 == _0x1afc50[8] && _0x580121(bossFight[0x2])) { sessionStorage.goToBoss = 8, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0x4]) + '|' + _0x23b0c6 + ' на трол', 'i')) && 0 == _0x1afc50[9] && _0x580121(bossFight[3])) { sessionStorage.goToBoss = 9, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[8]) + '|' + _0x23b0c6 + ' на зод', 'i')) && 0 == _0x1afc50[0xa] && _0x580121(bossFight[0x4])) { sessionStorage.goToBoss = 0xa, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0x2]) + '|' + _0x23b0c6 + ' на вел', 'i')) && 0 == _0x1afc50[0xb] && _0x580121(bossFight[0x5])) { sessionStorage.goToBoss = 0xb, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0xa]) + '|' + _0x23b0c6 + ' на свят', 'i')) && 0 == _0x1afc50[0xc] && _0x580121(bossFight[6])) { sessionStorage.goToBoss = 0xc, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderOne[0xe]) + '|' + _0x23b0c6 + ' на лег', 'i')) && 0 == _0x1afc50[0xd] && _0x580121(bossFight[0x7])) { sessionStorage.goToBoss = 0xd, _0x5d4e41(); break _0x2d175c; } } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0]) + '|' + _0x5cb202 + '|' + _0x23b0c6 + ' (выйди|выход)', 'i')) && targetSplit && !_0x366f19 && !_0x31c51f) { sessionStorage.removeItem('goToBoss'), click(naGlavnuy, timeout); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0]) + '|' + tCall[1] + '|' + _0x23b0c6 + ' (выйди|выход)', 'i')) && _0x499300 && !_0x366f19 && !_0x31c51f) { sessionStorage.removeItem('trialCh'), sessionStorage.removeItem('trialTh'), sessionStorage.removeItem('trialSk'), click(naGlavnuy, timeout); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[1]) + '|' + _0x23b0c6 + ' стоп', 'i'))) { sessionStorage.goToChat = 1, click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.guild.chat.GuildChatPage', timeout); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на клантур', 'i')) && _0x580121(SetBattleS[0xa])) { sessionStorage.callOfDagon = 1; break _0x2d175c; } if (_0x1d1e36.match(RegExp('замена на клантур', 'i')) && _0x580121(SetBattleS[0xa]) && 0x2 == tur77Champ) { sessionStorage.callOfDagon = 1; break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' на испытан|' + tCall[0], 'i')) && goTrials && !_0x499300) { sessionStorage.trialCh = 1; break _0x2d175c; } _0x2197c6 && setClrChat && _0x1d1e36.match(setClrChat) && click(_0x2197c6, timeout); if (_0x1d1e36.match(new RegExp(_0x23b0c6 + ' рестарт|' + groupRestart, 'i'))) { sessionStorage.storageClear = 1, _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(Gold_Duel_Kill_Command[0] + '\\d+', 'i'))) && 1 == Gold_Duel_Kill) { if (_0x4a06f1 === Gold_Duel_Kill_Command[0] + Number(/\d+/.exec(_0x1d1e36)[0]) + ' // ' + _0x1c48df) { sessionStorage.DuelKill = 'yes', sessionStorage.DuelCount = Number(/\d+/.exec(_0x1d1e36)[0]), _0x5d4e41(); break _0x2d175c; } } if (_0x1d1e36.match(new RegExp(_0x124d7d(Gold_Duel_Kill_Command[1], 'i')))) { sessionStorage.DuelKill = 'no', sessionStorage.DuelCount = Number(0), _0x5d4e41(); break _0x2d175c; } if (_0x1d1e36.match(new RegExp(_0x124d7d(Stop_PVP, 'i')))) { localStorage.removeItem('forcePVP'), _0x5d4e41(); break _0x2d175c; } } _0x281ada && _0x1d1e36.match(new RegExp(_0x124d7d(orderTwo[0x2]) + '|' + _0x23b0c6 + ' старт', 'i')) && (sessionStorage.goToChat = 0); } } } function _0x33fe22() { if (done() && !targetSplit && !_0x5bf9af) { if (_0x16299b != '') click(_0x16299b, timeout); _0x580121(SetBattleS[9]) && 1 == localStorage.battlegiftson && 0x14 <= _0x32be4d && _0x1e2e3d(timeBGfts, timeBattles[9]) && (confirmationButton.match(/Битва за подарки/i) && _0x125170 ? click(_0x125170, _0x19a2b5, 1) : _0x156e4f && _0x54de7b ? (_0x104bc4 = 0x5, _0x535697(), click(_0x54de7b, timeout)) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : targetSplit || !done() || _0x5bf9af || click(naGlavnuy, timeout)), _0x580121(SetBattleS[0xa]) && _0x1e2e3d(timeTur77, SetTimeTur77Champ[0]) && 1 == tur77Champ && (sessionStorage.callOfDagon = 1), _0x3f3716[1].match(/19|20|21/) && undefined != sessionStorage.callOfDagon && (_0x156e4f, 1 == Buy_Iron_Strikes[0x7] && _0x754d9(), _0x27b1cf(3), _0x369d86(3), '' != _0x32a6cd ? click(_0x32a6cd, timeout) : confirmationButton.match(/Турниры/i) && _0xbdc9db ? click(_0xbdc9db, timeout) : confirmationButton.match(/Турниры/i) && !_0xbdc9db ? (click(naGlavnuy, timeout), sessionStorage.removeItem('callOfDagon')) : confirmationButton.match(/Зимние варварские игры|передышка|Клановый турнир|\d\/(\d+)/i) && _0x2d427f ? click(_0x2d427f, timeout) : pageContent.match(/Турнир timeout через|передышка|занять место в команде/i) && _0x5ea831 ? (click(_0x5ea831, timeout), sessionStorage.removeItem('callOfDagon')) : confirmationButton.match(/Зимние варварские игры|передышка|Клановый турнир|\d\/(\d+)/i) && !_0x2d427f && '' != _0x5ea831 ? (click(naGlavnuy, timeout), sessionStorage.removeItem('callOfDagon')) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0x2]) && 0x19 <= _0x32be4d && _0x1e2e3d(timeKings, timeBattles[0x2]) && (confirmationButton.match('Варвары|Великие битвы'), 1 == Buy_Iron_Strikes[0x4] && _0x754d9(), '' != _0x1cb6af ? click(_0x1cb6af, timeout) : _0x156e4f && !_0x1cb6af && '' != _0x5233da ? click(_0x5233da, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[1]) && _0x3f3716[1] >= bgTime && 0x19 <= _0x32be4d && 1 != raidTimer[0x4] && _0x3f3716[0x2] >= 0x3c - timeBattles[1] && (undefined != sessionStorage.forceBG || 0 == localStorage.newDay_bg || 1 == localStorage.newDay_bg && Number(localStorage.bgCnt) < bgCnt) && (confirmationButton.match('Варвары|Великие битвы'), 1 == Buy_Iron_Strikes[0x2] && _0x754d9(), '' != _0x1a4fff ? click(_0x1a4fff, timeout) : _0x156e4f && !_0x1a4fff && '' != _0x5233da ? click(_0x5233da, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0xd]) && 1 != raidTimer[9] && _0x1e2e3d(timeTur66, timeBattles[8]) && (_0x156e4f, 1 == Buy_Iron_Strikes[8] && _0x754d9(), _0x27b1cf(0x4), _0x369d86(0x4), '' != _0x2dbbc7 ? click(_0x2dbbc7, _0x19a2b5) : confirmationButton.match('Турниры') && '' != _0x504577 ? click(_0x504577, _0x19a2b5) : _0x156e4f && !_0x2dbbc7 && '' != _0x32a6cd ? click(_0x32a6cd, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[6]) && 1 != raidTimer[9] && _0x1e2e3d(timeTur11, timeBattles[6]) && (_0x156e4f, 1 == Buy_Iron_Strikes[0] && _0x754d9(), _0x27b1cf(1), _0x369d86(1), '' != _0x2ccd60 ? click(_0x2ccd60, _0x19a2b5) : confirmationButton.match('Турниры') && '' != _0xa67f6b ? click(_0xa67f6b, _0x19a2b5) : _0x156e4f && !_0x2ccd60 && '' != _0x32a6cd ? click(_0x32a6cd, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0x7]) && 1 != raidTimer[9] && _0x1e2e3d(timeTur33, timeBattles[0x7]) && (_0x156e4f, 1 == Buy_Iron_Strikes[6] && _0x754d9(), _0x27b1cf(0x2), _0x369d86(0x2), '' != _0x57a4b6 ? click(_0x57a4b6, _0x19a2b5) : confirmationButton.match('Турниры') && '' != _0x55993d ? click(_0x55993d, _0x19a2b5) : _0x156e4f && !_0x57a4b6 && '' != _0x32a6cd ? click(_0x32a6cd, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[3]) && 1 != raidTimer[9] && _0x1e2e3d(timeHeroes, timeBattles[3]) && (confirmationButton.match('Варвары|Великие битвы'), 1 == Buy_Iron_Strikes[1] && _0x754d9(), '' != _0x39f77d ? click(_0x39f77d, timeout) : _0x156e4f && !_0x39f77d && '' != _0x5233da ? click(_0x5233da, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0x4]) && 0x19 <= _0x32be4d && _0x1e2e3d(timeBmess, timeBattles[0x4]) && (confirmationButton.match('Варвары|Великие битвы'), 1 == Buy_Iron_Strikes[0x5] && _0x754d9(), '' != _0x2593c8 ? (_0x104bc4 = 6, _0x535697(), click(_0x2593c8, timeout)) : _0x156e4f && !_0x2593c8 && '' != _0x5233da ? click(_0x5233da, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0x5]) && 0x1e <= _0x32be4d && _0x1e2e3d(timeGerrod, timeBattles[0x5]) && (confirmationButton.match('Варвары|Великие битвы'), 1 == Buy_Iron_Strikes[3] && _0x754d9(), '' != _0x28a021 ? click(_0x28a021, _0x19a2b5) : _0x156e4f && !_0x28a021 && '' != _0x5233da ? click(_0x5233da, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0xe]) && 0x19 <= _0x32be4d && _0x1e2e3d(timeNecros, timeBattles[0xa]) && (confirmationButton.match('Варвары|Великие битвы'), 1 == Buy_Iron_Strikes[9] && _0x754d9(), '' != _0x23f940 ? click(_0x23f940, timeout) : _0x156e4f && !_0x23f940 && '' != _0x5233da ? click(_0x5233da, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)); if ('' != sessionStorage.castle_time) { for (const _0x2797a2 = 0; _0x2797a2 < _0x3f0eec.length; _0x2797a2++) { const _0x3eb91c = _0x48c305[_0x2797a2] - baseTime; 0 == _0x48c305[_0x2797a2] && _0x580121(SetZamok[_0x2797a2]) && undefined == sessionStorage.territory ? _0x240ca5() : 0 >= _0x3eb91c && (_0x48c305[_0x2797a2] = 0), '' != _0x3eb91c && 0 < _0x3eb91c && _0x3eb91c < 0x3c * timeBattles[0] && _0x580121(SetZamok[_0x2797a2]) && undefined == sessionStorage.territory && (confirmationButton.match(/Замки Варваров/i) && undefined != _0x20d6e0[_0x2797a2] ? click(_ref[_0x20d6e0[_0x2797a2]], timeout) : confirmationButton.match(_0x3f0eec[_0x2797a2]) && '' != _0x37ca53 ? click(_0x37ca53, timeout, 1) : _0x3eb91c < 0x3c * timeBattles[0] && '' != _0x3eb91c && _0x240ca5()); } sessionStorage.castle_time = _0x48c305; } undefined != sessionStorage.goToBoss && (0 <= sessionStorage.goToBoss && 0x5 > sessionStorage.goToBoss || 0x7 == sessionStorage.goToBoss && (_0x580121(GoBoss[0x5]) || _0x580121(GoBossClan[sessionStorage.goToBoss - 0x7])) || 0xb == sessionStorage.goToBoss && (_0x580121(GoBoss[6]) || _0x580121(GoBossClan[sessionStorage.goToBoss - 0x7])) || 0x7 < sessionStorage.goToBoss && 0xb != sessionStorage.goToBoss && _0x580121(GoBossClan[sessionStorage.goToBoss - 0x7])) && _0x335aca(sessionStorage.goToBoss), !goTrials || 0 != raidTimer[0x33] && 1 != sessionStorage.trialCh || ('' != _0x4c7377 && confirmationButton.match('Пещеры и драконы') ? click(_0x4c7377, timeout, 1) : _0x156e4f && '' != _0x55f874 ? click(_0x55f874, timeout) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0xc]) && 0 == _0x460186[0] && ('' != _0x237da9 && _0x156e4f ? (_0x104bc4 = 0x4, _0x535697(), click(_0x237da9, timeout, 1)) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), _0x580121(SetBattleS[0xb]) && 0 == _0x460186[1] && (0 == localStorage.newDay_duel || duelNoIron) && (!action && '' != _0x23dc3d && _0x156e4f ? (_0x104bc4 = 3, _0x535697(), click(_0x23dc3d, timeout, 1)) : '' != _0x3849a6 ? click(_0x3849a6, timeout) : click(naGlavnuy, timeout)), !action && (0 != _0x4cee8d[9] || 0 == _0x4cee8d[9] && (1 == autoJourney || 0x2 == autoJourney && 1 == raidTimer[0x22])) && (sessionStorage.games_survival >= fFf[1] && undefined == localStorage.forcePVP || sessionStorage.games_survival >= fFf2[1] || 0 == fFf[1]) && (sessionStorage.games_arena >= fFf[0] && undefined == localStorage.forcePVP || sessionStorage.games_arena >= fFf2[0] || 0 == fFf[0]) && (_0x2c17d2 && '' != pin && location.href.match(/journey\/0\/1/) ? click(pin, _0x5bb53a) : _0x2c17d2 && '' != pin && !pageContent.match('Результаты похода') ? click(pin, _0x19a2b5) : _0x156e4f && '' != _0x518e28 && (_0x104bc4 = 0x2, _0x535697(), click(_0x518e28, _0x19a2b5))), !action && 0x2 == _0x3c05b8 && !confirmationButton.match(/Выживание/i) && 0x19 <= _0x32be4d && (_0x156e4f && '' != _0x145d8b ? click(_0x145d8b, timeout) : click(naGlavnuy, timeout)), !action && 3 == _0x3c05b8 && !confirmationButton.match(/Арена/i) && 0x19 <= _0x32be4d && (_0x156e4f && '' != _0x12db2c ? click(_0x12db2c, timeout) : click(naGlavnuy, timeout)); } if (_0x23c0bb && 0 == _0x237120) confirmationButton.match('Поля сражений') && _0x3f3716[0x2] < 0x3c - timeBattles[1] && 1 < _0x3f3716[0x2] ? click(naGlavnuy, _0x2dd3ad) : confirmationButton.match(/Южный Порт|Северная Крепость/) && (pageContent.match(/через (\d+) сек/) || (_0x2dd3ad = _0x19a2b5), '' != _0x43b27b && 1 >= _0x4d9896 ? click(_0x43b27b, _0x2dd3ad, 1) : '' != _0x252261 && 0x2 <= _0x4d9896 ? click(_0x252261, _0x2dd3ad, 1) : '' == _0x450333 || 1 != _0x4d9896 && 0 != _0x4d9896 ? '' != _0x34c6ad && 0x2 == _0x4d9896 ? click(_0x34c6ad, _0x2dd3ad, 1) : '' != _0x2001c9 && 3 == _0x4d9896 && click(_0x2001c9, _0x2dd3ad, 1) : click(_0x450333, _0x2dd3ad, 1));else { if (_0x23c0bb && 1 == _0x237120) { if ('' == _0x48836c || _0x434b10 && ('' == _0x434b10 || 0 != _0x5b8987) || _0x25c40f || '' == _0x366f19 || !(1 == _0x4f5ee9 && (1 < _0x5b8987 && Number((_0x5b8987 * _0x11a56a).toFixed(0)) >= _0xb14853 || 1 == _0x5b8987 && _0xb14853 <= 0.05 * characterzdorovie) || 0x2 == _0x4f5ee9 && 0 < _0x5b8987 && Number(_0x5b8987) >= _0xb14853) || click(_0x48836c, _0x19a2b5, 1), 1 == sessionStorage.misLok && '' != _0x48836c && click(_0x48836c, _0x19a2b5, 1), _0x43e32c ? (pageContent.match(/Обелиск захвачен Севером/) && (sessionStorage.misObelisk = 1), pageContent.match(/Обелиск захвачен Югом/) && (sessionStorage.misObelisk = 0), _0x3a15fb && pageContent.match(/восточны(е|й) (врата севера|ут.с) захваче(н|ны) врагом!/i) && sessionStorage.lastLine.match(/ll3|cl3/) && !confirmationButton.match(/врата Севера/i) ? (sessionStorage.misLok = 1, sessionStorage.rl3 = 1) : _0x3a15fb && pageContent.match(/западны(е|й) (врата севера|склон) захваче(н|ны) врагом!/i) && sessionStorage.lastLine.match(/ll3|rl3/) && !confirmationButton.match(/врата Севера/i) ? (sessionStorage.misLok = 1, sessionStorage.cl3 = 1) : _0x3a15fb && pageContent.match(/(центральные врата севера|перевал|плато) захваче(н|ны|но) врагом!/i) && sessionStorage.lastLine.match(/сl3|rl3/) && !confirmationButton.match(/врата Севера/i) ? (sessionStorage.misLok = 1, sessionStorage.ll3 = 1) : _0x3a15fb && pageContent.match(/(лев((ые|ый)|обережн(ый|ые)) (склон|лес|врата севера)) захваче(н|ны) врагом!/i) && sessionStorage.lastLine.match(/rl2/) && !confirmationButton.match(/врата Севера/i) ? (sessionStorage.misLok = 1, sessionStorage.ll2 = 1) : _0x3a15fb && pageContent.match(/(прав((ые|ый)|обережн(ый|ая|ые)) (ут.с|врата севера|бухта)) захваче(н|ны|на) врагом!/i) && sessionStorage.lastLine.match(/ll2/) && !confirmationButton.match(/врата Севера/i) && (sessionStorage.misLok = 1, sessionStorage.rl2 = 1)) : (pageContent.match(/Обелиск захвачен Севером/) && (sessionStorage.misObelisk = 0), pageContent.match(/Обелиск захвачен Югом/) && (sessionStorage.misObelisk = 1), _0x3a15fb && pageContent.match(/восточны(е|й) (врата юга|ут.с) захваче(н|ны) врагом!/i) && sessionStorage.lastLine.match(/ll3|cl3/) && !confirmationButton.match(/врата юга/i) ? (sessionStorage.misLok = 1, sessionStorage.rl3 = 1) : _0x3a15fb && pageContent.match(/западны(е|й) (врата юга|склон) захваче(н|ны) врагом!/i) && sessionStorage.lastLine.match(/ll3|rl3/) && !confirmationButton.match(/врата юга/i) ? (sessionStorage.misLok = 1, sessionStorage.cl3 = 1) : _0x3a15fb && pageContent.match(/(центральные врата юга|перевал|плато) захваче(н|ны|но) врагом!/i) && sessionStorage.lastLine.match(/сl3|rl3/) && !confirmationButton.match(/врата юга/i) ? (sessionStorage.misLok = 1, sessionStorage.ll3 = 1) : _0x3a15fb && pageContent.match(/(лев(ые|ый|обережн(ый|ые)) (склон|лес|врата юга)) захваче(н|ны) врагом!/i) && sessionStorage.lastLine.match(/rl2/) && !confirmationButton.match(/врата юга/i) ? (sessionStorage.misLok = 1, sessionStorage.ll2 = 1) : _0x3a15fb && pageContent.match(/(прав(ые|ый|обережн(ый|ая|ые)) (ут.с|врата юга|бухта)) захваче(н|ны|на) врагом!/i) && sessionStorage.lastLine.match(/ll2/) && !confirmationButton.match(/врата юга/i) && (sessionStorage.misLok = 1, sessionStorage.rl2 = 1)), confirmationButton.match('Поля сражений') && _0x3f3716[0x2] < 0x3c - timeBattles[1] && 1 < _0x3f3716[0x2]){localStorage.iTs3 = 0;localStorage.iTs11 = 0; click(naGlavnuy, _0x2dd3ad);}else { if (confirmationButton.match(/Южный Порт|Северная Крепость/)) { pageContent.match(/через (\d+) сек/) || (_0x2dd3ad = _0x19a2b5); if (0x2 == sessionStorage.ll2) _0x4d9896 = 0x2;else { if (0x2 == sessionStorage.rl2) _0x4d9896 = 1;else { if (1 != sessionStorage.misObelisk) _0x4d9896 = _0x5705b9(3) + 1;else { if (0x2 == sessionStorage.ll3) { do _0x4d9896 = _0x5705b9(0x4); while (1 == _0x4d9896); } else { if (0x2 == sessionStorage.cl3) { do _0x4d9896 = _0x5705b9(0x4); while (0x2 == _0x4d9896); } else { if (0x2 == sessionStorage.rl3) { do _0x4d9896 = _0x5705b9(0x4); while (3 == _0x4d9896); } } } } } } '' != _0x43b27b && (1 >= _0x4d9896 || 1 == sessionStorage.ll2) ? (sessionStorage.misLok = 0, sessionStorage.rl2 = 0, sessionStorage.ll2 = 0, click(_0x43b27b, _0x2dd3ad, 1)) : '' != _0x252261 && (0x2 <= _0x4d9896 || 1 == sessionStorage.rl2) ? (sessionStorage.misLok = 0, sessionStorage.rl2 = 0, sessionStorage.ll2 = 0, click(_0x252261, _0x2dd3ad, 1)) : '' != _0x1c5220 && 0 == _0x4d9896 && 1 == sessionStorage.misObelisk ? (sessionStorage.misLok = 0, sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, click(_0x1c5220, _0x2dd3ad, 1)) : '' != _0x450333 && (1 == _0x4d9896 || 0 == _0x4d9896 && 0 == sessionStorage.misObelisk || 1 == sessionStorage.ll3) ? (sessionStorage.misLok = 0, sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, click(_0x450333, _0x2dd3ad, 1)) : '' == _0x34c6ad || 0x2 != _0x4d9896 && 1 != sessionStorage.cl3 ? '' == _0x2001c9 || 3 != _0x4d9896 && 1 != sessionStorage.rl3 || (sessionStorage.misLok = 0, sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, click(_0x2001c9, _0x2dd3ad, 1)) : (sessionStorage.misLok = 0, sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, click(_0x34c6ad, _0x2dd3ad, 1)); } else confirmationButton.match(/Обелиск Силы/) && !_0x172c1f && (sessionStorage.misObelisk = 0, '' != _0x48836c && click(_0x48836c, _0x19a2b5, 1)); } } else { if (_0x23c0bb && 0x2 == _0x237120) { if (_0x43e32c ? (pageContent.match(/Обелиск захвачен Севером/) && (sessionStorage.misObelisk = 1), pageContent.match(/Обелиск захвачен Югом/) && (sessionStorage.misObelisk = 0)) : (pageContent.match(/Обелиск захвачен Севером/) && (sessionStorage.misObelisk = 0), pageContent.match(/Обелиск захвачен Югом/) && (sessionStorage.misObelisk = 1)), confirmationButton.match('Поля сражений') && _0x3f3716[0x2] < 0x3c - timeBattles[1] && 1 < _0x3f3716[0x2]) {localStorage.iTs3 = 0; click(naGlavnuy, _0x2dd3ad);}else { if (confirmationButton.match(/Южный Порт|Северная Крепость/)) { pageContent.match(/через (\d+) сек/) || (_0x2dd3ad = _0x19a2b5); if (0x2 == sessionStorage.ll2) _0x4d9896 = 0x2;else { if (0x2 == sessionStorage.rl2) _0x4d9896 = 1;else { if (1 != sessionStorage.misObelisk) _0x4d9896 = _0x5705b9(3) + 1;else { if (0x2 == sessionStorage.ll3) { do _0x4d9896 = _0x5705b9(0x4); while (1 == _0x4d9896); } else { if (0x2 == sessionStorage.cl3) { do _0x4d9896 = _0x5705b9(0x4); while (0x2 == _0x4d9896); } else { if (0x2 == sessionStorage.rl3) { do _0x4d9896 = _0x5705b9(0x4); while (3 == _0x4d9896); } } } } } } '' != _0x43b27b && 1 >= _0x4d9896 ? (sessionStorage.rl2 = 0, sessionStorage.ll2 = 0, sessionStorage.lastLine = '', click(_0x43b27b, _0x2dd3ad, 1)) : '' != _0x252261 && 0x2 <= _0x4d9896 ? (sessionStorage.rl2 = 0, sessionStorage.ll2 = 0, sessionStorage.lastLine = '', click(_0x252261, _0x2dd3ad, 1)) : '' != _0x1c5220 && 0 == _0x4d9896 ? (sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, sessionStorage.lastLine = '', click(_0x1c5220, _0x2dd3ad, 1)) : '' != _0x450333 && 1 == _0x4d9896 ? (sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, sessionStorage.lastLine = '', click(_0x450333, _0x2dd3ad, 1)) : '' != _0x34c6ad && 0x2 == _0x4d9896 ? (sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, sessionStorage.lastLine = '', click(_0x34c6ad, _0x2dd3ad, 1)) : '' != _0x2001c9 && 3 == _0x4d9896 && (sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, sessionStorage.lastLine = '', click(_0x2001c9, _0x2dd3ad, 1)); } else confirmationButton.match(/Обелиск Силы/) && !_0x172c1f && (sessionStorage.misObelisk = 0, '' != _0x48836c && click(_0x48836c, _0x19a2b5, 1)); } } } } 0x37 > _0x3f3716[0x2] && (raidTimer[0x4] = 0, sessionStorage.removeItem('bgType')), 0x32 < _0x3f3716[0x2] && (raidTimer[9] = 0); } const _0x2f0d94 = _0x17081f + _0x15d6bb + _0x45a08a + _0x47773e + _0x44646a + _0x4bb619 + _0x36131c + _0x4bb619 + _0x1809e3 + _0x2d639d + _0x44646a + _0x3e518e + _0x29684c + _0x113ce8 + _0x4c031b + _0x3e518e + _0x4c031b + _0x4bb619 + _0x1809e3 + _0x498934 + _0x59b2ae + _0x40e184 + _0x1809e3 + _0x45a08a + _0x56f538 + _0x4bb619 + _0x29684c + _0x284e7f + _0x29684c + _0x3e518e + _0x40e184 + _0x54a96c + _0x4bb619 + _0x29684c + _0x5d8e80 + _0x2d639d + _0x358b16 + _0x45a08a + _0x56f538 + _0x4bb619; function _0x2f9fca() { raidTimer[0x11] = 0; switch (true) { case 0 < _0x32be4d && 6 > _0x32be4d: click(_0x1fa5b2, timeout, 1); break; case 0x2 < _0x32be4d && 0xe > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x596bd6, timeout, 1), click(_0x5b93a8, timeout, 1)), confirmationButton.match('Лагерь викингов') && click(_0x596bd6, _0x19a2b5, 1), confirmationButton.match('Лагерь орды') && click(_0x5b93a8, _0x19a2b5, 1); break; case 8 < _0x32be4d && 0x13 > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x17a055, timeout, 1), click(_0x4fb280, timeout, 1)); const _0x4b1b8e = _0x5705b9(0x2); confirmationButton.match('Дельта реки') && (_0x43e32c ? 0 == _0x4b1b8e ? click(_0x4d9a62, _0x19a2b5, 1) : click(_0x517fe5, _0x19a2b5, 1) : 0 == _0x4b1b8e && _0xf600f6 ? click(_0x4d9a62, _0x19a2b5, 1) : _0xf600f6 && click(_0x517fe5, _0x19a2b5, 1)), confirmationButton.match('Левый берег') && (_0x43e32c ? 0 == _0x4b1b8e && _0xf600f6 ? click(_0x4fb280, _0x19a2b5, 1) : click(_0x17a055, _0x19a2b5, 1) : 0 == _0x4b1b8e && _0xf600f6 ? click(_0x17a055, _0x19a2b5, 1) : click(_0x4fb280, _0x19a2b5, 1)), confirmationButton.match('Правый берег') && (_0x43e32c ? 0 == _0x4b1b8e && _0xf600f6 ? click(_0x4fb280, _0x19a2b5, 1) : click(_0x17a055, _0x19a2b5, 1) : 0 == _0x4b1b8e && _0xf600f6 ? click(_0x17a055, _0x19a2b5, 1) : click(_0x4fb280, _0x19a2b5, 1)), confirmationButton.match('Устье реки') && (_0x43e32c ? 0 == _0x4b1b8e && _0xf600f6 ? click(_0x4d9a62, _0x19a2b5, 1) : _0xf600f6 && click(_0x517fe5, _0x19a2b5, 1) : 0 == _0x4b1b8e ? click(_0x4d9a62, _0x19a2b5, 1) : click(_0x517fe5, _0x19a2b5, 1)); break; case 0xd < _0x32be4d && 0x19 > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x32fcac, timeout, 1), click(_0x5c5f2e, timeout, 1)), _0x4b1b8e = _0x5705b9(3), confirmationButton.match('Ледник') && (_0x43e32c ? 0x2 > _0x4b1b8e ? click(_0x40ad21, _0x19a2b5, 1) : click(_0x1dad50, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x40ad21, _0x19a2b5, 1) : _0xf600f6 && click(_0x1dad50, _0x19a2b5, 1)), confirmationButton.match('Ледяные пещеры') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x5c5f2e, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x24e047, _0x19a2b5, 1) : click(_0x967332, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x967332, _0x19a2b5, 1) : _0xf600f6 && 3 > _0x4b1b8e ? click(_0x24e047, _0x19a2b5, 1) : click(_0x5c5f2e, _0x19a2b5, 1)), confirmationButton.match('Каменные пещеры') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x40ad21, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x1dad50, _0x19a2b5, 1) : click(_0x32fcac, _0x19a2b5, 1) : 0 == _0x4b1b8e ? click(_0x40ad21, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x32fcac, _0x19a2b5, 1) : click(_0x1dad50, _0x19a2b5, 1)), confirmationButton.match('Верхний перевал') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x5c5f2e, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x967332, _0x19a2b5, 1) : click(_0x24e047, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x24e047, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x967332, _0x19a2b5, 1) : click(_0x5c5f2e, _0x19a2b5, 1)), confirmationButton.match('Нижний перевал') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x40ad21, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x1dad50, _0x19a2b5, 1) : click(_0x32fcac, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x32fcac, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x1dad50, _0x19a2b5, 1) : click(_0x40ad21, _0x19a2b5, 1)), confirmationButton.match('Горное озеро') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x967332, _0x19a2b5, 1) : _0xf600f6 && click(_0x24e047, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x967332, _0x19a2b5, 1) : click(_0x24e047, _0x19a2b5, 1)); break; case 0x13 < _0x32be4d && 0x21 > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x125da2, timeout, 1), click(_0x5f082c, timeout, 1)), _0x4b1b8e = _0x5705b9(0x4), confirmationButton.match('Северная пустошь') && (_0x43e32c ? 0x2 > _0x4b1b8e ? click(_0x865c2d, _0x19a2b5, 1) : click(_0x4871ab, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x865c2d, _0x19a2b5, 1) : _0xf600f6 && click(_0x4871ab, _0x19a2b5, 1)), confirmationButton.match('Северо-восточная пустошь') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x5f082c, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x51fbec, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x51fbec, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x5f082c, _0x19a2b5, 1)), confirmationButton.match('Восточная пустошь') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x4871ab, _0x19a2b5, 1) : click(_0x73dcdf, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x73dcdf, _0x19a2b5, 1) : click(_0x4871ab, _0x19a2b5, 1)), confirmationButton.match('Юго-восточная пустошь') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x51fbec, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x125da2, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x125da2, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x51fbec, _0x19a2b5, 1)), confirmationButton.match('Перекр.сток') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x865c2d, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x4871ab, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x4254df, _0x19a2b5, 1) : click(_0x73dcdf, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x73dcdf, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x4254df, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x4871ab, _0x19a2b5, 1) : click(_0x865c2d, _0x19a2b5, 1)), confirmationButton.match('Северо-западная пустошь') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x5f082c, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x2cac8c, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x2cac8c, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x5f082c, _0x19a2b5, 1)), confirmationButton.match('Западная пустошь') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x865c2d, _0x19a2b5, 1) : click(_0x4254df, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x4254df, _0x19a2b5, 1) : click(_0x865c2d, _0x19a2b5, 1)), confirmationButton.match('Юго-западная пустошь') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x2cac8c, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x125da2, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x125da2, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x6d0a6b, _0x19a2b5, 1) : click(_0x2cac8c, _0x19a2b5, 1)), confirmationButton.match('Южная пустошь') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x4254df, _0x19a2b5, 1) : _0xf600f6 && click(_0x73dcdf, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x4254df, _0x19a2b5, 1) : click(_0x73dcdf, _0x19a2b5, 1)); break; case 0x1e < _0x32be4d && 0x29 > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x547fb4, timeout, 1), click(_0xd010dc, timeout, 1)), _0x4b1b8e = _0x5705b9(0x4), confirmationButton.match('Мароканд') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x164c27, _0x19a2b5, 1) : _0xf600f6 && click(_0x3eabe4, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x164c27, _0x19a2b5, 1) : click(_0x3eabe4, _0x19a2b5, 1)), confirmationButton.match('Восточный Мароканд') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x6798da, _0x19a2b5, 1) : click(_0x547fb4, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x547fb4, _0x19a2b5, 1) : click(_0x6798da, _0x19a2b5, 1)), confirmationButton.match('Западный Мароканд') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x6798da, _0x19a2b5, 1) : click(_0x547fb4, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x547fb4, _0x19a2b5, 1) : click(_0x6798da, _0x19a2b5, 1)), confirmationButton.match('Западный Розенгард') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0xd010dc, _0x19a2b5, 1) : click(_0x6798da, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x6798da, _0x19a2b5, 1) : click(_0xd010dc, _0x19a2b5, 1)), confirmationButton.match('Восточный Розенгард') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0xd010dc, _0x19a2b5, 1) : click(_0x6798da, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x6798da, _0x19a2b5, 1) : click(_0xd010dc, _0x19a2b5, 1)), confirmationButton.match('Розенгард') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x5ef133, _0x19a2b5, 1) : click(_0x1b1665, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x5ef133, _0x19a2b5, 1) : _0xf600f6 && click(_0x1b1665, _0x19a2b5, 1)), confirmationButton.match('Большой курган') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x5ef133, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x1b1665, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x3eabe4, _0x19a2b5, 1) : click(_0x164c27, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x3eabe4, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x164c27, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x5ef133, _0x19a2b5, 1) : click(_0x1b1665, _0x19a2b5, 1)); break; case 0x1d < _0x32be4d && 0x2e > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x41eef0, timeout, 1), click(_0x559412, timeout, 1)), _0x4b1b8e = _0x5705b9(0x4), confirmationButton.match('Мертвый город, Юг') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x470411, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x498398, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0x1a7377, _0x19a2b5, 1) : _0xf600f6 && click(_0x3d1d93, _0x19a2b5, 1) : 0 == _0x4b1b8e ? click(_0x470411, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0x498398, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x1a7377, _0x19a2b5, 1) : click(_0x3d1d93, _0x19a2b5, 1)), confirmationButton.match('Юго-западная окраина') && (_0x43e32c ? _0xf600f6 && 3 > _0x4b1b8e ? click(_0x38597e, _0x19a2b5, 1) : click(_0x41eef0, _0x19a2b5, 1) : _0xf600f6 && 3 > _0x4b1b8e ? click(_0x41eef0, _0x19a2b5, 1) : click(_0x38597e, _0x19a2b5, 1)), confirmationButton.match('Храм огня') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x38597e, _0x19a2b5, 1) : _0xf600f6 && 0x4 > _0x4b1b8e ? click(_0x420742, _0x19a2b5, 1) : click(_0x41eef0, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x38597e, _0x19a2b5, 1) : _0xf600f6 && 0x4 > _0x4b1b8e ? click(_0x41eef0, _0x19a2b5, 1) : click(_0x420742, _0x19a2b5, 1)), confirmationButton.match('Храм земли') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x420742, _0x19a2b5, 1) : _0xf600f6 && 0x4 > _0x4b1b8e ? click(_0x448c51, _0x19a2b5, 1) : click(_0x41eef0, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x420742, _0x19a2b5, 1) : _0xf600f6 && 0x4 > _0x4b1b8e ? click(_0x41eef0, _0x19a2b5, 1) : click(_0x448c51, _0x19a2b5, 1)), confirmationButton.match('Юго-восточная окраина') && (_0x43e32c ? _0xf600f6 && 3 > _0x4b1b8e ? click(_0x448c51, _0x19a2b5, 1) : click(_0x41eef0, _0x19a2b5, 1) : _0xf600f6 && 3 > _0x4b1b8e ? click(_0x41eef0, _0x19a2b5, 1) : click(_0x448c51, _0x19a2b5, 1)), confirmationButton.match('Площадь заката') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x325764, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0xb71132, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x470411, _0x19a2b5, 1) : click(_0x1a7377, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x470411, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x1a7377, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x325764, _0x19a2b5, 1) : click(_0xb71132, _0x19a2b5, 1)), confirmationButton.match('Площадь восстания') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0xb71132, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x336f31, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x498398, _0x19a2b5, 1) : click(_0x1a7377, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x498398, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x1a7377, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0xb71132, _0x19a2b5, 1) : click(_0x336f31, _0x19a2b5, 1)), confirmationButton.match('Площадь рассвета') && (_0x43e32c ? _0xf600f6 && 0 == _0x4b1b8e ? click(_0x336f31, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x4c0221, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x498398, _0x19a2b5, 1) : click(_0x3d1d93, _0x19a2b5, 1) : _0xf600f6 && 0 == _0x4b1b8e ? click(_0x498398, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x3d1d93, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x336f31, _0x19a2b5, 1) : click(_0x4c0221, _0x19a2b5, 1)), confirmationButton.match('Северо-западная окраина') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x559412, _0x19a2b5, 1) : click(_0x38597e, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x38597e, _0x19a2b5, 1) : click(_0x559412, _0x19a2b5, 1)), confirmationButton.match('Храм неба') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x559412, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x420742, _0x19a2b5, 1) : click(_0x38597e, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x38597e, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0x420742, _0x19a2b5, 1) : click(_0x559412, _0x19a2b5, 1)), confirmationButton.match('Храм воды') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x559412, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x448c51, _0x19a2b5, 1) : click(_0x420742, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x420742, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0x448c51, _0x19a2b5, 1) : click(_0x559412, _0x19a2b5, 1)), confirmationButton.match('Северо-восточная окраина') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x559412, _0x19a2b5, 1) : click(_0x448c51, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x448c51, _0x19a2b5, 1) : click(_0x559412, _0x19a2b5, 1)), confirmationButton.match('Мертвый город, Север') && (!_0x43e32c && _0xf600f6 ? 1 > _0x4b1b8e ? click(_0x325764, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0xb71132, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x336f31, _0x19a2b5, 1) : click(_0x4c0221, _0x19a2b5, 1) : 0 == _0x4b1b8e ? click(_0x325764, _0x19a2b5, 1) : 1 == _0x4b1b8e ? click(_0xb71132, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x336f31, _0x19a2b5, 1) : click(_0x4c0221, _0x19a2b5, 1)); break; case 0x27 < _0x32be4d && 0x42 > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0xbb84a, timeout, 1), click(_0x32de0d, timeout, 1)), _0x4b1b8e = _0x5705b9(0x4), confirmationButton.match('Земли титанов, Север') && (_0x43e32c ? 0x2 > _0x4b1b8e ? click(_0x16e567, _0x19a2b5, 1) : click(_0x3094a8, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x3094a8, _0x19a2b5, 1) : click(_0x16e567, _0x19a2b5, 1)), confirmationButton.match('Северо-западные горы') && (_0x43e32c ? _0xf600f6 && 1 > _0x4b1b8e ? click(_0x32de0d, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x3aa0ce, _0x19a2b5, 1) : click(_0x3aa4fa, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x3aa4fa, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0x3aa0ce, _0x19a2b5, 1) : click(_0x32de0d, _0x19a2b5, 1)), confirmationButton.match('Северо-восточные горы') && (_0x43e32c ? _0xf600f6 && 1 > _0x4b1b8e ? click(_0x32de0d, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x13182b, _0x19a2b5, 1) : click(_0x3aa4fa, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x3aa4fa, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0x13182b, _0x19a2b5, 1) : click(_0x32de0d, _0x19a2b5, 1)), confirmationButton.match('Западные врата') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x3094a8, _0x19a2b5, 1) : click(_0x364c3d, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x364c3d, _0x19a2b5, 1) : click(_0x3094a8, _0x19a2b5, 1)), confirmationButton.match('Крепость титанов') && (_0x43e32c ? _0xf600f6 && 1 > _0x4b1b8e ? click(_0x3094a8, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x16e567, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x364c3d, _0x19a2b5, 1) : click(_0x29129d, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x364c3d, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x29129d, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x3094a8, _0x19a2b5, 1) : click(_0x16e567, _0x19a2b5, 1)), confirmationButton.match('Восточные врата') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x16e567, _0x19a2b5, 1) : click(_0x29129d, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x29129d, _0x19a2b5, 1) : click(_0x16e567, _0x19a2b5, 1)), confirmationButton.match('Юго-западные горы') && (_0x43e32c ? !_0xf600f6 || 0 != _0x4b1b8e && 1 != _0x4b1b8e ? !_0xf600f6 || 0x2 != _0x4b1b8e && 3 != _0x4b1b8e ? click(_0xbb84a, _0x19a2b5, 1) : click(_0x3aa4fa, _0x19a2b5, 1) : click(_0x3aa0ce, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0xbb84a, _0x19a2b5, 1) : 0x2 == _0x4b1b8e || 3 == _0x4b1b8e ? click(_0x3aa4fa, _0x19a2b5, 1) : click(_0x3aa0ce, _0x19a2b5, 1)), confirmationButton.match('Юго-восточные горы') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x3aa4fa, _0x19a2b5, 1) : _0xf600f6 && 0x4 > _0x4b1b8e ? click(_0x13182b, _0x19a2b5, 1) : click(_0xbb84a, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0xbb84a, _0x19a2b5, 1) : 0x4 > _0x4b1b8e ? click(_0x13182b, _0x19a2b5, 1) : click(_0x3aa4fa, _0x19a2b5, 1)), confirmationButton.match('Земли титанов, Юг') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x364c3d, _0x19a2b5, 1) : _0xf600f6 && click(_0x29129d, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x29129d, _0x19a2b5, 1) : _0xf600f6 && click(_0x364c3d, _0x19a2b5, 1)); break; case 0x41 < _0x32be4d && 0x65 > _0x32be4d: confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && (click(_0x48ff9b, timeout, 1), click(_0x59ac0b, timeout, 1)), _0x4b1b8e = _0x5705b9(0x4), confirmationButton.match('Долина Сражений, Север') && (_0x43e32c ? 0x2 > _0x4b1b8e ? click(_0x19a105, _0x19a2b5, 1) : click(_0x423025, _0x19a2b5, 1) : 0x2 > _0x4b1b8e ? click(_0x423025, _0x19a2b5, 1) : click(_0x19a105, _0x19a2b5, 1)), confirmationButton.match('Северо-западный Форт') && (_0x43e32c ? _0xf600f6 && 1 > _0x4b1b8e ? click(_0x59ac0b, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x21de09, _0x19a2b5, 1) : click(_0x45af06, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x45af06, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0x21de09, _0x19a2b5, 1) : click(_0x59ac0b, _0x19a2b5, 1)), confirmationButton.match('Северо-восточный Форт') && (_0x43e32c ? _0xf600f6 && 1 > _0x4b1b8e ? click(_0x59ac0b, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0xb212d7, _0x19a2b5, 1) : click(_0x45af06, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x45af06, _0x19a2b5, 1) : _0xf600f6 && 0x2 == _0x4b1b8e ? click(_0xb212d7, _0x19a2b5, 1) : click(_0x59ac0b, _0x19a2b5, 1)), confirmationButton.match('Западный Курган') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x423025, _0x19a2b5, 1) : click(_0x2e7a9a, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x2e7a9a, _0x19a2b5, 1) : click(_0x423025, _0x19a2b5, 1)), confirmationButton.match('Поле вечной битвы') && (_0x43e32c ? _0xf600f6 && 1 > _0x4b1b8e ? click(_0x423025, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x19a105, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x2e7a9a, _0x19a2b5, 1) : click(_0x2768f8, _0x19a2b5, 1) : _0xf600f6 && 1 > _0x4b1b8e ? click(_0x2e7a9a, _0x19a2b5, 1) : _0xf600f6 && 1 == _0x4b1b8e ? click(_0x2768f8, _0x19a2b5, 1) : 0x2 == _0x4b1b8e ? click(_0x423025, _0x19a2b5, 1) : click(_0x16e567, _0x19a2b5, 1)), confirmationButton.match('Восточный Курган') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x16e567, _0x19a2b5, 1) : click(_0x2768f8, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x2768f8, _0x19a2b5, 1) : click(_0x16e567, _0x19a2b5, 1)), confirmationButton.match('Юго-западный Форт') && (_0x43e32c ? !_0xf600f6 || 0 != _0x4b1b8e && 1 != _0x4b1b8e ? !_0xf600f6 || 0x2 != _0x4b1b8e && 3 != _0x4b1b8e ? click(_0x48ff9b, _0x19a2b5, 1) : click(_0x45af06, _0x19a2b5, 1) : click(_0x21de09, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x48ff9b, _0x19a2b5, 1) : 0x2 == _0x4b1b8e || 3 == _0x4b1b8e ? click(_0x45af06, _0x19a2b5, 1) : click(_0x21de09, _0x19a2b5, 1)), confirmationButton.match('Юго-восточный Форт') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x45af06, _0x19a2b5, 1) : _0xf600f6 && 0x4 > _0x4b1b8e ? click(_0xb212d7, _0x19a2b5, 1) : click(_0x48ff9b, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x48ff9b, _0x19a2b5, 1) : 0x4 > _0x4b1b8e ? click(_0xb212d7, _0x19a2b5, 1) : click(_0x45af06, _0x19a2b5, 1)), confirmationButton.match('Долина Сражений, Юг') && (_0x43e32c ? _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x2e7a9a, _0x19a2b5, 1) : _0xf600f6 && click(_0x2768f8, _0x19a2b5, 1) : _0xf600f6 && 0x2 > _0x4b1b8e ? click(_0x2768f8, _0x19a2b5, 1) : _0xf600f6 && click(_0x2e7a9a, _0x19a2b5, 1)); } } function _0x35e928() { xhr.open(_0x9835ae + _0x592506 + _0x4d3cb0, _0x2f90f4 + _0x193f54, false), xhr.send(); if (xhr.status === 0xc8) { if ('undefined' !== typeof sessionStorage.kn) { if (xhr.responseText.indexOf(sessionStorage.kn) == '-1') throw new Error(); } } else throw new Error(); } ; const _0x9835ae = 'G', _0x592506 = 'E', _0x4d3cb0 = 'T'; function click(_0x480749, _0x5d212c, _0x55e47f) { if ('' != _0x480749 && !action) { /подтверждаю/i.test(_0x480749.textContent) && 1 == raidTimer[0x2e] ? (_0x480749 = '/user', raidTimer[0x2e] = 0) : /подтверждаю/i.test(_0x480749.textContent) ? raidTimer[0x2e] = 1 : raidTimer[0x2e] = 0, '' != _0x1d0fe7 && (/в сундук/i.test(_0x480749.textContent) && _0x1d0fe7.href == raidTimer[0x32] ? (_0x480749 = '/user', raidTimer[0x32] = 0) : /в сундук/i.test(_0x480749.textContent) ? raidTimer[0x32] = _0x1d0fe7.href : raidTimer[0x32] = 0), _0x480749 == naGlavnuy && pageContent.match(/через (\d+) сек/i) && (_0x480749 = user), action = true, _0xbbf715 = _0x480749, _0x4e5b62 = _0x5d212c, _0x3be9cd = +new Date(), sessionStorage.perehod = 1 == _0x55e47f ? 1 : 0; if (undefined != _0x480749 && 'object' == typeof _0x480749) { const _0x5b5076 = 1 == raidTimer[0x22] ? '#FF0000' : '#00FFFF'; _0x5b5076.match(/color:/) || (_0x5b5076 = 'border: 2px double ' + _0x5b5076), _0x480749.setAttribute('style', _0x5b5076); } timeoutId = setTimeout(function () { location.href = _0x480749; }, _0x5d212c), undefined != _0x480749 && 'function' == typeof arguments.callee.caller && ('object' == typeof _0x480749 && undefined, 'object' != typeof _0x480749 && undefined); } } function _0x1d458b() { if (confirmationButton.match(/Мои задания/i)) { if (_0x16299b != '') click(_0x16299b, timeout);else { if (_0x1c1e2e != '') click(_0x1c1e2e, timeout); if (_0x16299b != '') click(_0x16299b, timeout); raidTimer[0x1d] = 0, sessionStorage.removeItem('tasks'); } } else { if (confirmationButton.match(/Варвары/i) && _0xf80422 != '') click(_0xf80422, timeout); else { if (!confirmationButton.match(/Мои задания/i) && naGlavnuy != '') {localStorage.iTs11 = 0;localStorage.iTs8 == 0; click(naGlavnuy, _0x2dd3ad);} } } } const _0x2f90f4 = _0x3c7064 + _0x1809e3 + _0x5d8e80 + _0x45a08a + _0x165fce + _0x29684c + _0x29684c + _0x2bdd74 + _0x40e184 + _0x3c0765 + _0x2d639d + _0x4b3d23 + _0x54a96c + _0x1809e3 + _0x28a189 + _0x15d6bb; function _0x14647d() { _0x3a06d2 || _0xc328af || _0x454964 || _0x28a4cc || _0xdf2dd1 || (hrst = 0), _0x5e9fcd && 0 == sessionStorage.bloodcrazy && (_0x1d8dd0 || !_0x1d8dd0 && sessionStorage.smesharic == _0x1e8e30) && (_0x42f096 = _0x36c7cd = _0x223a3d = _0x509186 = _0x3c5189 = ''); const _0x2c1aa5 = _0x12ad63; _0x319ef3 && (_0x2c1aa5 = _0x8d10b2); if ('' != _0x26a67d && confirmationButton.match(/Арена|\d\/(\d+) финала|финал|Отборочный (тур|раунд)/i) && pageContent.match(/Наши: (\d) /)) { const _0xfe1ca = /Наши: (\d) /.exec(pageContent); 1 != _0xfe1ca[1] || uvorotOne || (SetWhiteEvents = 0, _0x26a67d = ''); } if ('' != _0x26a67d && confirmationButton.match('Арена') && pageContent.match(/Враги: (\d) /)) { const _0x642f0d = /Враги: (\d) /.exec(pageContent); 1 == _0x642f0d[1] && (SetWhiteEvents = 0); } if (confirmationButton.match(/Голова дракона|Сердце титана|Гроза миров|Крепость духа|Исцеление предков|Зеркало боли|Источник познания|Колыбель жизни/i) && _0xb14853 <= 0) {localStorage.iTs3 = 0;localStorage.iTs11 = 0; click(naGlavnuy, _0x2dd3ad);} if (confirmationButton.match('Некромант')) { if (pageContent.match(/Некромант повержен!|Все герои повержены, некромант победил!|Твой герой погиб, жди окончания боя/i)) click(naGlavnuy, timeout); } if (pageContent.match(/Твой герой погиб и выбывает из турнира/i)){localStorage.iTs3 = 0;localStorage.iTs8 == 0;localStorage.iTs11 = 0;localStorage.iTs14 = 0; click(naGlavnuy, timeout);} if (confirmationButton.match('Турнир выживания|Праздничный турнир')) { if (pageContent.match(/Сейчас идет:/i)) { localStorage.iTs14 = 0; click(naGlavnuy, timeout); } } '' != _0x26a67d && confirmationButton.match('Выживание') && pageContent.match(/ (\d) (\d+):(\d+)/) && (_0xfe1ca = / (\d) (\d+):(\d+)/.exec(pageContent), 0x2 != _0xfe1ca[1] || uvorotOne || (SetWhiteEvents = 0, _0x26a67d = '')); if ('' != _0x4ace3c && pageContent.match(/ (\d+)% (\d+)% (\d+):(\d+)/) && _0x20717e) { const _0xd4a610 = / (\d+)% (\d+)% (\d+):(\d+)/.exec(pageContent); '' != _0x1532c5 && 0x4 < _0xd4a610[0x2] && (_0x4ace3c = ''); } '' != _0x4e3c75 && _0x416340 && (_0x4e3c75 = ''); const _0xd4a610 = _0x200fac[sessionStorage.locScrolls], _0x2da31a = _0x128e37[sessionStorage.locScrolls]; '' != _0x42f096 && (_0xfe1ca = _0x42f096.innerHTML, _0x594bde ? (1 == SetBlackTowers && _0x124d7d(_0x2da31a).match(_0x1e8e30) && !_0x2da31a.match(/@@@/) && (_0x16720e = 1), 1 == SetWhiteTowers && _0x124d7d(_0xd4a610).match(_0x1e8e30) && !_0xd4a610.match(/@@@/) && (_0x16720e = 0x2), '' != _0x44b463 && _0xfe1ca.match(/healer/) && (_0x44b463 = '', _0x16720e = 0x2)) : _0x319ef3 && (confirmationButton.match('Битва героев') && pageContent.match('Цель: ' + _0x1e8e30) && (_0x45c64b = true), confirmationButton.match(/Арена|Выживание/) ? (tacticsPVP && 1 != _0x206901.length && (!_0x5c2d24 && '-' != _0x206901[0x4] && _0x206901[0x4].match(_0x1e8e30) ? _0x16720e = 1 : '-' == _0x206901[0x4] || _0x206901[0x4].match(_0x1e8e30) ? !_0x5c2d24 && '-' == _0x206901[0x4] && '-' != _0x206901[3] && _0x206901[3].match(_0x1e8e30) ? _0x16720e = 1 : '-' != _0x206901[0x4] || '-' == _0x206901[3] || _0x206901[3].match(_0x1e8e30) ? !_0x5c2d24 && '-' == _0x206901[0x4] && '-' == _0x206901[3] && '-' != _0x206901[0x2] && _0x206901[0x2].match(_0x1e8e30) ? _0x16720e = 1 : '-' != _0x206901[0x4] || '-' != _0x206901[3] || '-' == _0x206901[0x2] || _0x206901[0x2].match(_0x1e8e30) ? !_0x5c2d24 && '-' == _0x206901[0x4] && '-' == _0x206901[3] && '-' == _0x206901[0x2] && '-' != _0x206901[1] && _0x206901[1].match(_0x1e8e30) ? _0x16720e = 1 : '-' != _0x206901[0x4] || '-' != _0x206901[3] || '-' != _0x206901[0x2] || '-' == _0x206901[1] || _0x206901[1].match(_0x1e8e30) || (_0x16720e = 0x2) : _0x16720e = 0x2 : _0x16720e = 0x2 : _0x16720e = 0x2), _0x3b5f3e < 0x2 * _0x4bd355 && (_0x16720e = 1)) : _0x29262b && _0x3b5f3e >= 0x4 * _0x4bd355 ? _0x16720e = 0x2 : _0x5e9fcd ? (_0x124d7d(black_terr).match(_0x1e8e30) && (_0x1cd53d = true, _0x16720e = 1), _0x16720e = _0xfe1ca.match('healer blue_healer red_healer blue_warrior red_warrior warrior warrior|healer|gladiator red blue'.split(' ')[sessionStorage.dobivatTerr]) ? 1 : 0x2, _0x230022 && (_0x16720e = 0x2)) : confirmationButton.match(/ (тур|раунд)|\d\/(\d+)|финал/i) && pageContent.match(/Наши: (\d) Враги: (\d) /) ? _0x3b5f3e < 0x2 * _0x4bd355 && !_0x5c2d24 && (_0x16720e = 1) : _0x20717e && (_0x16720e = 0 == sessionStorage.dobzamki && _0xfe1ca.match('healer') || 1 == sessionStorage.dobzamki && _0xfe1ca.match(/healer|warrior|gladiator/) ? 1 : 0x2), 1 != SetWhiteEvents || !_0x124d7d(_0xd4a610).match(_0x1e8e30) && !_0x124d7d(whiteListGlobal).match(_0x1e8e30) || _0xd4a610.match(/@@@/) || _0x5e9fcd || (_0x16720e = 0x2), _0x124d7d(white_terr).match(_0x1e8e30) && _0x5e9fcd && (_0x16720e = 0x2)), sessionStorage.old_target == _0x1e8e30 ? (_0x5e9fcd || _0x20717e) && raidTimer[0x27]++ : (raidTimer[0x27] = 1, sessionStorage.old_target = _0x1e8e30), (_0x5e9fcd && !_0x1cd53d || _0x20717e) && Number(raidTimer[0x27]) > terrHits && 0 < terrHits && !_0xfe1ca.match('lifealert') && (_0x16720e = 0x2), _0x12898c && !_0x5c2d24 && (!_0x36c7cd || _0x36c7cd && !_0x5e9301) && (metkaBerserker || !metkaBerserker && undefined != sessionStorage.target_metka && sessionStorage.target_metka == _0x1e8e30 && (!_0x5e9fcd || _0x5e9fcd && _0x1cd53d)) && (_0x16720e = 1), _0xfe1ca.match('lifealert') && _0x3b5f3e < 3 * _0x4bd355 && !_0x5e9301 && (!_0x5e9fcd || _0x5e9fcd && _0x1cd53d) && (_0x16720e = 1), confirmationButton.match(/ (тур|раунд)|финал|\d\/(\d+)/i) && pageContent.match(/ (\d) (\d+):(\d+)/) && !pageContent.match(/Наши: (\d) /) && (_0x16720e = 1), confirmationButton.match('Выживание') && pageContent.match(/ (\d) (\d+):(\d+)/) && (_0xfe1ca = / (\d) (\d+):(\d+)/.exec(pageContent), 0x2 == _0xfe1ca[1] && (SetWhiteEvents = 0, _0x16720e = 1, _0x24fee4 = _0x3b5f3e + 0xc8 > _0xb14853 && _0x19c206)), confirmationButton.match(/Арена| (тур|раунд)|\d\/(\d+)|финал/i) && pageContent.match(/Наши: (\d) Враги: (\d) /) && (_0xfe1ca = /Наши: (\d)/.exec(pageContent), _0x642f0d = /Враги: (\d)/.exec(pageContent), 1 == _0x642f0d[1] && (_0x16720e = 1), _0x24fee4 = 1 == _0xfe1ca[1] && 1 == _0x642f0d[1] && _0x3b5f3e + 0xc8 > _0xb14853 && _0x19c206), _0x29262b && 0 < sPursuit[1] && (_0x16720e = _0x3b5f3e <= sPursuit[1] && !_0x5c2d24 ? 1 : 0x2), confirmationButton.match(/Битва героев/i) && 0 < sPursuit[0] && (_0x16720e = _0x3b5f3e <= sPursuit[0] && !_0x5c2d24 ? 1 : 0x2), confirmationButton.match(/Логово Геррода/i) && 0 < sPursuit[0x2] && (_0x16720e = _0x3b5f3e <= sPursuit[0x2] && !_0x5c2d24 ? 1 : 0x2), confirmationButton.match(/Цари Горы/i) && 0 < Kings_Hill_HP[0] && (_0x16720e = _0x3b5f3e <= Kings_Hill_HP[0] && !_0x5c2d24 ? 1 : 0x2), _0x29a625 && '' != _0x366f19 && _0x38bf95 && (_0xfe1ca = /(\d+):(\d+) Наши: (\d) Враги: (\d)/i, undefined != _0xfe1ca.exec(pageContent) && (z = _0xfe1ca.exec(pageContent), secs = 0x3c * Number(z[1]) + Number(z[0x2]), secs > nasmeshkaAbily[1] && (_0x44b463 = ''))), _0x3917f4 && '' != _0x366f19 && _0x38bf95 && (_0xfe1ca = /(\d+):(\d+) Наши: (\d) Враги: (\d)/i, undefined != _0xfe1ca.exec(pageContent) && (z = _0xfe1ca.exec(pageContent), secs = 0x3c * Number(z[1]) + Number(z[0x2]), secs > nasmeshkaAbily[0] && (_0x44b463 = ''))), nolT && (_0x3917f4 || _0x29a625) && (_0x16720e = 1), pageContent.match(/руна/) && 0x32 >= _0x3b5f3e && (_0x16720e = 1, _0x2c1aa5 = _0x5705b9(SetTimerRuneLife[0], SetTimerRuneLife[1]))), _0x42f096 || (raidTimer[0x27] = 0, sessionStorage.removeItem('old_target')), _0x319ef3 && (1 != SetBlackEvents || !_0x124d7d(_0x2da31a).match(_0x1e8e30) && !_0x124d7d(blackListGlobal).match(_0x1e8e30) || _0x2da31a.match(/@@@/) || _0x5e9fcd || (_0x16720e = 1), 1 != SetWhiteEvents || !_0x124d7d(_0xd4a610).match(_0x1e8e30) && !_0x124d7d(whiteListGlobal).match(_0x1e8e30) || _0xd4a610.match(/@@@/) || _0x5e9fcd || (_0x16720e = 0x2), _0x124d7d(white_terr).match(_0x1e8e30) && _0x5e9fcd && (_0x16720e = 0x2)), confirmationButton.match('Битва за подарки') && (_0x2c1aa5 = 0xbb8 > _0x2c1aa5 ? _0x2c1aa5 : 0xbb8), !_0x2cb347 && _0x5e9fcd && 0 < Number(sessionStorage.dobivatTerr) - 0xe && (SetdestroyMana = Number(sessionStorage.dobivatTerr) - 0xf), _0x594bde && _0x36c7cd && 0 < Number(_0x2191b2) + Number(_0x580691) + Number(_0x1f6e7a) && (_0x172c1f = ''), _0x230022 && (_0x2c1aa5 = _0x5705b9(CDTSmeshka_[0], CDTSmeshka_[1])), !_0x4e5808 && ('' != _0x2f35a7 || '' != _0x397657 && _0x386f46 || '' != _0x31c51f && ((_0x36f3f6 && 0x2 > _0x4d9896 || !_0x36f3f6) && 1 == SetdestroyMana || 0 == SetdestroyMana || !_0x3a8852)) && (_0x2c1aa5 = _0x20ebec), !_0x54a375 && ('' != _0x2f35a7 || '' != _0x397657 && _0x386f46 || '' != _0x31c51f && ((_0x36f3f6 && 0x2 > _0x4d9896 || !_0x36f3f6) && 1 == SetdestroyMana || 0 == SetdestroyMana || !_0x3a8852)) && (_0x2c1aa5 = _0x20ebec), 1 == sessionStorage.perehod && (_0x2c1aa5 = _0x5705b9(CDTperehodl_[0], CDTperehodl_[1])), _0x44cc3a && !_0x5e9fcd && (_0x538236 = _0x4e3c75 = ''), _0xd4a610 = [0, 0, 0, 0], _0x2da31a = [_0x4e3c75, _0x538236, _0x529fe1, _0x1749bf], _0xd4a610[1] = '' != _0x538236 && _0x3f51ff < _0x2c1aa5 - 0xc8 && !_0x44cc3a && (!_0x4fc74d || _0x4fc74d && _0x35e1d1) && !_0x16491e && (0x2 == _0x1a3478[0x2] && 0 < _0x3d2900 && Number(_0x3d2900) >= _0xb14853 || (0 < _0x11a56a || _0x2c7a56) && (0 == _0x3d2900 || 1 == _0x1a3478[0x2] && 1 <= _0x3d2900 && Number((_0x3d2900 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? _0x3f51ff + _0x19a2b5 : 0, _0xd4a610[0x2] = '' != _0x529fe1 && _0x42a747 < _0x2c1aa5 - 0xc8 && !_0x52a490 && (!_0x4fc74d || _0x4fc74d && _0x35e1d1) && !_0x16491e && (0x2 == _0x1a3478[3] && 0 < _0x2696b1 && Number(_0x2696b1) >= _0xb14853 || 0 < _0x11a56a && (0 == _0x2696b1 || 1 == _0x1a3478[3] && 1 <= _0x2696b1 && Number((_0x2696b1 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? _0x42a747 + _0x19a2b5 : 0, _0xd4a610[0] = '' != _0x4e3c75 && _0x36e3dc < _0x2c1aa5 - 0xc8 && !_0x52a490 && !_0x44cc3a && (0x2 == _0x1a3478[1] && 0 < _0xf73b4f && Number(_0xf73b4f) >= _0xb14853 || (0 < _0x11a56a || _0x2c7a56) && (0 == _0xf73b4f || 1 == _0x1a3478[1] && 1 <= _0xf73b4f && Number((_0xf73b4f * _0x11a56a).toFixed(0)) >= _0xb14853)) ? _0x36e3dc + _0x19a2b5 : 0, _0xd4a610[3] = '' != _0x1749bf && _0x538a04 < _0x2c1aa5 - 0xc8 && !_0x52a490 && !_0x44cc3a && (0x2 == _0x1a3478[0x5] && 0 < _0x4794d1 && Number(_0x4794d1) >= _0xb14853 || (0 < _0x11a56a || _0x2c7a56) && (0 == _0x4794d1 || 1 == _0x1a3478[0x5] && 0 < _0x4794d1 && Number((_0x4794d1 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? 0x3e8 <= _0x538a04 + _0x19a2b5 ? _0x538a04 + _0x19a2b5 : 0x3e8 : 0; '' != _0x4e3c75 && confirmationButton.match('Некромант') && (!pageContent.match(/Некромант колдует Волну смерти!/i) && 1 == UseEngeShit_Necromanses ? _0x4e3c75 = '' : pageContent.match(/Некромант колдует Волну смерти!/i) && 1 == UseEngeShit_Necromanses && pageContent.match(/Энергетический щит \((готово)/i) && click(_0x4e3c75, 0x12c)); for (const _0xfe1ca = '', _0x44577d = _0x642f0d = 0; _0x44577d < sortedSkills.length; _0x44577d++) { const _0x271fb9 = sortedSkills[_0x44577d]; if (0 < _0xd4a610[_0x271fb9]) { _0xfe1ca = _0x2da31a[_0x271fb9], _0x642f0d = _0xd4a610[_0x271fb9]; break; } }// Расчёт максимального значения энергии с учётом бонуса const maxEnhancedEnergy = maxCharacterEnergy * (energyThreshold / 100); const characterzdorovieX2 = characterzdorovie * 2; characterEnergyX2 = characterEnergy * 2; _0x5e9fcd && (0xb == sessionStorage.dobivatTerr && _0x2cb347 || 0xe == sessionStorage.dobivatTerr && !_0x2cb347) ? '' != ch ? click(ch, _0x2dd3ad + 0x2710) : (action = true, setTimeout(function () { location.reload(); }, _0x12ad63)) : '' != _0x434b10 && _0x1e9137 < _0x2c1aa5 - 0x12c && !_0x25c40f && (1 == _0x4f5ee9 && (1 < _0x5b8987 && Number((_0x5b8987 * _0x11a56a).toFixed(0)) >= _0xb14853 || 1 == _0x5b8987 && _0xb14853 <= 0.05 * characterzdorovie) || 0x2 == _0x4f5ee9 && 0 < _0x5b8987 && Number(_0x5b8987) >= _0xb14853) && (_0x319ef3 && confirmationButton.match(/Арена/i) && (!_0x210c21 && !_0x19c206 || _0x210c21 && Number(sessionStorage.games_arena) < fFf[0] || _0x19c206 && _0x24fee4) || _0x319ef3 && confirmationButton.match(/Выживание/i) && (!_0x210c21 && !_0x19c206 || _0x210c21 && Number(sessionStorage.games_survival) < fFf[1] || _0x19c206 && _0x24fee4) || _0x319ef3 && confirmationButton.match(/Логово Геррода/i) && 1 < _0x5b8987 || _0x319ef3 && !confirmationButton.match(/Арена|Выживание|Логово Геррода/i) || _0x594bde) ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : (_0x45ea9d || _0x29262b && 0 < _0x5b8987) && '' != _0x434b10 && _0x1e9137 < _0x2c1aa5 - 0x12c ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : _0x416340 && 0x32 > _0x427b7f && '' != _0x434b10 && (1 == buttleRE[0] && _0x5e9fcd || 1 == buttleRE[0x2] && _0x20717e) && _0x1e9137 < _0x2c1aa5 - 0x12c ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : confirmationButton.match(/Цари Горы/i) && Number(sessionStorage.shit) < carshit && '' != _0x3ad531 ? pageContent.match(/не хватает железа/) || (sessionStorage.shit = Number(sessionStorage.shit) + 1, click(_0x3ad531, timeout)) : _0x5e9fcd && (9 == sessionStorage.dobivatTerr && _0x2cb347 || 0xc == sessionStorage.dobivatTerr && !_0x2cb347) ? '' != ch ? click(ch, _0x2dd3ad + 0x2710) : (action = true, setTimeout(function () { location.reload(); }, _0x12ad63)) : '' != _0x26a67d && _0x21d940 < _0x2c1aa5 - 0xc8 && _0x52a490 && (_0xb14853 <= 0x2 * characterzdorovie && 0xa * _0x11a56a > _0xb14853 || _0xb14853 > 0x2 * characterzdorovie && 0x3e8 < _0x11a56a) ? click(_0x26a67d, _0x21d940 + _0x19a2b5, 0) : '' != _0x26a67d && _0x21d940 < _0x2c1aa5 - 0xc8 && !_0x52a490 && (!_0x44cc3a || _0x44cc3a && DodgeOverReflection) && (0x2 == _0x1a3478[0] && 0 < _0x27fe51 && Number(_0x27fe51) >= _0xb14853 || (0 < _0x11a56a || 0 < _0x212e5c && DodgeOverEnergy) && (0 == _0x27fe51 || 1 == _0x1a3478[0] && 1 <= _0x27fe51 && Number((_0x27fe51 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? click(_0x26a67d, _0x21d940 + _0x19a2b5, 0) : '' != _0xfe1ca ? click(_0xfe1ca, _0x642f0d, 0) : '' != _0x25c40f && _0x47c449 < _0x2c1aa5 - 0xc8 && !_0x434b10 && (0x2 == _0x1a3478[0x4] && 0 < _0x934ab5 && Number(_0x934ab5) >= _0xb14853 || 0 < _0x11a56a && (0 == _0x934ab5 || 1 == _0x1a3478[0x4] && 1 <= _0x934ab5 && Number((_0x934ab5 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? click(_0x25c40f, _0x47c449 + _0x19a2b5, 0) : _0x27dcd1 && _0x339dbb < _0x2c1aa5 - 0xc8 && (!smartRegenUse || smartRegenUse && Number(characterzdorovieX2 - _0xb14853) >= Number(200) && Number(characterEnergyX2 - _0x427b7f) < energyThreshold ) ? click(_0x27dcd1, 0x3e8 < _0x339dbb + _0x19a2b5 ? _0x339dbb + _0x19a2b5 : 0x3e8, 0) : _0x5e9fcd && (0xa == sessionStorage.dobivatTerr && _0x2cb347 || 0xd == sessionStorage.dobivatTerr && !_0x2cb347) ? '' != ch ? click(ch, _0x2dd3ad + 0x2710) : (action = true, setTimeout(function () { location.reload(); }, _0x12ad63)) :_0x5e9fcd && !ch ? '' != _0x26a67d && _0x21d940 < _0x2c1aa5 - 0xc8 && (0 < _0x11a56a || 0 < _0x212e5c && DodgeOverEnergy) ? click(_0x26a67d, _0x21d940 + _0x19a2b5, 0) : '' != _0x44b463 && _0x16c029 < _0x2c1aa5 - 0xc8 ? click(_0x44b463, _0x2c1aa5, 0) : '' != _0x223a3d && 0x2 != _0x16720e && _0x555f40 < _0x2c1aa5 - 0xc8 && !_0x31c51f ? (sessionStorage.target_metka = _0x1e8e30, click(_0x223a3d, _0x555f40 + _0x19a2b5, 0)) : '' != _0x18876c && (!_0x3a06d2 || _0x3a06d2 && _0x12898c) && !_0x31c51f && _0x965f21 < _0x2c1aa5 - 0xc8 ? click(_0x18876c, _0x2c1aa5, 0) : '' != _0x3c5189 && (!_0x3a06d2 || _0x3a06d2 && _0x12898c) && !_0x31c51f && _0x137fb0 < _0x2c1aa5 - 0xc8 ? click(_0x3c5189, _0x2c1aa5, 0) : '' != _0x5e0fc4 && (!_0x3a06d2 || _0x3a06d2 && _0x12898c) && !_0x31c51f && _0x302761 < _0x2c1aa5 - 0xc8 ? click(_0x5e0fc4, _0x2c1aa5, 0) : '' != _0x509186 && _0xc328af && _0x36c7cd && !_0x31c51f && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : '' != _0x509186 && _0x454964 && _0x5b5229 && !_0x31c51f && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : '' != _0x509186 && _0xdf2dd1 && _0x4c2b83 && !_0x31c51f && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : '' != _0x509186 && _0x3a06d2 && _0x12898c && !_0x31c51f && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : !('' == _0x509186 || _0x3a06d2 || _0xc328af || _0x454964 || _0xdf2dd1 || _0x31c51f) && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : '' != _0x509186 && '' != _0x397657 && 0x96 > _0x5f11d4 && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : '' != _0x42f096 && 1 == _0x16720e ? click(_0x42f096, _0x2c1aa5, 0) : '' != _0x1532c5 && 0 == sessionStorage.bloodcrazy && tfs ? click(_0x1532c5, 0x7d0 > _0x2c1aa5 ? _0x2c1aa5 : 0x7d0, 0) : '' != _0x1532c5 && (1 == sessionStorage.bloodcrazy && tfs || !tfs) ? click(_0x1532c5, _0x2c1aa5, 0) : 0x2 == SetdestroyMana && '' != _0x3a8852 ? '' != _0x3c5189 && _0x137fb0 < _0x2c1aa5 - 0xc8 ? click(_0x3c5189, _0x2c1aa5, 0) : '' != _0x6add39 && 0x2 != _0x16720e ? click(_0x6add39, _0x2c1aa5, 0) : click(_0x3a8852, _0x2c1aa5, 0) : 1 == SetdestroyMana && '' != _0x3a8852 && 0x2 <= sessionStorage.MedmissCntr ? '' != _0x6add39 && 1 > _0x5705b9(0x4) && 0x2 != _0x16720e ? (sessionStorage.removeItem('MedmissCntr'), click(_0x6add39, _0x2c1aa5, 0)) : '' != _0x3c5189 && _0x137fb0 < _0x2c1aa5 - 0xc8 ? (sessionStorage.removeItem('MedmissCntr'), click(_0x3c5189, _0x2c1aa5, 0)) : (sessionStorage.removeItem('MedmissCntr'), click(_0x3a8852, _0x2c1aa5, 0)) : '' != _0x2f35a7 && (terrSheal || !terrSheal && (1 == _0x4f5ee9 && Number((_0x11a56a * _0x5b8987).toFixed(0)) >= _0xb14853 || 0x2 == _0x4f5ee9 && Number(_0x5b8987) >= _0xb14853 || 0x7d0 > _0xb14853)) && !_0x230022 ? click(_0x2f35a7, _0x2c1aa5) : '' != _0x397657 && _0x386f46 && !_0x230022 ? click(_0x397657, _0x2c1aa5, 0) : '' == _0x31c51f || _0x230022 || 1 != SetdestroyMana && 0 != SetdestroyMana && _0x3a8852 ? '' != _0x31c51f && click(_0x31c51f, _0x2c1aa5, 0) : click(_0x31c51f, _0x2c1aa5, 0) : 1 != sessionStorage.ironAS || '' == _0x51912b || _0x31f69d ? !_0x31f69d || '' == _0x51912b || 0 != ironStrikes[Number(sessionStorage.locScrolls) - 1] && (0x2 != ironStrikes[Number(sessionStorage.locScrolls) - 1] || _0x5b5229 || _0x3c9c45 || _0x36c7cd || _0x4c2b83) ? !_0x31f69d && '' != _0x51912b && (1 == ironStrikes[Number(sessionStorage.locScrolls) - 1] || 0x2 == ironStrikes[Number(sessionStorage.locScrolls) - 1] && (_0x5b5229 || _0x3c9c45 || _0x36c7cd || _0x4c2b83)) ? click(_0x51912b, _0x19a2b5) : !_0x5e9fcd && '' != _0x223a3d && 0x2 != _0x16720e && _0x555f40 < _0x2c1aa5 - 0xc8 && !_0x31c51f ? (sessionStorage.target_metka = _0x1e8e30, click(_0x223a3d, _0x555f40 + _0x19a2b5, 0)) : !_0x5e9fcd && '' != _0x18876c && !_0x31c51f && _0x965f21 < _0x2c1aa5 - 0xc8 ? click(_0x18876c, _0x2c1aa5, 0) : !_0x5e9fcd && '' != _0x3c5189 && !_0x31c51f && _0x137fb0 < _0x2c1aa5 - 0xc8 ? click(_0x3c5189, _0x2c1aa5, 0) : !_0x5e9fcd && '' != _0x5e0fc4 && _0x302761 < _0x2c1aa5 - 0xc8 ? click(_0x5e0fc4, 0x3e8 < _0x302761 + _0x19a2b5 ? _0x302761 + _0x19a2b5 : 0x3e8, 0) : !_0x5e9fcd && '' != _0x509186 && (!_0x31c51f || '' != _0x397657 && (0xaf > _0x5f11d4 && !_0x5e9fcd || 0x96 > _0x5f11d4 && _0x5e9fcd)) && _0x2ec6d1 < _0x2c1aa5 - 0xc8 ? click(_0x509186, _0x2c1aa5, 0) : !_0x5e9fcd && '' != _0x44b463 && _0x16c029 < _0x2c1aa5 - 0xc8 ? click(_0x44b463, _0x2c1aa5, 0) : !_0x5da5a1 || 1 != hrst || _0x5b5229 || _0x3c9c45 || _0x4c2b83 || _0x36c7cd || _0x12898c || '' == _0x172c1f ? '' != _0x27a43f && _0x57269a < _0x2c1aa5 - 0xc8 && _0x594bde ? click(_0x27a43f, _0x2c1aa5, 0) : '' != _0x4e5808 ? click(_0x4e5808, _0x2c1aa5, 0) : '' != _0x1de152 && 0x3a98 > _0x1c4ff8 ? click(_0x1de152, _0x2c1aa5, 0) : '' != _0x54a375 ? click(_0x54a375, _0x2c1aa5, 0) : '' != _0x4ace3c ? click(_0x4ace3c, _0x2c1aa5, 0) : '' != _0x2f35a7 && (!_0x5e9fcd || _0x5e9fcd && terrSheal || _0x5e9fcd && !terrSheal && (1 == _0x4f5ee9 && Number((_0x11a56a * _0x5b8987).toFixed(0)) >= _0xb14853 || 0x2 == _0x4f5ee9 && Number(_0x5b8987) >= _0xb14853 || 0x7d0 > _0xb14853)) && !_0x230022 ? click(_0x2f35a7, _0x2c1aa5) : 0x2 == SetdestroyMana && '' != _0x3a8852 ? '' != _0x3c5189 && _0x137fb0 < _0x2c1aa5 - 0xc8 ? click(_0x3c5189, _0x2c1aa5, 0) : '' != _0x6add39 && 0x2 != _0x16720e ? click(_0x6add39, _0x2c1aa5, 0) : click(_0x3a8852, _0x2c1aa5, 0) : 1 == SetdestroyMana && '' != _0x3a8852 && 0x2 <= sessionStorage.MedmissCntr ? '' != _0x6add39 && 1 > _0x5705b9(0x4) && 0x2 != _0x16720e ? (sessionStorage.removeItem('MedmissCntr'), click(_0x6add39, _0x2c1aa5, 0)) : '' != _0x3c5189 && _0x137fb0 < _0x2c1aa5 - 0xc8 ? (sessionStorage.removeItem('MedmissCntr'), click(_0x3c5189, _0x2c1aa5, 0)) : (sessionStorage.removeItem('MedmissCntr'), click(_0x3a8852, _0x2c1aa5, 0)) : '' != _0x397657 && _0x386f46 && !_0x230022 ? click(_0x397657, _0x2c1aa5, 0) : '' == _0x31c51f || _0x230022 || 1 != SetdestroyMana && 0 != SetdestroyMana && _0x3a8852 ? '' != _0x31c51f ? click(_0x31c51f, _0x2c1aa5, 0) : '' != ch && _0x281ada && 1 == sessionStorage.goToChat ? click(ch, _0x5bb53a, 1) : '' != fx && _0x281ada && 1 == sessionStorage.goToChat ? click(fx, _0x5bb53a, 1) : '' != _0x42f096 && _0x45c64b ? click(_0x42f096, _0x2c1aa5, 0) : '' != _0x172c1f && (0x2 == SetAttackTower || _0x43e32c && confirmationButton.match(/Северная Крепость|Крепость Севера|Обелиск Силы/i) || !_0x43e32c && confirmationButton.match(/Южный Порт|Южная Крепость|Обелиск Силы/i)) ? click(_0x172c1f, _0x2c1aa5, 0) : '' != _0x172c1f && 1 == SetAttackTower && !confirmationButton.match('Битва героев') && _0x2a3e9e / _0x33da25 > _0x5705b9(0x320, 0x7d0) ? click(_0x172c1f, _0x2c1aa5, 0) : '' != _0x42f096 && 0x2 != _0x16720e && (!_0x319ef3 && 0x2 > _0x5705b9(0x4) || 1 == _0x16720e || _0x319ef3 && !confirmationButton.match(/Логово Геррода|Территория|Битва героев|Цари .оры|Город .ревних/)) ? click(_0x42f096, _0x2c1aa5, 0) : '' != _0x4f5379 && atkTzar ? click(_0x4f5379, _0x2c1aa5, 0) : '' != _0x1532c5 ? click(_0x1532c5, _0x2c1aa5, 0) : '' != _0x428fe4 ? click(_0x428fe4, _0x2c1aa5, 0) : '' != _0x215b49 && 1 == raidTimer[0x1a] ? (click(user, timeout, 1), raidTimer[0x1a] = 0) : '' != _0x215b49 ? (click(_0x215b49, timeout, 1), raidTimer[0x1a] = 1) : '' != _0x571b32 && 1 == raidTimer[0x1a] ? (click(user, timeout, 1), raidTimer[0x1a] = 0) : '' != _0x571b32 ? (click(_0x571b32, timeout, 1), raidTimer[0x1a] = 1) : '' != _0x43b894 && 1 == raidTimer[0x1a] ? (click(user, _0x2c1aa5, 0), raidTimer[0x1a] = 0) : '' != _0x43b894 ? (click(_0x43b894, timeout, 1), raidTimer[0x1a] = 1) : '' == ch || _0x281ada ? '' != _0x172c1f ? click(_0x172c1f, _0x2c1aa5, 0) : '' != _0x366f19 && click(_0x366f19, _0x2c1aa5, 0) : click(ch, _0x2dd3ad, 1) : click(_0x31c51f, _0x2c1aa5, 0) : click(_0x172c1f, _0x2c1aa5, 0) : click(_0x51912b, _0x19a2b5) : click(_0x51912b, _0x19a2b5); } const _0x328130 = _0x3c7064 + _0x1809e3 + _0x5d8e80 + _0x45a08a + _0x165fce + _0x29684c + _0x29684c + _0x2bdd74 + _0x40e184 + _0x3c0765 + _0x2d639d + _0x4b3d23 + _0x54a96c + _0x1809e3 + _0x28a189 + _0x15d6bb; function _0x559830() { if (_0x16299b != '') click(_0x16299b, timeout); if (confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) || confirmationButton.match(/Курган|Лагерь викингов|Лагерь орды/) || confirmationButton.match(/Дельта реки|Левый берег|Правый берег|Устье реки/) || confirmationButton.match(/Ледник|Верхний перевал|Ледяные пещеры|Нижний перевал|Каменные пещеры|Горное озеро/) || confirmationButton.match(/Северная пустошь|Северо-западная пустошь|Северо-восточная пустошь|Западная пустошь|Перекр.сток|Восточная пустошь|Юго-западная пустошь|Юго-восточная пустошь|Южная пустошь/) || confirmationButton.match(/Розенгард|Западный Розенгард|Железный рудник|Восточный Розенгард|Большой курган|Западный Мароканд|Медные копи|Восточный Мароканд|Мароканд/) || confirmationButton.match(/Мертвый город, Юг|Юго-восточная окраина|Храм земли|Храм огня|Храм неба|Юго-западная окраина|Площадь рассвета|Площадь восстания|Площадь заката|Северо-восточная окраина|Храм воды|Северо-западная окраина|Мертвый город, Север/i) || confirmationButton.match(/Земли титанов, Север|Северо-западные горы|Северо-восточные горы|Западные врата|Крепость титанов|Восточные врата|Юго-западные горы|Юго-восточные горы|Земли титанов, Юг/) || confirmationButton.match(/Долина Сражений, Север|Северо-западный Форт|Северо-восточный Форт|Западный Курган|Поле вечной битвы|Восточный Курган|Юго-западный Форт|Юго-восточный Форт|Долина Сражений, Юг/)) _0x594bde = true, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0]), 0 != _0x4cee8d[9] && click(naGlavnuy, _0x19a2b5);else { if (confirmationButton.match(/Битва за подарки/i) && !_0x125170) _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0xb]);else { if (confirmationButton.match(/Логово Геррода/i)) { if (_0x319ef3 = true, ReadMessage = false, _0x1d6422 = '', 0x5 == sessionStorage.goToBoss && sessionStorage.removeItem('goToBoss'), _0x5b8987 = _0x4a25c5(SetDrinkButlle[9]), pageContent.match(/Бить Геррода/) && (_0x223a3d = _0x18876c = ''), pageContent.match(/(Ты|Вы) бил(ись|ась|ся) храбро, но погиб(ли|ла)?|Битва началась, Логово закрыто/i) && click(naGlavnuy, timeout), /\d+% \d+ \d+:\d+/.test(pageContent)) { const _0x45321b = /\d+% \d+ (\d+):(\d+)/.exec(pageContent); if ((_0x45321b[1] == Number(gerrTime[0]) && _0x45321b[0x2] >= Number(gerrTime[1]) && _0x45321b[0x2] < Number(gerrTime[1]) + 0xa || _0x45321b[1] == Number(gerrTime[0x2]) && _0x45321b[0x2] >= Number(gerrTime[3]) && _0x45321b[0x2] < Number(gerrTime[3]) + 0xa) && 1 == _0x5b8987 || _0x45321b[1] == Number(gerrTime[0x4]) && _0x45321b[0x2] >= Number(gerrTime[0x5])) _0x45ea9d = true; } } else { if (confirmationButton.match(/Праздничный магазин/)) _0x45321b = /Алмазы: (\d+)/, _0x45321b.test(pageContent) && (sessionStorage.currentGem = _0x45321b.exec(pageContent)[1], buyDiamondBox <= Number(sessionStorage.currentGem) && _0x3e8f04 && click(_0x3e8f04, timeout));else { if (confirmationButton.match(/Арена/i)) { _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5(SetDrinkButlle[1]), _0x580121(SetBattleS[0]) && /14|20/.test(_0x3f3716[1]) && 0x14 <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && ('' != _0x942041 ? click(_0x942041, timeout) : ('' != _0x3849a6 || '' != _0x215b49 || '' != _0x43b894 || pageContent.match(/Твой герой погиб, жди окончания боя/i)) && click(naGlavnuy, timeout)); const _0x45321b = '', _0x1ee22a = [], _0x5602d8 = [], _0x11ab91 = 1, _0x381e48 = '', _0x32a127 = ''; '' == _0x215b49 && '' == _0x942041 && confirmationButton.match(/Арена|Мой герой|Алтарь клана|Клан /) || (_0x206901.length = 0, _0x1ee22a.length = 0, _0x5602d8.length = 0); if (pageContent.match('Бой начнётся через')) { for (_0x45321b = 1; _0x45321b <= _0x5c7030.length; _0x45321b++) if (_0x5c7030[_0x45321b].textContent.match('Бой начнётся через')) { _0x45321b = _0x5c7030[_0x45321b], _0x45321b = _0x45321b.getElementsByTagName('div'); for (k = 0; k < _0x45321b.length; k++) { /* 0 == k && (_0x381e48 = _0x45321b[k].getElementsByTagName('hr')[0].textContent, _0x32a127 = _0x45321b[k].getElementsByTagName('hr')[1].textContent); */ const _0x381e48 = parseInt(_0x381e48), _0x32a127 = parseInt(_0x32a127), _0x2b8b7a = '
' == _0x45321b[0x2].outerHTML ? 3 : 0x4; k > _0x2b8b7a + _0x381e48 && k <= _0x2b8b7a + _0x381e48 + _0x32a127 && (_0x1ee22a.push(_0x45321b[k].getElementsByTagName('span')[1].textContent), _0x5602d8.push(_0x45321b[k].getElementsByTagName('span')[0x2].textContent)); } break; } for (_0x54a243 = 0; _0x54a243 < _0x32a127; _0x54a243++) _0x5602d8[_0x54a243] = _0x5602d8[_0x54a243].match(/\d+/); for (q = 0; q < _0x32a127; q++) { for (j = 0; j < _0x5602d8.length; j++) _0x11ab91 < parseInt(_0x5602d8[j]) && (_0x11ab91 = parseInt(_0x5602d8[j])); for (k = 0; k < _0x32a127; k++) _0x11ab91 == parseInt(_0x5602d8[k]) && (_0x206901[q] = _0x1ee22a[k], _0x4cadcc[q] = _0x5602d8[k], _0x5602d8[k] = 0, _0x11ab91 = 1); } if (0x5 > _0x32a127) { for (f = 1; f <= 0x5 - _0x32a127; f++) _0x206901[_0x32a127 - 1 + f] = '-'; } } if ('' != _0x1532c5) { for (z = 0xa; z < _0x5c7030.length; z++) if (_0x5c7030[z].textContent.match('убил')) { for (v = 0; 0x5 > v; v++) if (_0x124d7d(_0x5c7030[z].textContent).match('убил ' + _0x206901[v]) || _0x124d7d(_0x5c7030[z].textContent).match(_0x206901[v] + ' сбежал с арены')) _0x206901[v] = '-'; } } for (_0x45321b = 0; _0x45321b < _0x206901.length; _0x45321b++) _0x206901[_0x45321b] = _0x124d7d(_0x206901[_0x45321b]); pageContent.match(/Наши: (\d) Враги: (\d) /) && ironArena && (_0x45321b = /Наши: (\d)/.exec(pageContent), /Враги: (\d)/.exec(pageContent)[1] > _0x45321b[1] && (sessionStorage.ironAS = 1)), pageContent.match(/Новый бой|в очередь/i) && ironArena && (sessionStorage.ironAS = 0, _0x31f69d && click('/guild/altar', _0x19a2b5)); } else { if (confirmationButton.match(/Выживание/i)) { _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0x4]), _0x580121(SetBattleS[0]) && /14|20/.test(_0x3f3716[1]) && 0x14 <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && ('' != _0x942041 ? click(_0x942041, timeout) : ('' != _0x3849a6 || '' != _0x215b49 || '' != _0x43b894 || pageContent.match(/Твой герой погиб, жди окончания боя/i)) && click(naGlavnuy, timeout)), _0x45321b = '', _0x1ee22a = [], _0x5602d8 = [], _0x11ab91 = 0x4e20, _0x32a127 = _0x381e48 = '', '' == _0x215b49 && '' == _0x942041 && confirmationButton.match(/Выживание|Мой герой|Алтарь клана|Клан/) || (_0x206901.length = 0, _0x1ee22a.length = 0, _0x5602d8.length = 0); if (pageContent.match('Бой начнётся через')) { for (_0x45321b = 1; _0x45321b <= _0x5c7030.length; _0x45321b++) if (_0x5c7030[_0x45321b].textContent.match('Бой начнётся через')) { _0x45321b = _0x5c7030[_0x45321b], _0x45321b = _0x45321b.getElementsByTagName('div'); /* for (k = 0; k < _0x45321b.length; k++) 0 == k && (_0x381e48 = _0x45321b[k].getElementsByTagName('span')[0].textContent), _0x381e48 = parseInt(_0x381e48), _0x2b8b7a = '' == _0x45321b[0x2].outerHTML ? 0x2 : 3, k > _0x2b8b7a && k < _0x2b8b7a + 1 + _0x381e48 && (_0x1ee22a.push(_0x45321b[k].getElementsByTagName('span')[1].textContent), _0x5602d8.push(_0x45321b[k].getElementsByTagName('span')[0x2].textContent)); break; */ } for (_0x54a243 = 0; _0x54a243 < _0x381e48; _0x54a243++) _0x5602d8[_0x54a243] = _0x5602d8[_0x54a243].match(/\d+/); for (q = 0; q < _0x381e48; q++) { for (j = 0; j < _0x5602d8.length; j++) _0x11ab91 > parseInt(_0x5602d8[j]) && (_0x11ab91 = parseInt(_0x5602d8[j])); for (k = 0; k < _0x381e48; k++) _0x11ab91 == parseInt(_0x5602d8[k]) && (_0x206901[q] = _0x1ee22a[k], _0x4cadcc[q] = _0x5602d8[k], _0x5602d8[k] = 0x5208, _0x11ab91 = 0x4e20); } if (0x5 > _0x381e48) { for (f = 1; f <= 0x5 - _0x381e48; f++) _0x206901[_0x381e48 - 1 + f] = '-'; } } if ('' != _0x1532c5) { for (z = 0xa; z < _0x5c7030.length; z++) if (_0x5c7030[z].textContent.match('убил')) { for (v = 0; 0x5 > v; v++) if (_0x124d7d(_0x5c7030[z].textContent).match('убил ' + _0x206901[v]) || _0x124d7d(_0x5c7030[z].textContent).match(_0x206901[v] + ' сбежал с выживания')) _0x206901[v] = '-'; } } for (_0x45321b = 0; _0x45321b < _0x206901.length; _0x45321b++) _0x23b0c6 == _0x124d7d(_0x206901[_0x45321b]) ? _0x206901[_0x45321b] = _0x124d7d('-') : _0x206901[_0x45321b] = _0x124d7d(_0x206901[_0x45321b]); pageContent.match(/ (\d) (\d+):(\d+)/) && ironSurv && (_0x45321b = Number(/ (\d) (\d+):(\d+)/.exec(pageContent)[0x2]), _0x1ee22a = Number(/ (\d) (\d+):(\d+)/.exec(pageContent)[3]), 0x2 <= _0x45321b || 1 == _0x45321b && 0x1e <= _0x1ee22a) && (sessionStorage.ironAS = 1), pageContent.match(/Новый бой|в очередь/i) && ironSurv && (sessionStorage.ironAS = 0, _0x31f69d && click('/guild/altar', _0x19a2b5)); } else { if (confirmationButton.match(/Территория/i) && !_0x1a9f0e) (_0x5e9fcd = _0x319ef3 = true, ReadMessage = false, DodgeOverReflection = true, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0x5]), _0x2cb347 || _0x366f19 || _0x31c51f || 0 != _0xc3b320[0x2] || !(1 > _0xc3b320[0x2]) || pageContent.match(/через (\d+) сек/) || pageContent.match(/Набег начался|Набег timeout/i) || (sessionStorage.forceTerrDodge = 1), TerrHeal && (SetdestroyMana = 0), pageContent.match(/Кровавое безумие! Каждая секунда/i) && !ch && (sessionStorage.bloodcrazy = 1, buttleRE[0] = 0), 1 == sessionStorage.bloodcrazy && '' == ch && (buttleRE[0] = 0, _0x386f46 = false), pageContent.match(/Набег начался|Набег timeout/i) && (sessionStorage.dobivatTerr = 6), _0x366f19 || _0x31c51f || !pageContent.match(/Финальная битва timeout/i)) ? _0x366f19 || _0x31c51f || !pageContent.match(/Битва завершилась|Владелец определен/i) || pageContent.match(/через (\d+) сек/) || !(0 < Number(_0xc3b320[1]) || 0xf < Number(_0xc3b320[0x2])) ? _0x366f19 || _0x31c51f || !pageContent.match(/Финальная битва!|(Твой|Ваш) герой погиб, жди(те)? окончания боя/i) || pageContent.match(/через (\d+) сек/) ? undefined != sessionStorage.blockTerrRun1 && (_0x366f19 || _0x31c51f) && (sessionStorage.blockTerrRun2 = 1) : (sessionStorage.bloodcrazy = 0, sessionStorage.removeItem('territory'), sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), click(naGlavnuy, timeout)) : (sessionStorage.bloodcrazy = 0, sessionStorage.removeItem('territory'), sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), click(naGlavnuy, timeout)) : (sessionStorage.bloodcrazy = 0, _0x56c4a7.match(/Финальная битва timeout/i) ? (sessionStorage.dobivatTerr = _0x2cb347 ? 0 : SetdestroyMana + 0xf, sessionStorage.blockTerrRun1 = 1, _0x31f69d && click('/guild/altar', _0x19a2b5)) : (sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'), sessionStorage.removeItem('territory'), click(naGlavnuy, timeout)));else { if (confirmationButton.match(/Цари Горы/i)) _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0xa]), _0x366f19 || _0x31c51f || !pageContent.match(/(Твой|Ваш) герой погиб|Битва завершилась!|(Ты|Вы) бил(ись|ась|ся) храбро, но погиб(ли|ла)?/i) || click(naGlavnuy, timeout), 1 == readGerrodBook[0] && undefined == sessionStorage.gerrodBookIsRead && ch && (sessionStorage.gerrodBookIsRead = 'no');else { if (confirmationButton.match(/Поля сражений|Северная Крепость|Северная Крепость|Южный Порт|Обелиск Силы|Южная Крепость/i) || confirmationButton.match(/Левые Врата севера|Левый Склон|Левобережный Лес|Левые Врата юга/i) && (sessionStorage.lastLine = 'll2') || confirmationButton.match(/Правые Врата севера|Правый Утес|Правобережная Бухта|Правые Врата юга/i) && (sessionStorage.lastLine = 'rl2') || confirmationButton.match(/Западные Врата севера|Северо-Западный Склон|Юго-Западный Склон|Западные Врата юга/i) && (sessionStorage.lastLine = 'll3') || confirmationButton.match(/Центральные Врата севера|Северный Перевал|Южное Плато|Центральные Врата юга/i) && (sessionStorage.lastLine = 'cl3') || confirmationButton.match(/Восточные Врата севера|Северо-Восточный Утес|Юго-Восточный Утес|Восточные Врата юга/i) && (sessionStorage.lastLine = 'rl3')) { if (undefined == sessionStorage.bgType && (pageContent.match(new RegExp(_0x124d7d('(12 на 12)', 'i'))) ? sessionStorage.bgType = '12' : sessionStorage.bgType = '6'), undefined != sessionStorage.forceBG && sessionStorage.removeItem('forceBG'), _0x319ef3 = true, ReadMessage = false, SetAttackTower = 0, _0x23c0bb = true, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0x7]), !action && pageContent.match(/(Ты|Вы) не успел(и|а)? занять очередь/i) && click(user, timeout), !action && ch && pageContent.match(/Ждите результат/i) && click(ch, timeout), _0x45321b = /Сегодня боёв: (\d+)/i, 0 < _0x12c6c6[0x2] && (_0x12c6c6[0x2] = 0), _0x45321b.test(pageContent) && Number(_0x12c6c6[3]) <= timeBattles[1] && !action ? localStorage.bgCnt = _0x45321b.exec(pageContent)[1] : _0x45321b.test(pageContent) && 6 < Number(_0x12c6c6[3]) && 0x3b > Number(_0x12c6c6[3]) && (localStorage.bgCnt = _0x45321b.exec(pageContent)[1], click(naGlavnuy, timeout)), 0 == localStorage.newDay_bg && Number(localStorage.bgCnt) < bgCnt || 0x4 < Number(_0x3f3716[1]) && Number(localStorage.bgCnt) >= bgCnt) localStorage.newDay_bg = 1; } else { if (confirmationButton.match(/\d\/(\d+) финала|Передышка|Праздничный турнир|Турнир героев|Турнир выживания|Командный турнир|Праздничный турнир|Зимние варварские игры|Клановый турнир|Отборочный (тур|раунд)|Финал/i)) _0x20baf4 = _0x319ef3 = true, ReadMessage = false, '4' == sessionStorage.locScrolls ? (_0x5b8987 = _0x4a25c5(SetDrinkButlle[3]), 1 == blockAbil[0] && _0x440f47()) : '13' == sessionStorage.locScrolls ? (_0x3917f4 = true, 0 < nasmeshkaAbily[0] && (_0x38bf95 = true), _0x5b8987 = _0x4a25c5(SetDrinkButlle[0xc]), 1 == blockAbil[1] && _0x440f47()) : '16' == sessionStorage.locScrolls ? (_0x29a625 = true, 0 < nasmeshkaAbily[1] && (_0x38bf95 = true), _0x5b8987 = _0x4a25c5(SetDrinkButlle[0xd]), 1 == blockAbil[0x2] && _0x440f47()) : '21' == sessionStorage.locScrolls && (_0x5b8987 = _0x4a25c5(SetDrinkButlle[0xf]), 1 == blockAbil[3] && _0x440f47()), 1 == sessionStorage.turnirIS && (ironStrikes[Number(sessionStorage.locScrolls) - 1] = 1), 0 == sessionStorage.turnirIS && (ironStrikes[Number(sessionStorage.locScrolls) - 1] = 0);else { if (confirmationButton.match(/^Врата$|^Стены$|^Храм$|^Площадь$|^Мифриловый Зал$|Город .ревних/)) _0x29262b = _0x319ef3 = true, ReadMessage = false, bmessRes || (_0x1d6422 = ''), _0x5b8987 = _0x4a25c5(buttleAnc[0]) > _0xb14853 && confirmationButton.match(/Стены/i) || _0x4a25c5(buttleAnc[1]) > _0xb14853 && confirmationButton.match(/Площадь/i) || _0x4a25c5(buttleAnc[0x2]) > _0xb14853 && confirmationButton.match(/Храм/i) || _0x4a25c5(buttleAnc[3]) > _0xb14853 && confirmationButton.match(/Мифриловый Зал/i) ? 1 : 0, _0x366f19 || _0x31c51f || !pageContent.match(/Битва завершилась!/i) || click(naGlavnuy, timeout);else { if (confirmationButton.match(/Битва героев/i)) _0x319ef3 = true, ReadMessage = false, _0x5da5a1 = true, _0x5b8987 = _0x4a25c5(SetDrinkButlle[6]), _0x366f19 || _0x31c51f || !pageContent.match(/(Твой|Ваш) герой погиб|Битва завершилась!|Битва началась, (Ты|Вы) не успел(и|а)?/i) || click(naGlavnuy, timeout);else { if (confirmationButton.match(/Некромант$/i)) _0x319ef3 = true, ReadMessage = false, _0x5da5a1 = true, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0x10]), _0x366f19 || _0x31c51f || !pageContent.match(/(Твой|Ваш) герой погиб|Битва завершилась!|Битва началась, (Ты|Вы) не успел(и|а)?/i) || click(naGlavnuy, timeout); } } } } } } } } } } } } if (confirmationButton.match('Турнир героев')) { if (1 == SetParametrBooks[0] && 1 == SetParametrDragon[0] && sessionStorage.UseBookEvents == 'yes') sessionStorage.Tur11Dragon = 'yes';else 1 == SetParametrBooks[0] && 1 == SetParametrAltar[0] && sessionStorage.UseBookEventsAlt == 'yes' && (sessionStorage.Tur11Altar = 'yes'); } if (confirmationButton.match('Командный турнир')) { if (1 == SetParametrBooks[1] && 1 == SetParametrDragon[1] && sessionStorage.UseBookEvents == 'yes') sessionStorage.Tur33Dragon = 'yes';else 1 == SetParametrBooks[1] && 1 == SetParametrAltar[1] && sessionStorage.UseBookEventsAlt == 'yes' && (sessionStorage.Tur33Altar = 'yes'); } if (confirmationButton.match('Клановый турнир')) { if (1 == SetParametrBooks[0x2] && 1 == SetParametrDragon[0x2] && sessionStorage.UseBookEvents == 'yes') sessionStorage.Tur77Dragon = 'yes';else 1 == SetParametrBooks[0x2] && 1 == SetParametrAltar[0x2] && sessionStorage.UseBookEventsAlt == 'yes' && (sessionStorage.Tur77Altar = 'yes'); } if (confirmationButton.match('Турнир выживания')) { if (1 == SetParametrBooks[3] && 1 == SetParametrDragon[3] && sessionStorage.UseBookEvents == 'yes') sessionStorage.Tur66Dragon = 'yes';else 1 == SetParametrBooks[3] && 1 == SetParametrAltar[3] && sessionStorage.UseBookEventsAlt == 'yes' && (sessionStorage.Tur66Altar = 'yes'); } if (confirmationButton.match(/Поля сражений|Турнир героев|Битва героев|Логово Геррода|Цари горы|Город Древних|Командный турнир|Праздничный турнир|Клановый турнир|Турнир выживания|Некромант/i)) sessionStorage.Buy_Iron_Kill = 0, sessionStorage.Buy_Buff_Luck = 'yes';else { if (confirmationButton.match(new RegExp(_0x3f0eec.join('|'), 'i')) && !_0x37ca53) { _0x20717e = _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0x2]); if (_0x580121(SetBattleS[0]) && 0x14 <= _0x3f3716[0x2] && 0x26 >= _0x3f3716[0x2] && /14|20/.test(_0x3f3716[1]) || _0x580121(SetBattleS[0]) && 0x14 <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && 0x11 == _0x3f3716[1] || _0x580121(SetBattleS[9]) && 1 == localStorage.battlegiftson && 0x14 <= _0x32be4d && _0x1e2e3d(timeBGfts, timeBattles[9]) || _0x580121(sCastles[0]) && _0x580121(SetBattleS[6]) && 1 != raidTimer[9] && _0x1e2e3d(timeTur11, timeBattles[6]) || _0x580121(sCastles[3]) && _0x580121(SetBattleS[0xd]) && 1 != raidTimer[9] && _0x1e2e3d(timeTur66, timeBattles[8]) || _0x580121(sCastles[1]) && _0x580121(SetBattleS[0x7]) && 1 != raidTimer[9] && _0x1e2e3d(timeTur33, timeBattles[0x7]) || _0x580121(sCastles[0x2]) && _0x580121(SetBattleS[0x5]) && 0x1e <= _0x32be4d && _0x1e2e3d(timeGerrod, timeBattles[0x5]) || _0x580121(sCastles[0x4]) && _0x580121(SetBattleS[3]) && 0x1e <= _0x32be4d && _0x1e2e3d(timeHeroes, timeBattles[3]) || _0x580121(sCastles[0x5]) && _0x580121(SetBattleS[0x4]) && 0x19 <= _0x32be4d && _0x1e2e3d(timeBmess, timeBattles[0x4]) || _0x580121(sCastles[6]) && _0x580121(SetBattleS[0xe]) && 0x19 <= _0x32be4d && _0x1e2e3d(timeNecros, timeBattles[0xa])) { for (_0x45321b = 0; _0x45321b < _0x3f0eec.length; _0x45321b++) if (confirmationButton.match(_0x3f0eec[_0x45321b])) { _0x48c305[_0x45321b] = baseTime + _0x5705b9(0x251c, 0x2710), _0x1febf6[_0x45321b] = 'gray_castle.png', sessionStorage.castle_state = _0x1febf6, sessionStorage.castle_time = _0x48c305; break; } click(naGlavnuy, timeout); } for (_0x45321b = 0; _0x45321b < _0x145d23.length; _0x45321b++) if (major_ = _0x124d7d(_0x145d23[_0x45321b].textContent), major_.match(/Стены замка разрушены|входа в замок больше нет/) && !_0x366f19 && !_0x31c51f) { for (_0x45321b = 0; _0x45321b < _0x3f0eec.length; _0x45321b++) if (confirmationButton.match(_0x3f0eec[_0x45321b])) { _0x1febf6[_0x45321b] = 'gray_castle.png', _0x48c305[_0x45321b] = 8 == _0x45321b ? baseTime + RAID_TIMER_OFFSET : baseTime + _0x5705b9(0x251c, 0x2710), sessionStorage.castle_state = _0x1febf6, sessionStorage.castle_time = _0x48c305; break; } } _0x45321b = '', pageContent.match(/\d+% \d+%( \d+:\d+)?/i) && (_0x45321b = pageContent.match(/\d+% \d+%( \d+:\d+)?/i), _0x45321b = _0x45321b.toString(), _0x45321b = _0x45321b.split(' '), 0x13 < parseInt(_0x45321b[1]) ? sessionStorage.dobzamki = 0 : sessionStorage.dobzamki = 1); } else { if (confirmationButton.match(/Пещеры и драконы/i)) sessionStorage.removeItem('bossIS'), sessionStorage.removeItem('notify'), sessionStorage.boss_time = 0, raidTimer[0x31] = 0; /* if (confirmationButton.match(/Пещеры и драконы/i)) { // _0x186754 = ''; // Присвоение пустой строки // _0x5bf9af = ''; // Присвоение пустой строки sessionStorage.removeItem('bossIS'); // Удаление item из sessionStorage sessionStorage.removeItem('notify'); // Удаление item из sessionStorage sessionStorage.boss_time = 0; // Обнуление значения raidTimer[0x31] = 0; // Обнуление значения в массиве } */ else { if (confirmationButton.match(/Почта для/i)) _0x186754 = '';else { if (confirmationButton.match(/Пещера дракона|Пещерный стражник|Грот Гарпий|Пещера мантикоры|Легендарный дракон|Лабиринт минотавра|Мифический дракон|Долина Великанов|Каменный тролль|Храм Немезиды|Обитель Зодиака|Святилище предков|Потерянный Легион|Башня Феникса|Центральный зал|Левое крыло|Правое крыло|Дракон (\d+) ур/i) && !confirmationButton.match(/Пещеры и драконы|Голова дракона|Пустая/i) && !pageContent.match(/Вход закрыт/i)) confirmationButton.match(/Пещерный стражник/i) ? _0x530d0f = 0 : confirmationButton.match(/Грот Гарпий/i) ? _0x530d0f = 1 : confirmationButton.match(/Пещера мантикоры/i)? _0x530d0f = 0x2 : confirmationButton.match(/Лабиринт минотавра/i) ? _0x530d0f = 3 : confirmationButton.match(/Легендарный дракон/i) ? _0x530d0f = 0x4 : confirmationButton.match(/Башня Феникса/i)? (_0x530d0f = 14, _0x5cb202 = orderOne[17]) : confirmationButton.match(/Дракон (\d+) ур/i) ? (_0x530d0f = 6, _0x5cb202 = orderOne[0xd]) : confirmationButton.match(/Мифический дракон/i) ? (_0x530d0f = 0x7, _0x5cb202 = orderOne[1]) : confirmationButton.match(/Храм Немезиды/i) ? (_0x530d0f = 8, _0x5cb202 = orderOne[0x7]) : confirmationButton.match(/Каменный тролль/i) ? (_0x530d0f = 9, _0x5cb202 = orderOne[0x5]) : confirmationButton.match(/Обитель Зодиака/i) ? (_0x530d0f = 0xa, _0x5cb202 = orderOne[9]) : confirmationButton.match(/Долина Великанов/i) ? (_0x530d0f = 0xb, _0x5cb202 = orderOne[3]) : confirmationButton.match(/Святилище предков/i) ? (_0x530d0f = 0xc, _0x5cb202 = orderOne[0xb]) : confirmationButton.match(/Потерянный Легион/i) && (_0x530d0f = 0xd, _0x5cb202 = orderOne[0xf]), sessionStorage.exitCmd = _0x5cb202, 6 <= _0x530d0f && (_0x5cd1e0 = true), _0x1d6422 = '', targetSplit = true, ReadMessage = _0x386f46 = false, _0xf73b4f = _0xb14853, 1 == sessionStorage.bossIS && (ironStrikes[Number(sessionStorage.locScrolls) - 1] = 1), 0 == sessionStorage.bossIS && (ironStrikes[Number(sessionStorage.locScrolls) - 1] = 0), _0x45321b = '', _0x45321b = SetDrinkButlle_B[_0x530d0f - 6], 0x4 >= _0x530d0f && (_0x45321b = SetDrinkButlle[8]), 0xd == _0x530d0f && (_0x45321b = SetDrinkButlle_B[9]), 0xc == _0x530d0f && (_0x1da492.match(/great_bers/) && (_0x45321b = SetDrinkButlle_B[6]), _0x1da492.match(/great_goli/) && (_0x45321b = SetDrinkButlle_B[0x7]), _0x1da492.match(/great_atl/) && (_0x45321b = SetDrinkButlle_B[8])), _0x5b8987 = _0x4a25c5(_0x45321b), pageContent.match(/(вас|тебя) убил дракон/i) && '' != ch && click(ch, 0x1388), _0x530d0f != sessionStorage.goToBoss || _0x43b894 || _0x571b32 || sessionStorage.removeItem('goToBoss'), !_0x5cd1e0 || _0x366f19 || _0x31c51f || '' == ch || _0x2e93e4 || !pageContent.match('Начать бой может') || click(ch, _0x19a2b5), _0x580121(GoBoss[0x5]) && 0x7 == _0x530d0f && 1 == Number(_0x15fd46[0]) + Number(_0x15fd46[1]) ? _0xa5a114 = true : _0x580121(GoBoss[6]) && 0xb == _0x530d0f && 1 == Number(_0x15fd46[0]) + Number(_0x15fd46[1]) && (_0x2a0057 = true), !_0x366f19 && !_0x31c51f && 1 < Number(_0x15fd46[0]) + Number(_0x15fd46[1]) && (_0x580121(GoBoss[0x5]) && 0x7 == _0x530d0f || _0x580121(GoBoss[6]) && 0xb == _0x530d0f) && (_0x1afc50[_0x530d0f] = baseTime + _0x5705b9(0x12c, 0x2bc) + 'нет', click(naGlavnuy, _0x19a2b5, 0)), (_0x31c51f || _0x397657) && 0 == _0x15fd46[0] && click(naGlavnuy, timeout), pageContent.match(/(\d+)% (\d+) (\d+) /) && (cavepanel = /(\d+)% (\d+) (\d+) /.exec(pageContent)), pageContent.match(/(\d+)% (\d+) (\d+) (\d+):(\d+)/) && (cavepanel = /(\d+)% (\d+) (\d+) (\d+):(\d+)/.exec(pageContent), 1 > Number(cavepanel[0x4]) && (3 > Number(cavepanel[0x5]) && !confirmationButton.match(/Святилище предков/) && (_0x538236 = ''), 8 > Number(cavepanel[0x5]) && confirmationButton.match(/Святилище предков/) && (_0x21d150 = true))), confirmationButton.match(/Каменный тролль|Святилище предков|Дракон (\d+) ур/i) && pageContent.match(/(\d+)% ?(\d+)% ?(\d+) ?(\d+) ?(\d+):(\d+)/) && (_0x45321b = /(\d+)% ?(\d+)% ?(\d+) ?(\d+) ?(\d+):(\d+)/.exec(pageContent), _0x315f0e = Number(_0x45321b[0x2])), confirmationButton.match(/Потерянный Легион/i) && pageContent.match(/(\d+)% ?(\d+)% ?(\d+) ?(\d+)% ?(\d+)% ?(\d+) ?(\d+) ?(\d+):(\d+)/) && (_0x45321b = /(\d+)% ?(\d+)% ?(\d+) ?(\d+)% ?(\d+)% ?(\d+) ?(\d+) ?(\d+):(\d+)/.exec(pageContent), _0x275751 = Number(_0x45321b[0x2])), confirmationButton.match(/Каменный тролль/i) && _0x2cb347 && 0x32 < _0x315f0e && (_0x509186 = _0x3c5189 = ''), _0x580121(SetBattleS[0]) && 0x1c <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && /14|20/.test(_0x3f3716[1]) && ('' != _0x942041 && click(_0x942041, timeout), sessionStorage.removeItem('goToBoss'), _0x530d0f = -1, action || click(naGlavnuy, timeout));else { if (confirmationButton.match(/Пуст(ой|ая) |кладбище /i) || pageContent.match(/Вход закрыт. Откроется через ?(\d+):(\d+):(\d+)/i)) { _0x15d34d = _0x319ef3 = true, _0x502d60 = false, _0x45321b = RegExp(' через (\\d+):(\\d+):(\\d+)', 'i'); if (_0x45321b.test(pageContent) && 0 <= _0x530d0f) { _0x1afc50[_0x530d0f] = _0x58fa79(_0x45321b.exec(pageContent)) + baseTime; if (pageContent.match(/Все воины убиты|Все мертвы/i)) _0x580121(GoBoss[0x5]) && 0x7 == _0x530d0f ? (raidTimer[0x2f]++, raidTimer[0x2f] < gMBT[0] ? _0x1afc50[0x7] = baseTime + 0x3c * gMBT[1] + _0x5705b9(0x64, 0x96) + 'нет' : (raidTimer[0x2f] = 0, _0x1afc50[0x7] = baseTime + 0x3c * gMBT[0x2] + _0x5705b9(0x64, 0x96) + 'нет')) : _0x580121(GoBoss[6]) && 0xb == _0x530d0f ? (raidTimer[0x3a]++, raidTimer[0x3a] < gVBT[0] ? _0x1afc50[0xb] = baseTime + 0x3c * gVBT[1] + _0x5705b9(0x64, 0x96) + 'нет' : (raidTimer[0x3a] = 0, _0x1afc50[0xb] = baseTime + 0x3c * gVBT[0x2] + _0x5705b9(0x64, 0x96) + 'нет')) : 0x7 <= _0x530d0f && _0x580121(GoBossClan[_0x530d0f - 0x7]) ? (_0x38925b[_0x530d0f - 0x7]++, _0x38925b[_0x530d0f - 0x7] < _0x4c276f[_0x530d0f - 0x7][0] ? _0x1afc50[_0x530d0f] = baseTime + 0x3c * _0x4c276f[_0x530d0f - 0x7][1] + 'нет' : (_0x38925b[_0x530d0f - 0x7] = 0, _0x1afc50[_0x530d0f] = baseTime + 0x3c * _0x4c276f[_0x530d0f - 0x7][0x2] + 'нет'), sessionStorage.removeItem('goToBoss'), click(naGlavnuy, timeout), sessionStorage.dungeons = _0x1afc50) : _0x1afc50[_0x530d0f] += 'нет';else { if (0x7 <= _0x530d0f && 1 == sendLootBoss[_0x530d0f - 0x7] && pageContent.match(/ты получил(а)?/i) && pageContent.match(/\(время \d+:\d+/i)) { sessionStorage.removeItem('dung_prize'), sessionStorage.removeItem('dung_prize_switch'), sessionStorage.removeItem('forumLootTopic'), zz2 = [], zz3 = [], zz3.push(_0x529095[_0x530d0f]), zz3.push(''); for (_0x45321b = 0; _0x45321b < _ref.length; _0x45321b++) _0x5602d8 = _ref[_0x45321b].href, _0x5602d8.match(/item\/id/) && (_0x1ee22a = parseInt(_0x5602d8.replace(/(.|\n)+item\/id\//i, '').trim()), zz2.push(_0x1ee22a), zz3.push(_ref[_0x45321b].textContent)); sessionStorage.dung_prize = zz2, pty_list = response.replace(/(.|\n)+Пещеры и драконы/i, '').trim(), pty_list = pty_list.replace(/\(время \d+:\d+(.|\s|\n)+/i, ''), pty_list = pty_list.replace(/\d+/gim, ''), pty_list = pty_list.replace(/-|\+/gim, ''), pty_list = pty_list.replace(/\n{2}/g, '\n'), pty_list = pty_list.replace(/\n{2,}/g, ''), pty_list = pty_list.replace(/(\r|\f|\t|\v)/g, ''), pty_list = pty_list.replace(/\: (.+)\n/g, ','), pty_list = pty_list.replace(/^(.)+\n/gim, ''), _0x11ab91 = pty_list.split(','), _0x11ab91.pop(); for (_0x45321b = 0; _0x45321b < _0x11ab91.length; _0x45321b++) _0x11ab91[_0x45321b] = _0x11ab91[_0x45321b].trim(); _0x1ee22a = [], _0x5602d8 = [], _0x1ee22a = localStorage[_0x4eef8d[_0x530d0f - 0x7]].split(','); for (_0x45321b = 0; _0x45321b < _0x11ab91.length; _0x45321b++) { qbda = false; for (_0x381e48 = 0; _0x381e48 < _0x1ee22a.length; _0x381e48++) _0x1ee22a[_0x381e48].split(':')[0] == _0x11ab91[_0x45321b] && (_0x1ee22a.splice(_0x381e48, 1, _0x1ee22a[_0x381e48].split(':')[0] + ':' + Number(Number(_0x1ee22a[_0x381e48].split(':')[1]) + 1)), qbda = true, _0x405eeb[_0x530d0f - 0x7].match(_0x11ab91[_0x45321b]) || (_0x5602d8[_0x5602d8.length] = _0x1ee22a[_0x381e48])); qbda || (_0x1ee22a[_0x1ee22a.length] = _0x11ab91[_0x45321b] + ':1', _0x405eeb[_0x530d0f - 0x7].match(_0x11ab91[_0x45321b]) || (_0x5602d8[_0x5602d8.length] = _0x11ab91[_0x45321b] + ':1')); } _0x5602d8.sort(function (_0x1b256e, _0x2f9ce9) { return a1 = _0x1b256e.split(':')[1], b1 = _0x2f9ce9.split(':')[1], b1 - a1; }), _0x11ab91 = _0x1ee22a[_0x1ee22a.indexOf(_0x5602d8[0])].split(':')[0], _0x1ee22a.splice(_0x1ee22a.indexOf(_0x5602d8[0]), 1, _0x1ee22a[_0x1ee22a.indexOf(_0x5602d8[0])].split(':')[0] + ':0'), localStorage[_0x4eef8d[_0x530d0f - 0x7]] = _0x1ee22a, zz3.push(''), zz3.push('Получил:'), zz3.push(_0x11ab91), zz3.push(''), zz3.push('очередь:'), zz3 = zz3.concat(_0x5602d8), sessionStorage.dung_prize_switch = zz3, '' != _0x579264[_0x530d0f - 0x7] && (sessionStorage.forumLootTopic = _0x579264[_0x530d0f - 0x7]); if (_0x11ab91 != _0x1c48df) { for (_0x45321b = 0; _0x45321b < _ref.length; _0x45321b++) if (_ref[_0x45321b].textContent == _0x11ab91) { send_to = parseInt(_ref[_0x45321b].href.replace(/(.|\n)+user\/id\//i, '').trim()); break; } click('/user/mail/send/id/' + send_to, timeout); } } } /нет/.test(_0x1afc50[_0x530d0f]) || (sessionStorage.notify1 = 0), sessionStorage.goToBoss == _0x530d0f && sessionStorage.removeItem('goToBoss'), _0x530d0f = -1; } else { if (_0x45321b.test(pageContent) && pageContent.match(/вход закрыт/i)) { for (_0x1ee22a = 0; _0x1ee22a < _0x5d72ca.length; _0x1ee22a++) location.href.match(_0x5d72ca[_0x1ee22a]) && _0x45321b.test(pageContent) && (_0x1afc50[_0x1ee22a] = _0x58fa79(_0x45321b.exec(pageContent)) + baseTime + 'нет', _0x530d0f = -1, sessionStorage.removeItem('goToBoss')); } } undefined != sessionStorage.goToBoss && 0 == _0x1afc50[sessionStorage.goToBoss] && '' != _0x55f874 && click(naGlavnuy, timeout); } else { if (_0x156e4f) { sessionStorage.ironAS = 0, sessionStorage.removeItem('dobivatTerr'), sessionStorage.removeItem('get_dar_glad'), sessionStorage.forceTerrDodge = 0, sessionStorage.removeItem('turnirIS'), sessionStorage.removeItem('bossIS'), sessionStorage.removeItem('turnirDar'), _0x530d0f = -1, raidTimer[0x34] = 0, sessionStorage.lastLine = '', sessionStorage.misObelisk = 1, sessionStorage.misLok = 0, sessionStorage.rl2 = 0, sessionStorage.ll2 = 0, sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, sessionStorage.removeItem('lastCommand'), sessionStorage.bloodcrazy = 0, enableRunesEngrave && 1 == localStorage.engraveRunes && click('/trade/runes', timeout), !(undefined == sessionStorage.goToBoss || 6 > sessionStorage.goToBoss || 0x7 == sessionStorage.goToBoss && _0x580121(GoBoss[0x5]) || 0xb == sessionStorage.goToBoss && _0x580121(GoBoss[6]) || 6 < sessionStorage.goToBoss && _0x580121(GoBossClan[sessionStorage.goToBoss - 0x7])) || _0x502d60 || _0x50759f || 0 != sessionStorage.goToChat || (_0x580121(SetBattleS[0x2]) && _0x2ccb63 && '' != _0x1cb6af ? click(_0x1cb6af, timeout) : _0x580121(SetBattleS[1]) && _0x5822be && '' != _0x1a4fff && 1 != raidTimer[0x4] && (undefined != sessionStorage.forceBG || 0 == localStorage.newDay_bg || 1 == localStorage.newDay_bg && Number(localStorage.bgCnt) < bgCnt) && _0x3f3716[1] >= bgTime ? click(_0x1a4fff, timeout) : _0x580121(SetBattleS[6]) && 1 != raidTimer[9] && _0x52afff && '' != _0x2ccd60 ? click(_0x2ccd60, _0x19a2b5) : _0x580121(SetBattleS[0x7]) && 1 != raidTimer[9] && _0x3fd865 && '' != _0x57a4b6 ? click(_0x57a4b6, _0x19a2b5) : _0x580121(SetBattleS[0xd]) && 1 != raidTimer[9] && _0x39f5b9 && '' != _0x2dbbc7 ? click(_0x2dbbc7, _0x19a2b5) : _0x580121(SetBattleS[0x4]) && _0x4f206d && '' != _0x2593c8 ? (_0x104bc4 = 6, _0x535697(), click(_0x2593c8, timeout)) : _0x580121(SetBattleS[0x5]) && _0xe56644 && '' != _0x28a021 && click(_0x28a021, _0x19a2b5) || _0x580121(SetBattleS[0xe]) && _0x525c11 && '' != _0x23f940 && click(_0x23f940, _0x19a2b5)), '' == _0x145d8b && (raidTimer[0x24] = baseTime + RAID_TIMER_OFFSET); if ('' == _0x27a88e) { for (_0x45321b = 0; _0x45321b < _0x3f0eec.length; _0x45321b++) _0x48c305[_0x45321b] = baseTime + _0x5705b9(0x251c, 0x2710), _0x1febf6[_0x45321b] = 'gray_castle.png', sessionStorage.castle_state = _0x1febf6, sessionStorage.castle_time = _0x48c305; } TakeWellGift && 1 == localStorage.wellofwishing && 0x14 <= _0x32be4d && '' != _0x4f3715 && click(_0x4f3715, timeout), _0x31f69d && click('/guild/altar', _0x19a2b5), _0x45321b = /Поход \((\d+д.)? ?(\d+ч.)? ?(\d+мин.)? ?(\d+сек.)?\)/i; if (_0x45321b.test(pageContent)) { _0x4cee8d[9] = 0, _0x1ee22a = _0x45321b.exec(pageContent); for (_0x45321b = 1; 0x5 > _0x45321b; _0x45321b++) undefined != _0x1ee22a[_0x45321b] && (1 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x1ee22a[_0x45321b]))), 0x2 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x1ee22a[_0x45321b]))), 3 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(0x3c * /\d+/.exec(_0x1ee22a[_0x45321b]))), 0x4 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(/\d+/.exec(_0x1ee22a[_0x45321b])))); _0x4cee8d[9] = Number(_0x4cee8d[9]) + baseTime; } pageContent.match(/необходимо выбрать собственный ник/) && (localStorage.on_off = 'off', alert('пройдите регистрацию!')), pageContent.match(/(лья|ли) откроются через/) && (_0x45321b = RegExp('Подземелья откроются через (\\d+)ч. (\\d+)мин.', 'i'), _0x1ee22a = RegExp('Подземелья откроются через (\\d+)мин.', 'i'), _0x45321b.test(pageContent) && (_0x460186[0] = RAID_TIMER_OFFSET * _0x45321b.exec(pageContent)[1] + 0x3c * _0x45321b.exec(pageContent)[0x2] + (baseTime + 0x3c)), _0x1ee22a.test(pageContent) && (_0x460186[0] = 0x3c * _0x1ee22a.exec(pageContent)[1] + (baseTime + 0x3c)), _0x45321b = RegExp('Дуэли откроются через (\\d+)ч. (\\d+)мин.', 'i'), _0x1ee22a = RegExp('Дуэли откроются через (\\d+)мин.', 'i'), _0x45321b.test(pageContent) && (_0x460186[1] = RAID_TIMER_OFFSET * _0x45321b.exec(pageContent)[1] + 0x3c * _0x45321b.exec(pageContent)[0x2] + (baseTime + 0x3c)), _0x1ee22a.test(pageContent) && (_0x460186[1] = 0x3c * _0x1ee22a.exec(pageContent)[1] + (baseTime + 0x3c))), _0x237da9 || pageContent.match(/лья откроются через/) ? '' != _0x237da9 && (_0x460186[0] = 0) : _0x460186[0] = 0x151bc, _0x23dc3d || pageContent.match(/ли откроются через/) ? '' != _0x23dc3d && (_0x460186[1] = 0) : _0x460186[1] = 0x151bc, sessionStorage.dung2 = _0x460186; } else { if (confirmationButton.match(/Вход закрыт/i)) pageContent.match(/Вход на арену временно закрыт./i) && 0 == raidTimer[0x23] ? (raidTimer[0x25] = 0, raidTimer[0x23] = baseTime + 0x708, click(naGlavnuy, _0x19a2b5)) : pageContent.match(/Вход на арену временно закрыт./i) && 0 != raidTimer[0x23] ? (raidTimer[0x25] = 0, click(naGlavnuy, _0x19a2b5)) : pageContent.match(/Вход на выживание временно закрыт./i) && 0 == raidTimer[0x24] ? (raidTimer[0x25] = 0, raidTimer[0x24] = baseTime + 0x708, click(naGlavnuy, _0x19a2b5)) : pageContent.match(/Вход на выживание временно закрыт./i) && 0 != raidTimer[0x24] ? (raidTimer[0x25] = 0, click(naGlavnuy, _0x19a2b5)) : pageContent.match(/Ты подвëл свою сторону/) && pageContent.match(/Доступ на Битву героев закрыт/) ? (raidTimer[9] = 0, click(naGlavnuy, _0x19a2b5)) : pageContent.match(/Бой начался, /i) ? (0x7 <= sessionStorage.goToBoss && _0x580121(GoBossClan[sessionStorage.goToBoss - 0x7]) ? _0x1afc50[sessionStorage.goToBoss] = baseTime + _0x5705b9(0xc8, 0x1f4) + 'нет' : _0x1afc50[sessionStorage.goToBoss] = 6 <= sessionStorage.goToBoss ? baseTime + _0x5705b9(0xc8, 0x1f4) : baseTime + _0x5705b9(0x7d0, 0x1388), sessionStorage.removeItem('goToBoss'), click(naGlavnuy, _0x2dd3ad)) : pageContent.match(/разрешен только членам кланов|Вам не хватило места/i) ? (sessionStorage.removeItem('goToBoss'), click(naGlavnuy, _0x2dd3ad)) : pageContent.match(/Вход в/) && pageContent.match(/разрешен с/) && pageContent.match(/уровня/) ? (sessionStorage.removeItem('goToBoss'), click(naGlavnuy, _0x2dd3ad)) : pageContent.match(/Война за территории доступна только для клановых игроков|Набег начался, (Ты|Вы) не успел(и|а)?|После выхода из альянса|Набеги на территори. могут совершать только кланы и альянсы/i) && (sessionStorage.bloodcrazy = 0, sessionStorage.removeItem('territory'), sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2'));else { if (confirmationButton.match('Поход')) { _0x2c17d2 = true, sessionStorage.ironAS = 0, sessionStorage.removeItem('dobivatTerr'), sessionStorage.removeItem('get_dar_glad'), sessionStorage.forceTerrDodge = 0, sessionStorage.removeItem('turnirIS'), sessionStorage.removeItem('bossIS'), sessionStorage.removeItem('turnirDar'), _0x530d0f = -1, raidTimer[0x34] = 0, sessionStorage.lastLine = '', sessionStorage.misObelisk = 1, sessionStorage.misLok = 0, sessionStorage.rl2 = 0, sessionStorage.ll2 = 0, sessionStorage.ll3 = 0, sessionStorage.cl3 = 0, sessionStorage.rl3 = 0, sessionStorage.removeItem('lastCommand'), sessionStorage.bloodcrazy = 0, _0x45321b = /Будет активен: (\d+д. )?(\d+ч. )?(\d+мин. )?(\d+сек.)?/i; if (_0x45321b.test(pageContent)) { _0x4cee8d[9] = 0, _0x1ee22a = _0x45321b.exec(pageContent); for (_0x45321b = 1; 0x5 > _0x45321b; _0x45321b++) undefined != _0x1ee22a[_0x45321b] && (1 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x1ee22a[_0x45321b]))), 0x2 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x1ee22a[_0x45321b]))), 3 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(0x3c * /\d+/.exec(_0x1ee22a[_0x45321b]))), 0x4 == _0x45321b && (_0x4cee8d[9] = Number(_0x4cee8d[9]) + Number(/\d+/.exec(_0x1ee22a[_0x45321b])))); _0x4cee8d[9] = Number(_0x4cee8d[9]) + baseTime; } pageContent.match(/Не Активно/) && (_0x4cee8d[9] = 0), _0x4cee8d[9] <= 0x708 + baseTime && (0 == autoJourney && 0 == _0x4cee8d[9] ? click(naGlavnuy, timeout) : (1 == autoJourney || 0x2 == autoJourney && 1 == raidTimer[0x22]) && 0x3e8 <= sessionStorage.currentMoney && (!pin && 0 == _0x4cee8d[9] || '' != pin && _0x4cee8d[9] <= 0x708 + baseTime) && '' != _0xdc4c77 ? click(_0xdc4c77, timeout) : (1 == autoJourney || 0x2 == autoJourney && 1 == raidTimer[0x22]) && 0x3e8 <= sessionStorage.currentMoney && _0x4cee8d[9] <= 0x708 + baseTime && !pin && click('/journey', timeout)); } else { if (confirmationButton.match(/Дуэл(ь|и)/i)) _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5(SetDrinkButlle[0xe]), _0x45c64b = true, user = '', !pageContent.match(/победа|поражение/i) || _0x366f19 || _0x42f096 || (pageContent.match(/железа/i) && (localStorage.newDay_duelIr = 1), pageContent.match(/железа/i) || 1 != localStorage.newDay_duelIr || (localStorage.newDay_duel = 1), '' != _0x215b49 && click(_0x215b49, timeout, 1), _0x215b49 || '' == naGlavnuy || click(naGlavnuy, timeout));else { if (location.href.match(/ogredungeon/) || _0x1da492.match(/damageOgreLink|icons\/ogres\//)) _0x319ef3 = true, ReadMessage = false, _0x5b8987 = _0x4a25c5('0'), _0x45c64b = true, user = '', _0x26a67d = false, !pageContent.match(/победа|поражение/i) || _0x366f19 || _0x42f096 || ('' != _0x215b49 && click(_0x215b49, timeout, 1), _0x215b49 || '' == naGlavnuy || click(naGlavnuy, timeout));else { if (confirmationButton.match(/(Личные|Клановые) Испытания|Вульфгар|Торбьёрн|Рагнар/i)) { _0x319ef3 = true, ReadMessage = false, _0x499300 = true, goTrials || click(naGlavnuy, timeout), pageContent.match(/Твой персонаж погиб/i) && '' != ch && click(ch, 0x1388), confirmationButton.match(/Вульфгар/i) ? (raidTimer[0x35] = 0, _0x5b8987 = _0x4a25c5(SetDrinkButlle[_0x1072f2 + 0]), '' != _0x3da2f1 && (raidTimer[0x34]++, raidTimer[0x34] >= trials_gMBT[0] ? (click(naGlavnuy, timeout), raidTimer[0x33] = baseTime + 0x3c * trials_gMBT[1]) : click(_0x3da2f1, _0x19a2b5))) : confirmationButton.match(/Торбьёрн/i) ? (raidTimer[0x35] = 0, _0x5b8987 = _0x4a25c5(SetDrinkButlle[_0x1072f2 + 1]), '' != _0x3da2f1 && (raidTimer[0x34]++, raidTimer[0x34] >= trials_gMBT[0] ? (click(naGlavnuy, timeout), raidTimer[0x33] = baseTime + 0x3c * trials_gMBT[1]) : click(_0x3da2f1, _0x19a2b5))) : confirmationButton.match(/Рагнар/i) && (raidTimer[0x35] = 0, _0x5b8987 = _0x4a25c5(SetDrinkButlle[_0x1072f2 + 0x2]), '' != _0x3da2f1 && (raidTimer[0x34]++, raidTimer[0x34] >= trials_gMBT[0] ? (click(naGlavnuy, timeout), raidTimer[0x33] = baseTime + 0x3c * trials_gMBT[1]) : click(_0x3da2f1, _0x19a2b5))), confirmationButton.match(/Личные Испытания/i) && (sessionStorage.removeItem('trialCh'), pageContent.match(/Испытание. Вульфгар/) && (_0x104bc4 = 8, _0x535697()), pageContent.match(/Испытание. Торбьёрн/) && (_0x104bc4 = 9, _0x535697()), pageContent.match(/Испытание. Рагнар/) && (_0x104bc4 = 0xa, _0x535697()), action || '' == _0x14d4fc || click(_0x14d4fc, _0x19a2b5, 1), action || '' == _0x157f49 || (click(_0x157f49, _0x19a2b5, 1), raidTimer[0x34] = 0), sessionStorage.trialTh = 1); if (confirmationButton.match(/Клановые Испытания/i)) { _0x45321b = /Сложность: (Легко|Обычно|Сложно|Ужасно)/i, pageContent.match(_0x45321b) && (sessionStorage.trialSk = pageContent.match(_0x45321b)[1]), _0x366f19 || _0x31c51f || (0 == raidTimer[0x35] ? raidTimer[0x35] = baseTime + 0x3c * tETimer : raidTimer[0x35] <= baseTime && (raidTimer[0x35] = 0, sessionStorage.removeItem('trialCh'), sessionStorage.removeItem('trialTh'), sessionStorage.removeItem('trialSk'), click(naGlavnuy, timeout))), _0x45321b = /Личные испытания откроются через:( \d+д.)?( \d+ч.)?( \d+мин.)?( \d+сек.)?/i; if (_0x45321b.test(pageContent)) { _0x1ee22a = _0x45321b.exec(pageContent), _0x5602d8 = 0; for (_0x45321b = 1; 0x5 > _0x45321b; _0x45321b++) undefined != _0x1ee22a[_0x45321b] && (1 == _0x45321b && (_0x5602d8 += RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x1ee22a[_0x45321b])), 0x2 == _0x45321b && (_0x5602d8 += Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x1ee22a[_0x45321b]))), 3 == _0x45321b && (_0x5602d8 += Number(0x3c * /\d+/.exec(_0x1ee22a[_0x45321b]))), 0x4 == _0x45321b && (_0x5602d8 += Number(/\d+/.exec(_0x1ee22a[_0x45321b])))); raidTimer[0x33] = _0x5602d8 + baseTime + _0x5705b9(0x258, 0x8ca0); } '' != ch && (pageContent.match(/Испытание. Вульфгар/) && (_0x104bc4 = 0xb, _0x535697()), pageContent.match(/Испытание. Торбьёрн/) && (_0x104bc4 = 0xc, _0x535697()), pageContent.match(/Испытание. Рагнар/) && (_0x104bc4 = 0xd, _0x535697())), sessionStorage.trialTh = 0x2; } '' != _0x260b61 && (click(_0x260b61, timeout), raidTimer[0x34] = 0); } else { if (confirmationButton.match(/Хозяин рун/i)) { debugger; if (enableRunesEngrave) { _0x45321b = localStorage.engravedRunes.split(','); if (pageContent.match(/Какую вещь хочешь улучшить?/)) { for (z = 0; z < _0x5c7030.length; z++) if (_0x11ab91 = _0x124d7d(_0x5c7030[z].textContent), !action && !_0x11ab91.match('Какую вещь хочешь улучшить?') && undefined != _0x5c7030[z].querySelectorAll('a')[0] && _0x5c7030[z].querySelectorAll('a')[0].href.match('/item/id/') && undefined != _0x5c7030[z].querySelectorAll('a')[1]) { _0x381e48 = 0, _0x1ee22a = _0x2918c4(_0x11ab91), _0x32a127 = _0x11ab91.match(/\((\d+) шт\./), null != _0x32a127 && (_0x381e48 = Number(_0x32a127[1])); if (!_0x11ab91.match(/\(есть /) || _0x381e48 >= allowItemEngrave[_0x1ee22a]) _0x45321b[_0x1ee22a] = 1; 0 == _0x45321b[_0x1ee22a] && click(_0x5c7030[z].querySelectorAll('a')[1], timeout); } action || (localStorage.engraveRunes = 0, click(naGlavnuy, timeout)); } else { _0x1ee22a = _0x2918c4(pageContent), _0x32a127 = pageContent.match(/Руны: \+\d+(\.\d%)? (силы|здоровья|энергии|брони|регенерации|исцеления|живучести|участия|стойкости|урона) \((\d+) шт\./), _0x5602d8 = -1, _0x381e48 = 0, null != _0x32a127 && (_0x5602d8 = _0x2918c4('руна ' + _0x32a127[0x2]) - 0x1e, _0x381e48 = Number(_0x32a127[3])); if (_0x381e48 >= allowItemEngrave[_0x1ee22a] || pageContent.match(/В твоём рюкзаке не удалось найти подходящую руну/)) _0x45321b[_0x1ee22a] = 1; if (0 == _0x45321b[_0x1ee22a]) { for (_0x381e48 = 1; 0x7 > _0x381e48; _0x381e48++) for (z = 0; z < _0x5c7030.length; z++) _0x11ab91 = _0x124d7d(_0x5c7030[z].textContent), action || _0x11ab91.match('Выбери ниже руну:') || undefined == _0x5c7030[z].querySelectorAll('a')[0] || !_0x5c7030[z].querySelectorAll('a')[0].href.match('/item/id/') || undefined == _0x5c7030[z].querySelectorAll('a')[1] || (_0x11ab91 = _0x2918c4(_0x11ab91) - 0x1e, _0x32a127 = _0x239db4(_0x5c7030[z].innerHTML), _0x32a127 == _0x381e48 && itmRunes[_0x1ee22a][_0x5602d8 + 1][_0x11ab91] >= _0x32a127 && click(_0x5c7030[z].querySelectorAll('a')[1], timeout)); } action || (_0x45321b[_0x1ee22a] = 1, click('/trade/runes', timeout)); } localStorage.engravedRunes = _0x45321b; } } } } } } } } } } } } } } } function _0x2b949c() { if (!_0x319ef3 && !targetSplit && SetUstalost && confirmationButton.match(/Мой герой|Усталость/i) && /(\d+):(\d+)/.test(SetTireMaxt) && /(\d+):(\d+)/.test(SetTireMint)) { const _0x3db14f = /(\d+):(\d+)/.exec(SetTireMaxt), _0x3db14f = RAID_TIMER_OFFSET * _0x3db14f[1] + 0x3c * _0x3db14f[0x2], _0x48e751 = /(\d+):(\d+)/.exec(SetTireMint), _0x48e751 = RAID_TIMER_OFFSET * _0x48e751[1] + 0x3c * _0x48e751[0x2]; _0x3db14f >= _0x54ca18 && _0x48e751 <= _0x54ca18 && ('' != _0xb0f0e8 && 0x1f4 <= Number(sessionStorage.currentMoney) && confirmationButton.match('Мой герой') && 0 == raidTimer[0x14] && Number(sessionStorage.ustal) >= Number(Ishak) && click(_0xb0f0e8, timeout), '' != _0x268c3d && confirmationButton.match(/Усталость/i) && Number(sessionStorage.ustal) >= Number(Ishak) && (raidTimer[0x14] = baseTime + _0x5705b9(CDTperehodl_[0], CDTperehodl_[1]), click(_0x268c3d, timeout))); } } function _0x45a514() { if (confirmationButton.match('Арена|Выживание')) { if (pageContent.match(/Твой герой погиб, жди окончания боя/i) ) { click(naGlavnuy, timeout); } } if (confirmationButton.match(/Мифический дракон|Долина великанов|Каменный тролль|Храм Немезиды|Трофейный дракон|Обитель Зодиака|Святилище предков|Потерянный Легион|Башня Феникса/i)&&pageContent.match(/Зайти в алтарь/i)) click(user, timeout); if (profionoff && confirmationButton.match(/Арена|финала|финал|Отборочный (тур|раунд)/i)) { if (pageContent.match('включил щит отражения|включил энергетический щит') && !pageContent.match('Ты включил щит отражения|Ты включил энергетический щит')) { click(attack_shield,_0x2dd3sa); } } if(_0x50759f!= '' && !confirmationButton.match(/Достижения/i) && _0x50759f) click(_0x50759f, _0x19a2b5, 1); if (metkaonoff) sessionStorage.target_metka = _0x1e8e30, click(_0x223a3d, _0x555f40 + _0x19a2b5, 0); _0x499300 || (raidTimer[0x35] = 0, sessionStorage.removeItem('trialTh'), sessionStorage.removeItem('trialSk')), confirmationButton.match(/^Территория$/) && '' != _0x5bf9af && (_0x5bf9af = ''), pageContent.match(/(Ты|Вы|Твой)( персонаж)? заходил(и|а)? в битву и не сражал(ись|ась|ся) на полях|вход на поля для тебя закрыт/i) && (raidTimer[0x4] = 1), (done() && !confirmationButton.match(/Рюкзак|Сундук|Почта|Территория|Активация|подтверждение/) || _0x594bde) && 0 == raidTimer[0x3d] && user && click(user, _0x19a2b5); if (!action && _0x96daa3 === 0) raidTimer[0x46] = baseTime + 360; if (!action && 0 == raidTimer[0x46]) sessionStorage.Check_Quests = 'yes', isValidTimeForTasks(); _0xc7897d(); !action && pageContent.match(/На витрине нет места/i) && (sessionStorage.sendClanItems_vitrinaIsFull = '!', click('/user/mail/send/id/' + sendClanItems_PCid, timeout)), '' == _0x4d937f || confirmationButton.match(/Рюкзак|Сундук/) || click(_0x4d937f, _0x19a2b5), _0x1d6422 ? (_0x23c0bb && '' != sessionStorage.lastLine && (sessionStorage[sessionStorage.lastLine] = 0x2), 1 == raidTimer[0x2d] ? (click(user, _0x19a2b5), raidTimer[0x2d] = 0) : (_0x52b92e == timeout && (raidTimer[0x2d] = 1), click(_0x1d6422, _0x52b92e < _0x2dd3ad ? _0x52b92e + _0x19a2b5 : _0x2dd3ad), _0x594bde && _0x52b92e < _0x2dd3ad && localStorage.dead_towers++)) : raidTimer[0x2d] = 0, _0x29262b && !_0x5bf9af && (raidTimer[0x2c] = 0), '' != _0x50759f & scrivat && !confirmationButton.match(/Клан |Альянс|Мой герой|Активация/i) && _0x2c5928 && _0x5d4e41(), '' != _0x13bed5 && otklonyat && click(_0x13bed5, _0x19a2b5, 1), confirmationButton.match(/Слишком много/i) && pageContent.match(/Слишком много игроков с (твоего|вашего) IР/i) && alert(_0x207704 + ' Слишком много игроков с вашего IP'), confirmationButton.match(/Аккаунт заблокирован/i) && pageContent.match(/(Твой|Ваш) аккаунт заблокирован за нарушение правил игры/i) && alert(_0x207704 + ' Аккаунт заблокирован'), confirmationButton.match(/Ошибка|Срок жизни страницы истек/) && /barbars|варвары|46.4.4.56|br.spaces/.test(location.host) ? 1 == sessionStorage.goToChat ? click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.guild.chat.GuildChatPage', timeout) : '' != user ? click('/user', 0x3e8) : 0 != _0x4cee8d[9] ? click('/journey/0/1', timeout) : click(naGlavnuy, timeout) : confirmationButton.match('Слишком быстро') && (pageContent.match(/(Ты|Вы) попытал(ся|ась|ись) загрузить более/i) || pageContent.match(/Ты пытаешься загрузить более/i)) ? 1 == sessionStorage.goToChat ? click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.guild.chat.GuildChatPage', timeout) : '' != _0x5bf9af ? click(_0x5bf9af, timeout) : location.host.match(/static.barbars/i) ? click('javascript:history.go(-2)', 0x1f4) : click('/user', 0x1f4) : '' != _0x26dcce && 1 == sessionStorage.goToChat && (_0x281ada ? ('' != ch && click(ch, _0x5bb53a, 1), '' != fx && click(fx, _0x5bb53a, 1)) : click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.guild.chat.GuildChatPage', timeout)), _0x26dcce || (sessionStorage.goToChat = 0), user || confirmationButton.match(/Дуэл(ь|и)/i) || location.href.match(/ogredungeon/) || _0x1da492.match(/damageOgreLink/) || click('/user', _0x19a2b5), confirmationButton.match(/Битва за подарки/i) && '' != _0x5ae879 && click(_0x5ae879, timeout); sessionStorage.Check_Buff_Luck === 'no' && confirmationButton.match(/Колодец удачи/i) && (_0x3c190a ? 1 == TakeBookWellGift && '' != _0x247dc2 && (0 == bookWellTakeAttempts || bookWellTakeAttempts > localStorage.book) && !pageContent.match(/не хватает железа/i) ? (click(_0x247dc2, timeout), localStorage.book++) : 0x2 != TakeWellGift || '' == _0x236f47 || pageContent.match(/не хватает железа/i) ? '' != _0x3c190a && click(_0x3c190a, timeout) : click(_0x236f47, timeout) : (localStorage.wellofwishing = 0, click(naGlavnuy, timeout, 'ДА ДА ДА ДА'))); /(Твой|Ваш) уровень поднялся до (\d+)!/i.test(pageContent) && _0x32be4d != /(Твой|Ваш) уровень поднялся до (\d+)!/i.exec(pageContent)[1] && click(user, _0x19a2b5), !action && confirmationButton.match(/Турнир/i) && pageContent.match(/((Ты|Вы) не успел(и|а)? или не попал(и|а)? в состав (Твоей|Своей|Вашей) команды.|Просмотр боев доступен с|Сейчас идёт:)/i) && 0 == raidTimer[0x2b] ? (click(user, timeout), raidTimer[0x2b] = 1) : !action && confirmationButton.match(/Турнир/i) && pageContent.match(/((Ты|Вы) не успел(и|а)? или не попал(и|а)? в состав (Твоей|Своей|Вашей) команды.|Просмотр боев доступен с|Сейчас идёт:)/i) && 1 == raidTimer[0x2b] ? (click(naGlavnuy, timeout), raidTimer[0x2b] = 0) : confirmationButton.match(/мой герой/i) && !_0x5bf9af && 1 == raidTimer[0x2b] && (raidTimer[0x2b] = 0); if (!action && confirmationButton.match(/Авторазбор вещей/)) { const _0x2c26f6 = localStorage.autoCrackMode; 1 == _0x2c26f6 && '' != _0x15de50 ? click(_0x15de50, _0x19a2b5) : 0x2 == _0x2c26f6 && '' != crackUncommon ? click(crackUncommon, _0x19a2b5) : 3 == _0x2c26f6 && '' != crackRare ? click(crackRare, _0x19a2b5) : 0x4 == _0x2c26f6 && '' != crackEpic && click(crackEpic, _0x19a2b5); } action || Number(sessionStorage.toStone) == Number(sessionStorage.toSton) || 3 != raidTimer[0x2] || 0x2 != autoMode || (sessionStorage.toStone = sessionStorage.toSton, localStorage.autoCrackMode = 0); for (_0x2c26f6 = 0; _0x2c26f6 < _0x5aa39b.length; _0x2c26f6++) { const _0x39c460 = _0x124d7d(_0x5aa39b[_0x2c26f6].textContent); _0x39c460.match('не хватает золота|У тебя не хватает золота') && (raidTimer[0xb] = baseTime + _0x5705b9(0x3e8, 0x1388)), _0x39c460.match('не хватает железа') && (confirmationButton.match('Моё снаряжение') && 0x2 == raidTimer[0xa] ? click(user, 0xea60) : confirmationButton.match(/Цари Горы/i) ? sessionStorage.shit = carshit : raidTimer[0xc] = baseTime + _0x5705b9(0x3e8, 0x1388)), _0x39c460.match('В сундуке нет места') && (raidTimer[8] = 1), _0x39c460.match('Чтобы двигаться дальше, захватите башню') && (SetAttackTower = 0x2), _0x39c460.match(/Сюда можно только с|Для входа необходим/) && (click(user, timeout), raidTimer[0x5] = 1), _0x39c460.match('Переодеваться в бою нельзя') && '' != _0x5bf9af && click(_0x5bf9af, timeout, 1); if (confirmationButton.match(/Выставить на аукцион/i) && pageContent.match(/не хватает золота/i) && localStorage.iTs4 == 0) { localStorage.iTs4 = 1; click(user, timeout); } if (confirmationButton.match(/Колодец удачи/i) && pageContent.match(/У тебя не хватает железа/i) && localStorage.iTs6 == 0) { localStorage.iTs6 = 1; click(user, timeout); } } for (_0x2c26f6 = 0; _0x2c26f6 < _0x19f077.length; _0x2c26f6++) _0x39c460 = _0x124d7d(_0x19f077[_0x2c26f6].textContent), confirmationButton.match('Поля сражений') && !_0x366f19 && _0x39c460.match('Бои на полях сражений доступны') && (raidTimer[0x4] = 1, click(naGlavnuy, timeout)), confirmationButton.match('Арена') && !_0x366f19 && _0x39c460.match('Бои на арене доступны') && (raidTimer[6] = 1, click(naGlavnuy, timeout)), confirmationButton.match('Обитель Зодиака') && _0x39c460.match('00:') && (raidTimer[0x26] = 1), confirmationButton.match('Обитель Зодиака') && _0x39c460.match('01:') && (raidTimer[0x26] = 0); for (_0x2c26f6 = 0; _0x2c26f6 < _0xe57f42.length; _0x2c26f6++) _0x124d7d(_0xe57f42[_0x2c26f6].textContent).match('Твой уровень стал слишком высок для этой Башни') && (sessionStorage.removeItem('user1'), '' != _0x3ffd72 ? click(_0x3ffd72, timeout) : '' != _0x5ef483 ? click(_0x5ef483, timeout) : click(naGlavnuy, timeout)); _0x580121(SetBattleS[0]) && 0x14 <= _0x3f3716[0x2] && 0x26 >= _0x3f3716[0x2] && /14|20/.test(_0x3f3716[1]) && undefined == sessionStorage.territory && _0x156e4f && click(naGlavnuy, _0x2dd3ad); if (confirmationButton.match(/Битва героев|турнир/i) && !_0x366f19 && pageContent.match(/Для участия в (турнире|Битве героев) (требуется Алтарь|необходимо получить)/i) && undefined == sessionStorage.territory || !_0x366f19 && pageContent.match(/Доступ на (командные турниры|Битву героев) закрыт/i)) raidTimer[9] = 1, click(naGlavnuy, timeout); if (confirmationButton.match(/Территория/i) && pageContent.match(/Для участия в Территориях требуется Алтарь/i)) click(_0x855995, timeout); if (_0x319ef3 && '' != _0x12c6c6 && _0x29262b) (0 < Number(_0x12c6c6[0x2]) || 6 < Number(_0x12c6c6[3])) && confirmationButton.match(/Город Древних/i) ? click(naGlavnuy, timeout) : 0 == Number(_0x12c6c6[0x2]) && 0 <= Number(_0x12c6c6[3]) && _0x2dd3ad > 0x3e8 * Number(_0x12c6c6[0x4]) && '' != ch && (_0x2dd3ad = 0x3e8 * _0x12c6c6[0x4] + _0x19a2b5);else { if (_0x319ef3 && '' != _0x12c6c6 && !_0x29262b) 0 == _0x12c6c6[0x2] && 0 == _0x12c6c6[3] && _0x2dd3ad > 0x3e8 * Number(_0x12c6c6[0x4]) && '' != ch ? _0x2dd3ad = 0x3e8 * _0x12c6c6[0x4] + _0x19a2b5 : 0 == _0x12c6c6[0x2] && 1 < _0x12c6c6[3] && 0xa > _0x12c6c6[3] && '' != ch ? _0x2dd3ad = 0x3a98 + _0x19a2b5 : (0 != Number(_0x12c6c6[0x2]) || 0xa < Number(_0x12c6c6[3]) && 0x3b > Number(_0x12c6c6[3]) && !_0x23c0bb || 0x3b > Number(_0x12c6c6[3]) && Number(_0x12c6c6[3]) > timeBattles[1] && _0x23c0bb) && 0x37 >= Number(_0x12c6c6[0x4]) && click(naGlavnuy, timeout);else { if (_0x319ef3 && '' != _0xc3b320) { if (_0x5e9fcd && 0 == Number(_0xc3b320[1]) && 0 == Number(_0xc3b320[0x2]) && 0xf >= Number(_0xc3b320[3]) && ch && (_0x2dd3ad = _0x5705b9(0x3e8, 0x5dc)), 0 == Number(_0xc3b320[1]) && 0 == Number(_0xc3b320[0x2]) && _0x2dd3ad > 0x3e8 * Number(_0xc3b320[3]) && ch) _0x2dd3ad = 0x3e8 * _0xc3b320[3] + _0x19a2b5;else { if ((0 != Number(_0xc3b320[1]) || 6 < Number(_0xc3b320[0x2])) && 0x37 >= Number(_0xc3b320[3]) && _0x20717e && 0 != characterzdorovie && !pageContent.match(/Ты получил: Бонус замка/i) && 0xa > localStorage.buff) _0x2dd3ad = 0x3e8 + _0x19a2b5, localStorage.buff++;else { if ((0 != Number(_0xc3b320[1]) || 0xa < Number(_0xc3b320[0x2]) && 0x39 > Number(_0xc3b320[0x2])) && 0x1e >= Number(_0xc3b320[3])) { if (_0x20717e) for (_0x2c26f6 = 0; _0x2c26f6 < _0x3f0eec.length; _0x2c26f6++) { if (confirmationButton.match(_0x3f0eec[_0x2c26f6])) { _0x48c305[_0x2c26f6] = baseTime + _0x58fa79(_0xd06179.exec(_0xc3b320)), _0x1febf6[_0x2c26f6] = sessionStorage.iconCastle, sessionStorage.castle_state = _0x1febf6, sessionStorage.castle_time = _0x48c305; break; } } else _0x5e9fcd && (sessionStorage.bloodcrazy = 0, sessionStorage.removeItem('territory'), sessionStorage.removeItem('blockTerrRun1'), sessionStorage.removeItem('blockTerrRun2')); click(naGlavnuy, timeout), localStorage.buff = 0; } else 0 == _0xc3b320[1] && 1 < _0xc3b320[0x2] && 0xa > _0xc3b320[0x2] && '' != ch && (_0x2dd3ad = 0x3a98 + _0x19a2b5); } } } else _0x319ef3 && '' != _0x4b914b ? 0 == _0x4b914b[0x2] && _0x2dd3ad > 0x3e8 * _0x4b914b[3] && '' != ch && (_0x2dd3ad = 0x3e8 * _0x4b914b[3] + _0x19a2b5) : _0x319ef3 && '' != _0x32e30f && (_0x2dd3ad > 0x3e8 * _0x32e30f && (_0x2dd3ad = 0x3e8 * _0x32e30f + _0x19a2b5), raidTimer[0x1a] = 0, raidTimer[0x25] = 0, naGlavnuy = ''); } } action || !_0x319ef3 || _0x366f19 || _0x31c51f || !pageContent.match(/(Твой|Ваш) герой погиб и выбывает из турнира|(Твоя|Ваша) команда погибла и выбывает из турнира|твоя команда выбыла из турнира|Турнир завершился|Твой клан не собрал команду/i) ? _0x319ef3 && !_0x366f19 && !_0x31c51f && pageContent.match(/Цари Горы определены|Битва началась, Гора закрыта! (Ты|Вы) не успел(и|а)?/i) && (raidTimer[0x4] = 0, click(naGlavnuy, timeout)) : (sessionStorage.removeItem('callOfDagon'), click(naGlavnuy, timeout)); } function _0x11f093() { const _0x9b82a6 = Number(characterzdorovie + characterzdorovie), _0xc822ad = Number(characterEnergy + characterEnergy), _0x39b080 = _0x55ca73, _0x2e4d7d = _0x5705b9(0x3e8, 0x3e8); 1 == sessionStorage.perehod && (_0x39b080 = _0x5705b9(CDTperehodl_[0], CDTperehodl_[1])), _0x2cb347 && confirmationButton.match(/Храм Немезиды/i) && (0x4 == sessionStorage.atk && (0 < Set_HP_G && !_0x104889 && '' != _0x4cf970 && '' != _0x892402 || 0 < Set_HP_C && !_0x4cf970 && '' != _0x104889 && '' != _0x892402) || 0x5 == sessionStorage.atk && !_0x104889 && '' != _0x4cf970 && '' != _0x892402) && (sessionStorage.atk = 0), confirmationButton.match(/Долина Великанов/i) && 1 == sessionStorage.dheal && pageContent.match(/эпитер убит/i) && (sessionStorage.dheal = 0), '' == _0x42f096 && '' == _0x1d89c6 && ('' != _0x2f35a7 || '' != _0x72806e && 1 == sessionStorage.dheal || '' != _0x31c51f && (!_0x4fb4ad || 0 == sessionStorage.dheal || undefined == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e <= trol_shit)) && (_0x39b080 = _0x280a1d), _0x36f3f6 && (_0x39b080 = _0x5705b9(0x258, 0x3e8)), '' != _0x43b894 ? click(_0x43b894, timeout, 1) : '' != _0x571b32 ? click(_0x571b32, timeout, 1) : _0x580121(GoBoss[0x5]) && _0xa5a114 && !_0x366f19 && '' != _0x4e3e59 ? click(_0x4e3e59, timeout, 1) : _0x580121(GoBoss[6]) && _0x2a0057 && !_0x366f19 && '' != _0x4e3e59 ? click(_0x4e3e59, timeout, 1) : '' != _0x471fce ? click(_0x471fce, timeout, 1) : '' != ch && _0x281ada && 1 == sessionStorage.goToChat ? click(ch, _0x5bb53a, 1) : '' != fx && _0x281ada && 1 == sessionStorage.goToChat ? click(fx, _0x5bb53a, 1) : '' == ch || _0x281ada ? '' != _0x434b10 && _0x1e9137 < _0x39b080 - 0x12c && (1 == _0x4f5ee9 && Number((_0x11a56a * _0x5b8987).toFixed(0)) >= _0xb14853 || 0x2 == _0x4f5ee9 && Number(_0x5b8987) >= _0xb14853) ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : 1 == buttleRE[1] && _0x416340 && 0x32 > _0x427b7f && '' != _0x434b10 && _0x1e9137 < _0x39b080 - 0x12c ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : (0xa >= _0x275751 && ('' != _0x2ed6dc || !(_0x2ed6dc || _0x25d365 || _0x65be13 || _0x3d527f)) || 0 == sessionStorage.atk && (0xa < _0x275751 && !_0x2ed6dc || 0xa >= _0x275751 && !_0x25d365) || 1 == sessionStorage.atk && (0xa < _0x275751 && !_0x2ed6dc || 0x2 != sessionStorage.mark_ant && '' != _0x65be13 || 3 != sessionStorage.mark_ant && '' != _0x25d365)) && confirmationButton.match(/Потерянный Легион/i) && '' != _0x366f19 ? click(_0x366f19, _0x2e4d7d, 0) : '' == _0x1d89c6 || _0x42f096 && (0 != sessionStorage.atk || _0x3e4772) ? '' != _0x538236 && _0x3f51ff < _0x39b080 - 0xc8 && (confirmationButton.match('Храм Немезиды') && (cavepanel[1] < nemkam || 0x96 <= cavepanel[1]) || !confirmationButton.match('Храм Немезиды')) ? click(_0x538236, _0x39b080, 0) : '' != _0x4e3c75 && _0x36e3dc < _0x39b080 - 0xc8 && (confirmationButton.match('Храм Немезиды') && (cavepanel[1] < nemkam || 0x96 <= cavepanel[1]) || !confirmationButton.match('Храм Немезиды')) ? click(_0x4e3c75, _0x39b080, 0) : _0x31f69d && _0x2cb347 && '' != _0x51912b && 6 <= _0x530d0f && (0 == ironStrikes[Number(sessionStorage.locScrolls) - 1] || !(0x2 != ironStrikes[Number(sessionStorage.locScrolls) - 1] || _0x5b5229 || _0x36c7cd || _0x3c9c45 || _0x4c2b83)) ? click(_0x51912b, _0x19a2b5) : !_0x31f69d && _0x2cb347 && '' != _0x51912b && 6 <= _0x530d0f && (1 == ironStrikes[Number(sessionStorage.locScrolls) - 1] || 0x2 == ironStrikes[Number(sessionStorage.locScrolls) - 1] && (_0x5b5229 || _0x36c7cd || _0x3c9c45 || _0x4c2b83)) ? click(_0x51912b, _0x19a2b5) : _0x1749bf && _0x538a04 < _0x39b080 - 0xc8 && (!_0x4fc74d || _0x4fc74d && _0x35e1d1) ? click(_0x1749bf, 0x3e8 < _0x538a04 + _0x19a2b5 ? _0x538a04 + _0x19a2b5 : 0x3e8, 0) : _0x27dcd1 && _0x339dbb < _0x39b080 - 0xc8 && (!smartRegenUse || smartRegenUse && Number(_0x9b82a6 - _0xb14853) >= Number(_0xb14853) && Number(_0xc822ad - _0x427b7f) >= Number(characterEnergy / 0x2)) ? click(_0x27dcd1, 0x3e8 < _0x339dbb + _0x19a2b5 ? _0x339dbb + _0x19a2b5 : 0x3e8, 0) : _0x5e0fc4 && _0x302761 < _0x39b080 - 0xc8 ? click(_0x5e0fc4, 0x3e8 < _0x302761 + _0x19a2b5 ? _0x302761 + _0x19a2b5 : 0x3e8, 0) : '' != _0x18876c && !_0x31c51f && _0x965f21 < _0x39b080 - 0xc8 ? click(_0x18876c, _0x39b080, 0) : '' != _0x3c5189 && (!_0x31c51f || _0x21d150 || 1 == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e > trol_shit && 0x190 == _0x5f11d4) && _0x137fb0 < _0x39b080 - 0xc8 ? click(_0x3c5189, _0x39b080, 0) : '' != _0x509186 && ((_0x5b5229 || _0x4c2b83) && 1 == dungBersKrit || 0 == dungBersKrit) && (!_0x31c51f || _0x21d150 || '' != _0x397657 && 0xaf > _0x5f11d4 || 1 == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e > trol_shit && 0x190 == _0x5f11d4) && _0x2ec6d1 < _0x39b080 - 0xc8 ? click(_0x509186, _0x39b080, 0) : '' != _0x2f35a7 && (1 == _0x4f5ee9 && Number((_0x11a56a * _0x5b8987).toFixed(0)) >= _0xb14853 || 0x2 == _0x4f5ee9 && Number(_0x5b8987) >= _0xb14853 || 0x7d0 > _0xb14853) ? click(_0x2f35a7, _0x39b080) : '' != _0x72806e && 1 == sessionStorage.dheal ? click(_0x72806e, _0x39b080) : '' != _0x4fb4ad && (1 == sessionStorage.dheal || _0x315f0e > trol_shit && 0x2 == sessionStorage.dheal) ? click(_0x4fb4ad, _0x39b080, 0) : '' != _0x31c51f && (!_0x4fb4ad || 0 == sessionStorage.dheal || undefined == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e <= trol_shit) ? click(_0x31c51f, _0x39b080, 0) : 0 == sessionStorage.atk && '' != _0x3e4772 ? click(_0x3e4772, _0x39b080, 0) : '' != _0x42f096 ? click(_0x42f096, _0x39b080, 0) : 0xa < _0x275751 && '' != _0x2ed6dc ? click(_0x2ed6dc, _0x39b080, 0) : '' != _0x65be13 && 0xa >= _0x275751 && 0x2 == sessionStorage.mark_ant && 1 == sessionStorage.atk ? click(_0x65be13, _0x39b080, 0) : '' != _0x3d527f && 0xa >= _0x275751 && 1 == sessionStorage.atk ? click(_0x3d527f, _0x39b080, 0) : '' != _0x25d365 && 0xa >= _0x275751 && (3 == sessionStorage.mark_ant && 1 == sessionStorage.atk || 0 == sessionStorage.atk) ? click(_0x25d365, _0x39b080, 0) : 3 == sessionStorage.atk && '' != _0x29723a && Number(_0x323f11) > Number(_0x1793bf) ? click(_0x29723a, _0x39b080, 0) : 3 == sessionStorage.atk && '' != _0x2dde7f && Number(_0x1793bf) > Number(_0x323f11) ? click(_0x2dde7f, _0x39b080, 0) : '' == _0x2dde7f || 1 != sessionStorage.atk && _0x29723a ? '' == _0x29723a || 0x2 != sessionStorage.atk && _0x2dde7f ? '' != _0x2dde7f && (Number(_0x1793bf) > Number(HP_Yap) || !_0x29723a) ? click(_0x2dde7f, _0x39b080, 0) : '' != _0x29723a ? click(_0x29723a, _0x39b080, 0) : '' != _0x4e6655 ? click(_0x4e6655, _0x39b080, 0) : 3 == sessionStorage.atk && '' != _0x892402 ? click(_0x892402, _0x39b080, 0) : 1 != sessionStorage.atk && 0x5 != sessionStorage.atk || '' == _0x104889 ? 0x2 == sessionStorage.atk && '' != _0x4cf970 ? click(_0x4cf970, _0x39b080, 0) : 0 == sessionStorage.atk && '' != _0x4cf970 && Number(_0x46e1d1) > Number(_0x4e125b) && Number(_0x46e1d1) >= Number(_0x5c4353) ? click(_0x4cf970, _0x39b080, 0) : 0 == sessionStorage.atk && '' != _0x104889 && Number(_0x5c4353) > Number(_0x4e125b) && Number(_0x5c4353) >= Number(_0x46e1d1) ? click(_0x104889, _0x39b080, 0) : 0 == sessionStorage.atk && '' != _0x892402 && Number(_0x4e125b) >= Number(_0x5c4353) && Number(_0x4e125b) >= Number(_0x46e1d1) ? click(_0x892402, _0x39b080, 0) : '' != _0x104889 && Number(_0x5c4353) > Set_HP_G ? click(_0x104889, _0x39b080, 0) : '' != _0x4cf970 && Number(_0x46e1d1) > Set_HP_C ? click(_0x4cf970, _0x39b080, 0) : '' != _0x892402 && Number(_0x4e125b) > Set_HP_N ? click(_0x892402, _0x39b080, 0) : '' != _0x104889 && Number(_0x5c4353) > Number(_0x4e125b) && Number(_0x5c4353) >= Number(_0x46e1d1) ? click(_0x104889, _0x39b080, 0) : '' != _0x4cf970 && Number(_0x46e1d1) > Number(_0x4e125b) && Number(_0x46e1d1) >= Number(_0x5c4353) ? click(_0x4cf970, _0x39b080, 0) : '' != _0x892402 && Number(_0x4e125b) >= Number(_0x5c4353) && Number(_0x4e125b) >= Number(_0x46e1d1) ? click(_0x892402, _0x39b080, 0) : '' != _0x104889 ? click(_0x104889, _0x39b080, 0) : '' != _0x4cf970 ? click(_0x4cf970, _0x39b080, 0) : '' != _0x892402 ? click(_0x892402, _0x39b080, 0) : '' != _0x376319 ? click(_0x376319, _0x39b080, 0) : '' != _0x42f096 ? click(_0x42f096, _0x39b080, 0) : '' != _0x1d89c6 ? click(_0x1d89c6, _0x39b080, 0) : '' != _0x366f19 ? click(_0x366f19, _0x39b080, 0) : '' != _0x397657 && click(_0x397657, _0x39b080, 0) : click(_0x104889, _0x39b080, 0) : click(_0x29723a, _0x39b080, 0) : click(_0x2dde7f, _0x39b080, 0) : click(_0x1d89c6, _0x2e4d7d, 0) : click(ch, _0x2fde99, 1); } function _0x42096f() { const _0x5ab676 = Number(characterzdorovie + characterzdorovie), _0x1a2d1f = Number(characterEnergy + characterEnergy); if (0 != raidTimer[0x33] && !_0x366f19 && !_0x397657 && (_0x39c080 && undefined == sessionStorage.trialCh || _0x18a2f4 && undefined == sessionStorage.trialCh) || pageContent.match(/Создать бой может только офицер клана|пробывших в клане более/i)) sessionStorage.removeItem('trialCh'), sessionStorage.removeItem('trialTh'), sessionStorage.removeItem('trialSk'), click(naGlavnuy, timeout); 0 == raidTimer[0x33] || _0x366f19 || _0x397657 || !pageContent.match(/уже проходят клановое испытание|Твой персонаж погиб/i) || click(ch, _0x2dd3ad, 1), pageContent.match(/Кто здесь/) && (sessionStorage.trialCh = 0x2), pageContent.match('Цель: ' + _0x23b0c6) && (_0x45c64b = true); const _0x25b923 = _0x55ca73; _0x5705b9(0x3e8, 0x3e8), 1 == sessionStorage.perehod && (_0x25b923 = _0x5705b9(CDTperehodl_[0], CDTperehodl_[1])), !confirmationButton.match(/Рагнар/i) || _0x31c51f || _0x5b99c0 || (_0x4e3c75 = _0x538236 = ''), '' == _0x42f096 && '' == _0x1d89c6 && ('' != _0x2f35a7 || '' != _0x72806e && 1 == sessionStorage.dheal || '' != _0x31c51f && (!_0x4fb4ad || 0 == sessionStorage.dheal || undefined == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e <= trol_shit)) && (_0x25b923 = _0x280a1d), confirmationButton.match(/Торбьёрн/i) && (_0x454964 || _0xdf2dd1) && _0xc328af && _0x32d37b && (0x50 <= Number(/\d+/.exec(document.getElementsByTagName('td')[6].textContent.trim().replace(/(\n)+/, ' '))) || '' != _0x1c7697) && (_0x18876c = false); const _0x5ee991 = [0, 0, 0, 0], _0x54d27e = [_0x4e3c75, _0x538236, _0x529fe1, _0x1749bf]; _0x5ee991[1] = '' != _0x538236 && _0x3f51ff < _0x25b923 - 0xc8 && !_0x44cc3a && (!_0x4fc74d || _0x4fc74d && _0x35e1d1) && !_0x16491e && (0x2 == _0x1a3478[0x2] && 0 < _0x3d2900 && Number(_0x3d2900) >= _0xb14853 || (0 < _0x11a56a || _0x2c7a56) && (0 == _0x3d2900 || 1 == _0x1a3478[0x2] && 1 <= _0x3d2900 && Number((_0x3d2900 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? _0x3f51ff + _0x19a2b5 : 0, _0x5ee991[0x2] = 0, _0x5ee991[0] = '' != _0x4e3c75 && _0x36e3dc < _0x25b923 - 0xc8 && !_0x52a490 && !_0x44cc3a && (0x2 == _0x1a3478[1] && 0 < _0xf73b4f && Number(_0xf73b4f) >= _0xb14853 || (0 < _0x11a56a || _0x2c7a56) && (0 == _0xf73b4f || 1 == _0x1a3478[1] && 1 <= _0xf73b4f && Number((_0xf73b4f * _0x11a56a).toFixed(0)) >= _0xb14853)) ? _0x36e3dc + _0x19a2b5 : 0, _0x5ee991[3] = '' != _0x1749bf && _0x538a04 < _0x25b923 - 0xc8 && !_0x52a490 && !_0x44cc3a && (0x2 == _0x1a3478[0x5] && 0 < _0x4794d1 && Number(_0x4794d1) >= _0xb14853 || (0 < _0x11a56a || _0x2c7a56) && (0 == _0x4794d1 || 1 == _0x1a3478[0x5] && 0 < _0x4794d1 && Number((_0x4794d1 * _0x11a56a).toFixed(0)) >= _0xb14853)) ? 0x3e8 < _0x538a04 + _0x19a2b5 ? _0x538a04 + _0x19a2b5 : 0x3e8 : 0; for (const _0x2cda9e = '', _0x8b6013 = 0, _0x4a5a84 = 0; _0x4a5a84 < sortedSkills.length; _0x4a5a84++) { const _0x3fed51 = sortedSkills[_0x4a5a84]; if (0 < _0x5ee991[_0x3fed51]) { _0x2cda9e = _0x54d27e[_0x3fed51], _0x8b6013 = _0x5ee991[_0x3fed51]; break; } } '' != _0x43b894 ? click(_0x43b894, timeout, 1) : '' != _0x571b32 ? click(_0x571b32, timeout, 1) : '' != _0x18a2f4 && undefined != sessionStorage.trialCh ? click(_0x18a2f4, timeout, 1) : '' != _0x39c080 && undefined != sessionStorage.trialCh ? click(_0x39c080, timeout, 1) : 0x2 == sessionStorage.trialCh && '' != _0x89d218 ? click(_0x89d218, timeout, 1) : 0x2 != sessionStorage.trialCh && '' != _0x89d218 ? click(naGlavnuy, timeout, 1) : '' != _0x471fce ? click(_0x471fce, timeout, 1) : '' != ch && _0x281ada && 1 == sessionStorage.goToChat ? click(ch, _0x5bb53a, 1) : '' != fx && _0x281ada && 1 == sessionStorage.goToChat ? click(fx, _0x5bb53a, 1) : '' == ch || _0x281ada ? '' != _0x434b10 && _0x1e9137 < _0x25b923 - 0x12c && (1 == _0x4f5ee9 && Number((_0x11a56a * _0x5b8987).toFixed(0)) >= _0xb14853 || 0x2 == _0x4f5ee9 && Number(_0x5b8987) >= _0xb14853) ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : 1 == buttleRE[1] && _0x416340 && 0x32 > _0x427b7f && '' != _0x434b10 && _0x1e9137 < _0x25b923 - 0x12c ? (localStorage.buttl_2 = Number(localStorage.buttl_2) + 1, localStorage.buttl = Number(localStorage.buttl) - 1, click(_0x434b10, _0x1e9137 + _0x19a2b5, 0)) : '' != _0x26a67d && _0x45c64b && _0x21d940 < _0x25b923 - 0xc8 ? click(_0x26a67d, _0x21d940 + _0x19a2b5, 0) : '' != _0x2cda9e ? click(_0x2cda9e, _0x8b6013, 0) : !_0x31f69d || '' == _0x51912b || 0 != ironStrikes[Number(sessionStorage.locScrolls) - 1] && (0x2 != ironStrikes[Number(sessionStorage.locScrolls) - 1] || _0x5b5229 || _0x3c9c45 || _0x36c7cd || _0x4c2b83) ? !_0x31f69d && '' != _0x51912b && (1 == ironStrikes[Number(sessionStorage.locScrolls) - 1] || 0x2 == ironStrikes[Number(sessionStorage.locScrolls) - 1] && (_0x5b5229 || _0x36c7cd || _0x3c9c45 || _0x4c2b83)) ? click(_0x51912b, _0x19a2b5) : _0x27dcd1 && _0x339dbb < _0x25b923 - 0xc8 && (!smartRegenUse || smartRegenUse && Number(_0x5ab676 - _0xb14853) >= Number(_0xb14853) && Number(_0x1a2d1f - _0x427b7f) >= Number(characterEnergy / 0x2)) ? click(_0x27dcd1, 0x3e8 < _0x339dbb + _0x19a2b5 ? _0x339dbb + _0x19a2b5 : 0x3e8, 0) : _0x5e0fc4 && _0x302761 < _0x25b923 - 0xc8 ? click(_0x5e0fc4, 0x3e8 < _0x302761 + _0x19a2b5 ? _0x302761 + _0x19a2b5 : 0x3e8, 0) : '' != _0x44b463 && _0x16c029 < _0x25b923 - 0xc8 ? click(_0x44b463, _0x25b923, 0) : '' != _0x223a3d && _0x555f40 < _0x25b923 - 0xc8 && !_0x31c51f ? click(_0x223a3d, _0x555f40 + _0x19a2b5, 0) : '' != _0x18876c && !_0x31c51f && _0x965f21 < _0x25b923 - 0xc8 ? click(_0x18876c, _0x25b923, 0) : '' != _0x3c5189 && (!_0x31c51f || _0x21d150 || 1 == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e > trol_shit && 0x190 == _0x5f11d4) && _0x137fb0 < _0x25b923 - 0xc8 ? click(_0x3c5189, _0x25b923, 0) : '' != _0x509186 && (!_0x31c51f || _0x21d150 || '' != _0x397657 && 0xaf > _0x5f11d4 || 1 == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e > trol_shit && 0x190 == _0x5f11d4) && _0x2ec6d1 < _0x25b923 - 0xc8 ? click(_0x509186, _0x25b923, 0) : '' != _0x2f35a7 && (1 == _0x4f5ee9 && Number((_0x11a56a * _0x5b8987).toFixed(0)) >= _0xb14853 || 0x2 == _0x4f5ee9 && Number(_0x5b8987) >= _0xb14853 || 0x7d0 > _0xb14853) ? click(_0x2f35a7, _0x25b923) : '' != _0x72806e && 1 == sessionStorage.dheal ? click(_0x72806e, _0x25b923) : '' != _0x4fb4ad && (1 == sessionStorage.dheal || _0x315f0e > trol_shit && 0x2 == sessionStorage.dheal) ? click(_0x4fb4ad, _0x25b923, 0) : '' != _0x31c51f && (!_0x4fb4ad || 0 == sessionStorage.dheal || undefined == sessionStorage.dheal || 0x2 == sessionStorage.dheal && _0x315f0e <= trol_shit) ? click(_0x31c51f, _0x25b923, 0) : '' != _0x1c7697 ? click(_0x1c7697, _0x25b923, 0) : '' != _0x42f096 ? click(_0x42f096, _0x25b923, 0) : '' != _0x366f19 ? click(_0x366f19, _0x25b923, 0) : '' != _0x397657 && click(_0x397657, _0x25b923, 0) : click(_0x51912b, _0x19a2b5) : click(ch, _0x2dd3ad, 1); } function _0xd213fa() { Username || (autologin = false), autologin ? (location.host.match(/barbars|варвары|46.4.4.56/) && (pageContent.match(/Неверный ник или пароль|Поле \'Ник\' обязательно для ввода/i) && (localStorage.statPosition = 0, alert('Неверный ник или пароль'), click(location.href, 0x3E80)), _0x156e4f && '' != _0x3ab967 && (click(_0x3ab967, timeout), sessionStorage.connect = 1), location.href.match(location.host + '/authorization') && click(_0x3ab967, timeout), location.href.match(location.host + '/login') && (document.all.login.value = Username, document.all.password.value = Password, action = true, setTimeout(function () { document.forms[0].submit(), sessionStorage.connect = 0; }, _0x2dd3ad))), location.host.match('spaces') && !location.host.match('br.spaces') && (location.href.match(location.host + '/app') && '' != _0xe99e48 ? click(_0xe99e48, timeout) : (location.href.match(location.host + '/mysite|/startpage') || location.href.match(location.host + '/tm')) && '' != _0xa747c7 ? click(_0xa747c7, timeout) : undefined != document.getElementById('contact_s') && undefined != document.getElementById('password_s') ? (document.getElementById('password_s').value = Password, document.getElementById('contact_s').value = Username, action = true, setTimeout(function () { document.getElementsByClassName('main_submit')[0].click(); }, 0x64)) : pageContent.match(/введите последние 4 цифры вашего номера/i) ? (document.all.pn_nums.value = Telephone, setTimeout(function () { document.forms[0].submit(), sessionStorage.connect = 0; }, 0x64)) : location.href.match('loginform') ? (document.all.name.value = Username, document.all.password.value = Password, action = true, setTimeout(function () { document.forms[0].submit(), sessionStorage.connect = 0; }, 0x64)) : confirmationButton == _0x124d7d('Spaces') && '' != _0x3ab967 ? click(_0x3ab967, timeout) : confirmationButton != _0x124d7d('Spaces') || _0x3ab967 ? (action = true, location.href = 'http://spaces.ru/startpage/') : click('mysite', timeout)), location.host.match(/odnoklassniki|ok.ru/) && (location.host.match(/m.odnoklassniki/) || location.host.match(/m.ok.ru/) ? confirmationButton.match(_0x124d7d('Игры|Одноклассники')) && '' != _0xe99e48 ? click(_0xe99e48, timeout) : confirmationButton.match(_0x124d7d('Игры')) && !_0xe99e48 && '' != _0x456144 ? click(_0x456144, timeout) : confirmationButton.match(_0x124d7d('Одноклассники')) && '' != _0xa747c7 ? click(_0xa747c7, timeout) : confirmationButton.match(_0x124d7d('Добро пожаловать')) && undefined != document.all['fr.login'] ? (document.all['fr.login'].value = Username, document.all['fr.password'].value = Password, action = true, setTimeout(function () { document.forms[0].submit(), sessionStorage.connect = 0; }, 0x64)) : (action = true, location.href = 'http://m.ok.ru') : (action = true, location.href = 'http://m.ok.ru'))) : location.host.match(/barbars|варвары|46.4.4.56/) && (location.href.match(location.host + '/authorization') || location.href.match(location.host + '/login')) && (localStorage.statPosition = 0, click(location.href, 0x3E80)); } function _0x3cd6fc() { const _0x46e551 = ''; undefined != sessionStorage.territory && _0x2f720a && (_0x46e551 = ' '); const _0x283afa = ''; undefined != sessionStorage.goToBoss && _0x2f720a && (_0x283afa = ' '); const _0x210b6d = 0x2 == autoMode && 3 == raidTimer[0x2] ? ' ' : '', _0x111a4e = ''; if (confirmationButton.match(/Каменный тролль/i) && !_0x2cb347) undefined == sessionStorage.dheal && (sessionStorage.dheal = vartrol), _0x111a4e = '';else { if (confirmationButton.match(/Дракон (\d+) ур/i) && !_0x2cb347) undefined == sessionStorage.dheal && (sessionStorage.dheal = vartrof), _0x111a4e = '';else { if (confirmationButton.match(/Святилище предков/i) && !_0x2cb347) undefined == sessionStorage.dheal && (sessionStorage.dheal = varpred), _0x111a4e = '';else { if (!confirmationButton.match(/Долина Великанов/i) || _0x2cb347 || pageContent.match(/Долина Великанов находится в Ущелье/)) sessionStorage.removeItem('dheal');else { if (undefined == sessionStorage.dheal || 1 < sessionStorage.dheal) sessionStorage.dheal = varvel; _0x111a4e = ''; } } } } confirmationButton.match(/Долина Великанов/i) && _0x2cb347 && !pageContent.match(/Долина Великанов находится в Ущелье/) ? (undefined == sessionStorage.atk && (sessionStorage.atk = varvelW), _0x111a4e = '') : confirmationButton.match(/Храм Немезиды/i) && _0x2cb347 ? (undefined == sessionStorage.atk && (sessionStorage.atk = varnema), _0x111a4e = '') : confirmationButton.match(/Обитель Зодиака/i) && _0x2cb347 ? (undefined == sessionStorage.atk && (sessionStorage.atk = varzod), _0x111a4e = '') : confirmationButton.match(/Потерянный Легион/i) && _0x2cb347 ? (undefined == sessionStorage.atk && (sessionStorage.atk = varlego), _0x111a4e = '') : (sessionStorage.removeItem('atk'), sessionStorage.removeItem('mark_ant')), confirmationButton.match(/Территория/i) && (_0x1a9f0e ? sessionStorage.removeItem('dobivatTerr') : (undefined == sessionStorage.dobivatTerr && (sessionStorage.dobivatTerr = _0x2cb347 ? 0 : SetdestroyMana + 0xf), _0x111a4e = ' ')), undefined == sessionStorage.info_admins && (sessionStorage.info_admins = 0), undefined == sessionStorage.bug_info && (sessionStorage.bug_info = 0), undefined == sessionStorage.Version_info && (sessionStorage.Version_info = 0); const _0x502e75 = _0x588ad1 ? '' : '', _0x1b0766 = _0x45ea9d ? '