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 ? '' : '', _0x130c5c = '', _0x47dc1d = '[' + (_0x4e5b62 / 0x3e8).toFixed(1) + ']' + (_0x4e5b62 / 0x3e8).toFixed(1) + '', _0x3490ad = sessionStorage.info_admins == 0 ? '' : '

Grabby BOT v17 PATCH отс25.02.2025 (V 17)
Mod by: D_R_O_N -- ZIPPO
Что нового? :
-13.06-исправлено зависание на террах, когда не активен алтарь-Изменения в покупке железных ударов.-ходить на феникса автобоссы

'; Version = sessionStorage.Version_info == 0 ? '' : '', 'on' == localStorage.on_off ? _0x3f8327 += ' ' + _0x130c5c + _0x502e75 + ' ' + _0x3490ad + ' ' + Version + ' ' + _0x47dc1d + ' ' + _0x111a4e + ' ' + _0x46e551 + ' ' + _0x283afa + ' ' + _0x210b6d + ' ' + _0x1c48df + ' (' + _0x2f8e31 + ')' : _0x3f8327 += ' ' + _0x130c5c + _0x502e75 + ' ' + _0x3490ad + ' ' + Version + ' ' + _0x1c48df + ' (' + _0x2f8e31 + ')
', _0x46e551 = document.createElement('span'), _0x46e551.innerHTML += '' + (_0x28b7c8 ? _0x3f8327 : '') + '', _0x283afa = document.createElement('span'), _0x283afa.innerHTML += '' + (_0x28b7c8 ? '' : '

' + _0x3f8327) + _0x1b0766 + '
', undefined != document.body.getElementsByTagName('td')[0] ? document.body.getElementsByTagName('td')[0].appendChild(_0x283afa) : document.body.insertBefore(_0x283afa, document.body.firstChild), document.body.insertBefore(_0x46e551, document.body.firstChild), undefined != document.getElementById('sp_button') && (sp_button.onclick = function () { 0 == localStorage.statPosition ? (localStorage.statPosition = 1, sp_button.value = ' ↓ ') : (localStorage.statPosition = 0, sp_button.value = ' ↑ '); }), undefined != document.getElementById('stt_button') && (stt_button.onclick = function () { localStorage.addInfo = 0 == localStorage.addInfo ? 1 : 0, location.href = location.href, stt_button.style = 'background-color:FF4500;border-radius:2px;padding:1px 1px 1px 1px;border:3px solid;border-color:#FF4500;font-weight:100; background-color:#FFD700;text-align: right '; }), t10 = setInterval(_0x33fc16, 0x39), undefined != document.getElementById('button') && (button.onclick = function () { location.href = location.href, 'on' == localStorage.on_off ? (localStorage.on_off = 'off', '' != timeoutId && clearInterval(timeoutId), _0xbbf715.style = '', button.value = ' Процесс... ') : (localStorage.on_off = 'on', sessionStorage.perehod = 1, button.value = ' Процесс... ', location.href = location.href); }), undefined != document.getElementById('t_button') && (t_button.onclick = function () { if (confirmationButton.match(/Территория/i)) { const _0xf2497d = Number(sessionStorage.dobivatTerr) + 1; 0xc == _0xf2497d && (_0xf2497d = 0), 0x12 == _0xf2497d && (_0xf2497d = 0xc), sessionStorage.dobivatTerr = _0xf2497d, t_button.value = ' Всех (+);Синих (+);Красных (+);Синих (/);Красных (/);Всех (/);Всех (+/);Всех (К);Всех (С);Не бью;Не бью, щиты;Не бью, слив;Не лечу;Не лечу, щиты;Не лечу, слив;Лечу;Жгу/лечу;Жгу'.split(';')[_0xf2497d] + ' '; } }), undefined != document.getElementById('h_button') && (h_button.onclick = function () { confirmationButton.match(/Долина Великанов/i) && !pageContent.match(/Долина Великанов находится в Ущелье/) ? 0 == sessionStorage.dheal ? (sessionStorage.dheal = 1, h_button.value = ' Лечу цель ') : (sessionStorage.dheal = 0, h_button.value = ' Лечу союзников ') : confirmationButton.match(/Каменный тролль|Святилище предков|Дракон (\d+) ур/i) && (0 == sessionStorage.dheal ? (sessionStorage.dheal = 1, h_button.value = ' Жгу ') : 1 == sessionStorage.dheal ? (sessionStorage.dheal = 0x2, h_button.value = ' Лечу и жгу ') : (sessionStorage.dheal = 0, h_button.value = ' Лечу ')); }), undefined != document.getElementById('w_button') && (w_button.onclick = function () { confirmationButton.match(/Храм Немезиды/i) ? 0 == sessionStorage.atk ? (sessionStorage.atk = 1, w_button.value = ' Бью Гарма ') : 1 == sessionStorage.atk ? (sessionStorage.atk = 0x2, w_button.value = ' Бью Цербера ') : 0x2 == sessionStorage.atk ? (sessionStorage.atk = 3, w_button.value = ' Бью Немезиду ') : 3 == sessionStorage.atk ? (sessionStorage.atk = 0x4, w_button.value = ' Гарм->Ц+Н ') : 0x4 == sessionStorage.atk ? (sessionStorage.atk = 0x5, w_button.value = ' Гарм->ХП+ ') : (sessionStorage.atk = 0, w_button.value = ' ХП+ ') : confirmationButton.match(/Долина Великанов/i) && !pageContent.match(/Долина Великанов находится в Ущелье/) ? 0 == sessionStorage.atk ? (sessionStorage.atk = 1, w_button.value = ' Бью Япитера ') : 1 == sessionStorage.atk ? (sessionStorage.atk = 0x2, w_button.value = ' Бью Эпитера ') : 0x2 == sessionStorage.atk ? (sessionStorage.atk = 3, w_button.value = ' ХП+ ') : (sessionStorage.atk = 0, w_button.value = ' Яп->Эп ') : confirmationButton.match(/Обитель Зодиака/i) ? 0 == sessionStorage.atk ? (sessionStorage.atk = 1, w_button.value = ' ХП<' + zd_minion + '% ') : (sessionStorage.atk = 0, w_button.value = ' Мало Букв ') : confirmationButton.match(/Потерянный Легион/i) && (0 == sessionStorage.atk ? (sessionStorage.atk = 1, w_button.value = ' Л>М>А>Л ') : (sessionStorage.atk = 0, w_button.value = ' Легион > Легат ')); }), undefined != document.getElementById('statDebug_button') && (statDebug_button.onclick = function () { 0 == sessionStorage.statDebug ? (sessionStorage.statDebug = 1, statDebug_button.value = ' - ') : (sessionStorage.statDebug = 0, statDebug_button.value = ' + '); }), undefined != document.getElementById('info_admins') && (info_admins.onclick = function () { location.href = location.href, 0 == sessionStorage.info_admins ? (sessionStorage.info_admins = 1, info_admins.value = ' - ') : (sessionStorage.info_admins = 0, info_admins.value = ' + '); }), undefined != document.getElementById('bug_info') && (bug_info.onclick = function () { location.href = location.href, 0 == sessionStorage.bug_info ? (sessionStorage.bug_info = 1, bug_info.value = ' БАГ ') : (sessionStorage.bug_info = 0, bug_info.value = ' БАГ'); }), undefined != document.getElementById('reset_button') && (reset_button.onclick = function () { _0x263ca3(), localStorage.on_off = 'on', location.href = location.href; }), undefined != document.getElementById('toStone_button') && (toStone_button.onclick = function () { 0 == sessionStorage.toSton ? (sessionStorage.toSton = 1, toStone_button.value = ' С ') : (sessionStorage.toSton = 0, toStone_button.value = ' ЗС '); }); } function _0x5dd2b2() { if ('on' == localStorage.on_off) { _0x5ebf84 = 0 != _0x4cee8d[8] && undefined != sessionStorage.procka ? _0x5ebf84 + ('
Алтарь ' + sessionStorage.procka + ' [' + _0x3e7942(_0x4cee8d[8], 1) + ':' + _0x3e7942(_0x4cee8d[8], 0x2) + ':' + _0x3e7942(_0x4cee8d[8], 3) + '] ') : _0x5ebf84 + '
- Алтарь [не активен] ', _0x5ebf84 += '
', _0x5ebf84 += '
'; if ('' != _0x5ae28e) { _0x5ebf84 += '
'; for (const _0x1adb23 = [_0x3e7942(sessionStorage.premtime, 0x5), _0x3e7942(sessionStorage.premtime, 6), +_0x3e7942(sessionStorage.premtime, 0x2), +_0x3e7942(sessionStorage.premtime, 3)], _0x250d15 = ['д.', 'ч.', 'мин.', 'сек.'], _0x2101a3 = '', _0x416671 = 0; _0x416671 < _0x1adb23.length; _0x416671++) 0 < _0x1adb23[_0x416671] && (_0x2101a3 += _0x1adb23[_0x416671] + _0x250d15[_0x416671]); _0x5ebf84 += ' Премиум ' + _0x5ae28e + ' [' + _0x2101a3 + ']
'; } 0 != raidTimer[0x3d] && (_0x5ebf84 += '
» user check in [' + _0x3e7942(raidTimer[0x3d], 1) + ':' + _0x3e7942(raidTimer[0x3d], 0x2) + ':' + _0x3e7942(raidTimer[0x3d], 3) + ']
'), 0 != raidTimer[0x46] && (_0x5ebf84 += '
» Проверка клан. задания через: [' + _0x3e7942(raidTimer[0x46], 1) + ':' + _0x3e7942(raidTimer[0x46], 0x2) + ':' + _0x3e7942(raidTimer[0x46], 3) + ']
'), undefined == sessionStorage.cn || '' == sessionStorage.cn || _0x28b7c8 || (_0x5ebf84 += '' + _0x1c48df + ''), undefined == sessionStorage.kn || '' == sessionStorage.kn || _0x28b7c8 || (_0x5ebf84 += ' ' + sessionStorage.kn + ''), undefined == sessionStorage.an || '' == sessionStorage.an || _0x28b7c8 || (_0x5ebf84 += ' ' + sessionStorage.an + ''), _0x5ebf84 += '
', 0 != raidTimer[0x23] && (_0x5ebf84 += '
» Возврат на Арену [' + _0x3e7942(raidTimer[0x23], 1) + ':' + _0x3e7942(raidTimer[0x23], 0x2) + ':' + _0x3e7942(raidTimer[0x23], 3) + ']
'), 0 != raidTimer[0x24] && (_0x5ebf84 += '
» Возврат на Выживание [' + _0x3e7942(raidTimer[0x24], 1) + ':' + _0x3e7942(raidTimer[0x24], 0x2) + ':' + _0x3e7942(raidTimer[0x24], 3) + ']
'), _0x5ebf84 += '
Арена [' + sessionStorage.games_arena + '/' + fFf[0] + ' | ' + fFf2[0] + '] ' + sessionStorage.rating_arena + '' + _0x2c52b2 + '
', _0x5ebf84 += '
Выживание [' + sessionStorage.games_survival + '/' + fFf[1] + ' | ' + fFf2[1] + '] ' + sessionStorage.rating_survival + '
', _0x5ebf84 += '
Поля: [' + localStorage.bgCnt + '/' + bgCnt + '] ' + localStorage.bgPnts + '
', _0x5ebf84 = '' != _0x4de55b ? _0x5ebf84 + ('
Усталость: [-' + sessionStorage.ustal + '%/-' + Ishak + '%]
') : _0x5ebf84 + '
Усталость: [нет]
', 0 == _0x4cee8d[9] || _0x2c17d2 || (_0x5ebf84 += '
Поход: ' + _0x3e7942(_0x4cee8d[9], 1) + 'ч. ' + _0x3e7942(_0x4cee8d[9], 0x2) + 'мин.
'),_0x5ebf84 += '
Прочитано книг Пробуждения: ' + readBooksCounter + '
';_0x5ebf84 += '
Сила: ' + characterSila + '
';_0x5ebf84 += '
Здоровье: ' + characterzdorovie + '
';_0x5ebf84 += '
Энергия: ' + characterEnergy + '
';_0x5ebf84 += '
Сумма: ' + characterSumma + '
'; 0 < raidTimer[0x21] && 0 < resFull && (_0x5ebf84 += '
» Проверка рюкзака через: [' + _0x3e7942(raidTimer[0x21], 1) + ':' + _0x3e7942(raidTimer[0x21], 0x2) + ':' + _0x3e7942(raidTimer[0x21], 3) + ']
'), 0 < raidTimer[0x3b] && (_0x5ebf84 += '
» чтение книги пробуждения через: [' + _0x3e7942(raidTimer[0x3b], 1) + ':' + _0x3e7942(raidTimer[0x3b], 0x2) + ':' + _0x3e7942(raidTimer[0x3b], 3) + ']
'), 0 < raidTimer[0x3c] && (_0x5ebf84 += '
» автобосс книги пробуждения через: [' + _0x3e7942(raidTimer[0x3c], 1) + ':' + _0x3e7942(raidTimer[0x3c], 0x2) + ':' + _0x3e7942(raidTimer[0x3c], 3) + ']
'), 0 <= _0x530d0f && !_0x366f19 && !_0x31c51f && (_0x5ebf84 += '
Выход из пещеры через [' + _0x3e7942(_0x1afc50[_0x529095.length], 1) + ':' + _0x3e7942(_0x1afc50[_0x529095.length], 0x2) + ':' + _0x3e7942(_0x1afc50[_0x529095.length], 3) + ']
'), 0 < raidTimer[0x35] && !_0x366f19 && !_0x31c51f && (_0x5ebf84 += '
Покинуть испытания через [' + _0x3e7942(raidTimer[0x35], 1) + ':' + _0x3e7942(raidTimer[0x35], 0x2) + ':' + _0x3e7942(raidTimer[0x35], 3) + ']
'), 1 < raidTimer[0x36] && !_0x366f19 && !_0x31c51f && (_0x5ebf84 += '
открыть дуэли (поход) через [' + _0x3e7942(raidTimer[0x36], 1) + ':' + _0x3e7942(raidTimer[0x36], 0x2) + ':' + _0x3e7942(raidTimer[0x36], 3) + ']
'), 0 != raidTimer[0x33] && (_0x5ebf84 += '
» личные испытания [' + _0x3e7942(raidTimer[0x33], 1) + ':' + _0x3e7942(raidTimer[0x33], 0x2) + ':' + _0x3e7942(raidTimer[0x33], 3) + ']
'), 0 != raidTimer[0x38] && (_0x5ebf84 += '
» сейчас ' + (0 == resBefore ? 'на главной' : 1 == resBefore ? 'в башнях' : 0x2 == resBefore ? 'на выживании' : 3 == resBefore ? 'на арене' : 0x4 == resBefore ? 'на ПвП' : 'хз где') + ' и буду здесь еще [' + _0x3e7942(raidTimer[0x38], 1) + ':' + _0x3e7942(raidTimer[0x38], 0x2) + ':' + _0x3e7942(raidTimer[0x38], 3) + ']
'), _0x5ebf84 += '
'; if (!_0x588ad1) { 1 == localStorage.add_time1 && (localStorage.add_time1 = _0x42ba03 + ':' + _0x4b376f + ' | ' + _0x456bb0 + '.' + _0x129c92 + '.' + _0x4d3e69), 1 == localStorage.add_time2 && (localStorage.add_time2 = _0x42ba03 + ':' + _0x4b376f + ' | ' + _0x456bb0 + '.' + _0x129c92 + '.' + _0x4d3e69), 1 == localStorage.add_time3 && (localStorage.add_time3 = _0x42ba03 + ':' + _0x4b376f + ' | ' + _0x456bb0 + '.' + _0x129c92 + '.' + _0x4d3e69), _0x5ebf84 += '
» Статистика
', _0x5ebf84 += '
-', _0x5ebf84 += ' Общая', _0x5ebf84 += ' | Ресурсы', 0 == SetCitadel[0] && 0 == SetCitadel[1] && 0 == SetCitadel[0x2] && 0 == SetCitadel[3] && 0 == SetCitadel[0x4] && 0 == SetCitadel[0x5] && 0 == SetCitadel[6] || undefined == sessionStorage.user1 || !_0x1e06f1 || (_0x5ebf84 += ' | Цитадель'), _0x5ebf84 += ' | Звери', '' != sessionStorage.castle_time && (_0x5ebf84 += ' | Замки'), _0x5ebf84 += ' | Инфо', '' != sessionStorage.scrolls_state && (_0x5ebf84 += ' | Бафы '), 0 != localStorage.open_stat && (_0x5ebf84 += ' | Закрыть'), _0x5ebf84 += '
', _0x5ebf84 += '
', 1 == localStorage.open_stat && (_0x5ebf84 += '
- Обнулить
', '' != localStorage.add_time1 && (_0x5ebf84 += '
- Последнее обнуление [' + localStorage.add_time1 + ']
'), _0x5ebf84 += '
', _0x5ebf84 += '
', '' != localStorage.add_time3 && (_0x5ebf84 += ' [' + localStorage.add_time3 + ']'), _0x5ebf84 += '
', _0x5ebf84 += '
- Смертей в башнях [' + localStorage.dead_towers + ']
', _0x5ebf84 += '
'), 0x2 == localStorage.open_stat && (_0x5ebf84 += '
- Обнулить
', '' != localStorage.add_time2 && (_0x5ebf84 += '
- Последнее обнуление [' + localStorage.add_time2 + ']
'), _0x5ebf84 += '
', _0x5ebf84 += '
» Начало игры
', _0x5ebf84 += '
- ' + localStorage.iron_1 + ' ' + localStorage.buttl_1 + ' ' + localStorage.mifr_1 + '
', _0x5ebf84 += '
» Текущий момент
', _0x5ebf84 += '
- ' + localStorage.iron + ' ' + localStorage.buttl + ' ' + localStorage.mifr + '
', _0x5ebf84 += '
» В итоге
', _0x5ebf84 += '
- ' + (Number(localStorage.iron) - Number(localStorage.iron_1)) + ' ' + (Number(localStorage.buttl) - Number(localStorage.buttl_1)) + ' ' + (Number(localStorage.mifr) - Number(localStorage.mifr_1)) + '
', _0x5ebf84 += '
» Расход
', 0 < localStorage.iron_2 && (_0x5ebf84 += '
- На ремонт ' + localStorage.iron_2 + '
'), 0 < localStorage.iron_3 && (_0x5ebf84 += '
- На алтарь ' + localStorage.iron_3 + '
'), _0x5ebf84 += '
- Выпито ' + localStorage.buttl_2 + '
', _0x5ebf84 += '
'); if (3 == localStorage.open_stat && _0x1e06f1) { for (_0x1adb23 = 0; _0x1adb23 < _0x364e7f.length; _0x1adb23++) 0 != SetCitadel[_0x1adb23] && 0 != _0x5608f6[_0x1adb23] && (_0x5ebf84 += '
- - ' + _0x364e7f[_0x1adb23] + ': ' + _0x3e7942(_0x5608f6[_0x1adb23 + 0], 1) + ':' + _0x3e7942(_0x5608f6[_0x1adb23 + 0], 0x2) + ':' + _0x3e7942(_0x5608f6[_0x1adb23 + 0], 3) + '
'); _0x5ebf84 += '
'; } if (0x4 == localStorage.open_stat) { for (_0x1adb23 = 0; _0x1adb23 < _0x529095.length; _0x1adb23++) 0 <= _0x1adb23 && 0x4 >= _0x1adb23 ? _0x580121(GoBoss[_0x1adb23]) && (_0x250d15 = parseInt(_0x1afc50[_0x1adb23]), _0x5ebf84 += '
- ' + _0x529095[_0x1adb23] + ': ', _0x5ebf84 = 0 != _0x1afc50[_0x1adb23] ? _0x5ebf84 + ('' + _0x3e7942(_0x250d15, 1) + ':' + _0x3e7942(_0x250d15, 0x2) + ':' + _0x3e7942(_0x250d15, 3) + '
') : _0x5ebf84 + ' воскрес
') : 0x7 <= _0x1adb23 && (_0x250d15 = parseInt(_0x1afc50[_0x1adb23]), _0x5ebf84 += '
- ' + _0x529095[_0x1adb23] + ': ', _0x5ebf84 = 0 != _0x1afc50[_0x1adb23] ? _0x5ebf84 + ('' + _0x3e7942(_0x250d15, 1) + ':' + _0x3e7942(_0x250d15, 0x2) + ':' + _0x3e7942(_0x250d15, 3) + '
') : _0x5ebf84 + ' воскрес
'); _0x5ebf84 += '
'; } if (0x5 == localStorage.open_stat && '' != sessionStorage.castle_time) { for (_0x1adb23 = 0; _0x1adb23 < _0x3f0eec.length; _0x1adb23++) _0x5ebf84 = 0 != _0x48c305[_0x1adb23] ? _0x5ebf84 + ('
- ' + _0x3f0eec[_0x1adb23] + ': ' + _0x3e7942(_0x48c305[_0x1adb23 + 0], 1) + ':' + _0x3e7942(_0x48c305[_0x1adb23 + 0], 0x2) + ':' + _0x3e7942(_0x48c305[_0x1adb23 + 0], 3) + '
') : _0x5ebf84 + ('
- ' + _0x3f0eec[_0x1adb23 + 0] + ' Готов к захвату
'); _0x5ebf84 += '
'; } 6 == localStorage.open_stat && (_0x5ebf84 += '
'); if (0x7 == localStorage.open_stat) { for (_0x1adb23 = 0; _0x1adb23 < _0x243253.length; _0x1adb23++) 0 < _0x570e98[_0x1adb23] && 0x3b9ac9ff > _0x570e98[_0x1adb23] && !/нет/.test(_0x570e98[_0x1adb23]) ? _0x5ebf84 += '
' + _0x243253[_0x1adb23] + ': ' + _0x3e7942(_0x570e98[_0x1adb23], 1) + ':' + _0x3e7942(_0x570e98[_0x1adb23], 0x2) + ':' + _0x3e7942(_0x570e98[_0x1adb23], 3) + '
' : 0x3b9ac9ff == _0x570e98[_0x1adb23] && (_0x5ebf84 += '
' + _0x243253[_0x1adb23] + '
'); for (_0x1adb23 = 0; 0x7 >= _0x1adb23; _0x1adb23++) 0 != _0x4cee8d[_0x1adb23] && (_0x5ebf84 += '
- ' + _0x3f0eec[_0x1adb23] + ': ' + _0x3e7942(_0x4cee8d[_0x1adb23], 1) + ':' + _0x3e7942(_0x4cee8d[_0x1adb23], 0x2) + ':' + _0x3e7942(_0x4cee8d[_0x1adb23], 3) + '
'); _0x5ebf84 += '
'; } } } _0x5ebf84 += '
Автор бота: [Zorba]
', _0x5ebf84 += '
Mod by: D_R_O_N
', _0x5ebf84 += '
', undefined == sessionStorage.statDebug && (sessionStorage.statDebug = 0), 0 == sessionStorage.statDebug && _0x2f720a && (_0x5ebf84 += '
Debug
'), 1 == sessionStorage.statDebug && _0x2f720a && (_0x5ebf84 += '
Debug
', 'undefined' !== typeof p_shldSkills_l && (_0x5ebf84 += '
p_shldSkills_l : ' + p_shldSkills_l + '
'), 'undefined' !== typeof ssSk && (_0x5ebf84 += '
ssSk : ' + ssSk + '
'), 'undefined' !== typeof ssSkT && (_0x5ebf84 += '
ssSkT : ' + ssSkT + '
'), _0x5ebf84 += '
locScrolls : ' + sessionStorage.locScrolls + '
', _0x5ebf84 += '
SetDrinkHP : ' + _0x5b8987 + '
', _0x5ebf84 += '
messageLog : ' + _0x5daf30 + '
', _0x5ebf84 += '
current_log : ' + sessionStorage.current_log + '
'), _0x1adb23 = _0x5ebf84, _0x250d15 = document.createElement('div'), 1 == localStorage.statPosition && (_0x250d15.style.top = (document.documentElement.scrollTop || document.body.scrollTop) + 0x32 + 'px', _0x250d15.style.left = Math.floor(document.body.clientWidth) - 0x118 + 'px', _0x250d15.style.position = sessionStorage.statFixed ? 'fixed' : 'absolute'), _0x250d15.style.border = '3px inset black;margin-left: 0px', _0x250d15.style.outline = '3px outset black;margin-left: 0px', _0x250d15.innerHTML += '
' + _0x1adb23 + '
', document.body.appendChild(_0x250d15); } function _0x3e7942(_0x2b4870, _0x18d4da) { const _0x6f9635 = Number(_0x2b4870) - baseTime, _0x302ea1 = Math.floor(_0x6f9635 / RESURRECT_BOOK_TIMEOUT), _0x51a950 = Math.floor(_0x6f9635 / RAID_TIMER_OFFSET), _0x9fd804 = Math.floor((_0x6f9635 - RESURRECT_BOOK_TIMEOUT * _0x302ea1) / RAID_TIMER_OFFSET), _0x3db60f = Math.floor((_0x6f9635 - (RAID_TIMER_OFFSET * _0x9fd804 + RESURRECT_BOOK_TIMEOUT * _0x302ea1)) / 0x3c), _0x498519 = Math.floor(_0x6f9635 - (RAID_TIMER_OFFSET * _0x9fd804 + 0x3c * _0x3db60f + RESURRECT_BOOK_TIMEOUT * _0x302ea1)); return 0xa > _0x51a950 && (_0x51a950 = '0' + _0x51a950), 0xa > _0x9fd804 && (_0x9fd804 = '0' + _0x9fd804), 0xa > _0x3db60f && (_0x3db60f = '0' + _0x3db60f), 0xa > _0x498519 && (_0x498519 = '0' + _0x498519), [_0x51a950, _0x3db60f, _0x498519, _0x6f9635, _0x302ea1, _0x9fd804][_0x18d4da - 1]; } function _0x5705b9(_0x47af40, _0x36fb46) { return undefined == _0x36fb46 ? Math.floor(Math.random() * _0x47af40) : Math.floor(Math.random() * (_0x36fb46 - _0x47af40) + _0x47af40); } function _0x33fc16() { undefined != document.getElementById('timer') && (_0x583c25 = +new Date(), tmr = _0x3be9cd + Number(_0x4e5b62) - _0x583c25, 0x3c > tmr ? (document.getElementById('timer').innerHTML = '0.0', clearInterval(t10)) : document.getElementById('timer').innerHTML = (tmr / 0x3e8).toFixed(1)); } function _0x535697() { action || undefined != sessionStorage.abilities || 1 != wardrobe[0] || click('/user/abilities', _0x19a2b5), action || undefined != sessionStorage.SetItemsss || 1 != wardrobe[1] || click('/user/body', _0x19a2b5), action || undefined != sessionStorage.stances || 1 != wardrobe[0x2] || click('/user/stances', _0x19a2b5), _0x594bde || 1 == _0x104bc4 ? raidTimer[0x19] = 0 : 0x2 == _0x104bc4 ? raidTimer[0x19] = 0x10 : 3 == _0x104bc4 ? raidTimer[0x19] = 0x11 : 0x4 == _0x104bc4 ? raidTimer[0x19] = 0x12 : 0x5 == _0x104bc4 ? raidTimer[0x19] = 0xd : 6 == _0x104bc4 ? raidTimer[0x19] = 0xb : 8 == _0x104bc4 ? raidTimer[0x19] = _0x5748ce + 0 : 9 == _0x104bc4 ? raidTimer[0x19] = _0x5748ce + 1 : 0xa == _0x104bc4 ? raidTimer[0x19] = _0x5748ce + 0x2 : 0xb == _0x104bc4 ? (sessionStorage.trialSk.match(/Легко/i) && (raidTimer[0x19] = _0x5748ce + 3), sessionStorage.trialSk.match(/Обычно/i) && (raidTimer[0x19] = _0x5748ce + 6), sessionStorage.trialSk.match(/Сложно/i) && (raidTimer[0x19] = _0x5748ce + 9), sessionStorage.trialSk.match(/Ужасно/i) && (raidTimer[0x19] = _0x5748ce + 0xc)) : 0xc == _0x104bc4 ? (sessionStorage.trialSk.match(/Легко/i) && (raidTimer[0x19] = _0x5748ce + 0x4), sessionStorage.trialSk.match(/Обычно/i) && (raidTimer[0x19] = _0x5748ce + 0x7), sessionStorage.trialSk.match(/Сложно/i) && (raidTimer[0x19] = _0x5748ce + 0xa), sessionStorage.trialSk.match(/Ужасно/i) && (raidTimer[0x19] = _0x5748ce + 0xd)) : 0xd == _0x104bc4 ? (sessionStorage.trialSk.match(/Легко/i) && (raidTimer[0x19] = _0x5748ce + 0x5), sessionStorage.trialSk.match(/Обычно/i) && (raidTimer[0x19] = _0x5748ce + 8), sessionStorage.trialSk.match(/Сложно/i) && (raidTimer[0x19] = _0x5748ce + 0xb), sessionStorage.trialSk.match(/Ужасно/i) && (raidTimer[0x19] = _0x5748ce + 0xe)) : !_0x366f19 && confirmationButton.match('Поход') && '' != pin ? raidTimer[0x19] = 0x10 : _0x366f19 || !confirmationButton.match('Арена') || pageContent.match(/через (\d+) сек/) ? _0x366f19 || _0x31c51f || !_0x20717e ? !_0x366f19 && confirmationButton.match('Турнир героев|Праздничный турнир') ? raidTimer[0x19] = 3 : _0x366f19 || !confirmationButton.match('Выживание') || pageContent.match(/через (\d+) сек/) ? _0x366f19 || _0x31c51f || !_0x5e9fcd || pageContent.match(/Битва претендентов началась!|Вход на территорию откроется|Набег timeout|Набег начался/i) ? _0x366f19 || _0x31c51f || !confirmationButton.match('Битва героев') ? !_0x366f19 && confirmationButton.match('Поля сражений') ? raidTimer[0x19] = 0x7 : !_0x366f19 && !_0x31c51f && targetSplit && _0x5cd1e0 && 0 <= _0x530d0f ? (raidTimer[0x19] = _0x5748ce + 0xf + _0x530d0f - 6, 14 == _0x530d0f && (raidTimer[0x19] = _0x5748ce + 0x18), 0xc == _0x530d0f && (_0x1da492.match(/great_bers/) && (raidTimer[0x19] = _0x5748ce + 0x15), _0x1da492.match(/great_goli/) && (raidTimer[0x19] = _0x5748ce + 0x16), _0x1da492.match(/great_atl/) && (raidTimer[0x19] = _0x5748ce + 0x17))) : !_0x366f19 && !_0x31c51f && targetSplit && !_0x5cd1e0 && 0 <= _0x530d0f ? raidTimer[0x19] = 0x13 : !_0x366f19 && confirmationButton.match('Логово Геррода') ? raidTimer[0x19] = 9 : !_0x366f19 && confirmationButton.match(/Цари горы/i) ? raidTimer[0x19] = 0xa : !_0x366f19 && confirmationButton.match('Некромант') ? raidTimer[0x19] = 0x15 : !_0x366f19 && confirmationButton.match('Командный турнир|Праздничный турнир') ? raidTimer[0x19] = 0xc : !_0x366f19 && !_0x31c51f && _0x5e9fcd && pageContent.match(/Набег timeout|Набег начался/) ? raidTimer[0x19] = 0xe : !_0x366f19 && confirmationButton.match(/Зимние варварские игры|Клановый турнир/i) ? raidTimer[0x19] = 0xf : !_0x366f19 && confirmationButton.match('Турнир выживания|Праздничный турнир') ? raidTimer[0x19] = 0x14 : confirmationButton.match(/Мои умения|Моё снаряжение|Таланты/i) || (raidTimer[0x19] = 0x3e7) : raidTimer[0x19] = 6 : raidTimer[0x19] = 0x5 : raidTimer[0x19] = 0x4 : raidTimer[0x19] = 0x2 : raidTimer[0x19] = 1; if (!_0x366f19 && !_0x31c51f) { if (1 == wardrobe[0]) { if (confirmationButton.match('Мои умения')) { if (pageContent.match('Умения нельзя менять в бою')) '' != _0x5bf9af ? click(_0x5bf9af, _0x19a2b5) : 0 != _0x4cee8d[9] && 0 == raidTimer[0x19] ? click('/journey/0/1', timeout) : click(user, _0x19a2b5);else { if (undefined != sessionStorage.setAbil) { if (1 == sessionStorage.setAbil.length) { if (0 == _0x4f2740) document.forms[0].setChoose.value = sessionStorage.setAbil, setTimeout(function () { document.forms[0].submit(); }, 0x3e8), action = true;else { for (const _0x463825 = 1; 0xa >= _0x463825; _0x463825++) sessionStorage.setAbil == _0x463825 && undefined != _0xd9b289[_0x463825] && click(_ref[_0xd9b289[_0x463825]], _0x19a2b5); } } else { const _0x463825 = /(\d)(\d\d)(\d\d)(\d\d)/.exec(sessionStorage.setAbil), _0x3779cf = _0x4f45e6[Number(_0x463825[0x2]) - 1], _0x339202 = _0x4f45e6[Number(_0x463825[3]) - 1], _0xf48477 = _0x4f45e6[Number(_0x463825[0x4]) - 1], _0x3473e4 = sessionStorage.abilities2.match(new RegExp(_0x124d7d(_0x3779cf), 'i')), _0x1c3671 = sessionStorage.abilities2.match(new RegExp(_0x124d7d(_0x339202), 'i')), _0x1f0c2d = sessionStorage.abilities2.match(new RegExp(_0x124d7d(_0xf48477), 'i')); if (!(_0x3473e4 && _0x1c3671 && _0x1f0c2d)) { for (_0x463825 = 0; _0x463825 < _0x5c7030.length; _0x463825++) if (undefined != _0x5c7030[_0x463825].querySelectorAll('a')[0] && _0x5c7030[_0x463825].querySelectorAll('a')[0].href.match('/ability/') && undefined != _0x5c7030[_0x463825].querySelectorAll('a')[1] && _0x124d7d(_0x5c7030[_0x463825].querySelectorAll('a')[1].textContent).match(/выбрать/i) && !_0x124d7d(_0x5c7030[_0x463825].textContent).match(/Выбранные:/i)) { const _0x3c3fd7 = _0x5c7030[_0x463825].querySelectorAll('a')[0], _0x3c3fd7 = _0x124d7d(_0x3c3fd7.textContent), _0x23d41b = _0x5c7030[_0x463825].querySelectorAll('a')[1]; (_0x3c3fd7.match(new RegExp(_0x124d7d(_0x3779cf), 'i')) && !_0x3473e4 || _0x3c3fd7.match(new RegExp(_0x124d7d(_0x339202), 'i')) && !_0x1c3671 || _0x3c3fd7.match(new RegExp(_0x124d7d(_0xf48477), 'i')) && !_0x1f0c2d) && click(_0x23d41b, _0x19a2b5); } } } } } sessionStorage.removeItem('setAbil'); } undefined == sessionStorage.abilities || action || (_0x4bcd62(0) && 0 == raidTimer[0x19] && _0x594bde ? click(naGlavnuy, _0x19a2b5) : _0x4bcd62(raidTimer[0x19]) && (sessionStorage.setAbil = Abilities_N[raidTimer[0x19]], click('/user/abilities', _0x19a2b5))); } if (1 == wardrobe[1]) { if (confirmationButton.match('Моё снаряжение')) { if (!pageContent.match('Переодеваться в бою нельзя')) { if (undefined != sessionStorage.setItem_) { if (0 == _0x60f45) document.forms[0].setChoose.value = sessionStorage.setItem_, setTimeout(function () { document.forms[0].submit(); }, 0x3e8), action = true;else { for (_0x463825 = 1; 0xa >= _0x463825; _0x463825++) sessionStorage.setItem_ == _0x463825 && undefined != _0x56706b[_0x463825] && click(_ref[_0x56706b[_0x463825]], _0x19a2b5); } } else '' != _0x5bf9af ? click(_0x5bf9af, _0x19a2b5) : 0 != _0x4cee8d[9] && 0 == raidTimer[0x19] ? click('/journey/0/1', timeout) : click(user, _0x19a2b5); } sessionStorage.removeItem('setItem_'); } undefined == sessionStorage.SetItemsss || action || (_0xcc2e96(0) && 0 == raidTimer[0x19] && _0x594bde ? click(naGlavnuy, _0x19a2b5) : _0xcc2e96(raidTimer[0x19]) && (sessionStorage.setItem_ = Item_Set_N[raidTimer[0x19]], click('/user/body', _0x19a2b5))); } if (1 == wardrobe[0x2]) { if (confirmationButton.match('Таланты')) { if (!pageContent.match('Менять таланты в бою нельзя')) { if (undefined != sessionStorage.setStanc) { if (0 == _0x1d12f2) document.forms[0].setChoose.value = sessionStorage.setStanc, setTimeout(function () { document.forms[0].submit(); }, 0x3e8), action = true;else { for (_0x463825 = 1; 0xa >= _0x463825; _0x463825++) sessionStorage.setStanc == _0x463825 && undefined != _0x285b94[_0x463825] && click(_ref[_0x285b94[_0x463825]], _0x19a2b5); } } else '' != _0x5bf9af ? click(_0x5bf9af, _0x19a2b5) : 0 != _0x4cee8d[9] && 0 == raidTimer[0x19] ? click('/journey/0/1', timeout) : click(user, _0x19a2b5); } sessionStorage.removeItem('setStanc'); } undefined == sessionStorage.stances || action || (_0x46f0ed(0) && 0 == raidTimer[0x19] && _0x594bde ? click(naGlavnuy, _0x19a2b5) : _0x46f0ed(raidTimer[0x19]) && (sessionStorage.setStanc = Stances_N[raidTimer[0x19]], click('/user/stances', _0x19a2b5))); } if (!action && (_0x594bde || !_0x594bde && !_0x366f19 && !_0x31c51f)) { !_0xce0599 && (0x1f4 > Number(sessionStorage.currentMoney) || confirmationButton.match(/Активация свитков/i) && pageContent.match(/не хватает золота/i)) ? sessionStorage.Money = '0' : 0x1f4 <= Number(sessionStorage.currentMoney) ? sessionStorage.Money = '1' : _0xce0599 && (sessionStorage.Money = '1'), 0x3e7 != raidTimer[0x19] && (sessionStorage.locScrolls = Number(raidTimer[0x19]) + 1), _0x463825 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], _0x3779cf = [_0x463825, _0x455776, _0xc4814f, _0x2f143f, _0x4acbcb, _0x554a6a, _0x474b86, _0x440ba4, _0x46a424, _0x38eb06, _0x1711bc, _0x52485e, _0x5f48b2, _0xeb8fb7, _0x463825, _0x474b86, _0x30da4c, _0x4e1b35, _0x463825, _0x463825, _0x463825, _0x3ead16, _0x20eda1, _0x20eda1, _0x20eda1, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x579613, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x38eb06, _0x1e7105][sessionStorage.locScrolls], '0' == sessionStorage.Money && (_0x3779cf = _0x463825), _0x2cb347 && (_0x3779cf[0x10] = _0x3779cf[0x11] = 0); if (sessionStorage.currScrolls != sessionStorage.locScrolls && 0 != _0x3c05b8 && (sessionStorage.currScrolls = sessionStorage.locScrolls, 0x4 != _0x3c05b8)) { for (_0x463825 = 0; _0x463825 < _0x725e57.length; _0x463825++) _0x725e57[_0x463825] = ''; } for (_0x463825 = 0; _0x463825 < _0x3779cf.length / 0x2; _0x463825++) 0 == _0x570e98[_0x463825] && (0 != _0x3779cf[0x2 * _0x463825] && 'нет' != _0x725e57[0x2 * _0x463825] || 0 != _0x3779cf[0x2 * _0x463825 + 1] && 'нет' != _0x725e57[0x2 * _0x463825 + 1]) && !confirmationButton.match(/Активация свитков|Подтверждение/i) && click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.user.rack.ActivateScrollsPage', _0x19a2b5); if (confirmationButton.match(/Активация свитков/i)) { _0x339202 = [0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7]; for (_0x463825 = 0; _0x463825 < _0x3779cf.length / 0x2; _0x463825++) { _0xf48477 = ''; for (z = 0; z < _0x5c7030.length; z++) _0x3c3fd7 = _0x124d7d(_0x5c7030[z].textContent), !_0x3c3fd7.match('Выбраны свитки:') && undefined != _0x5c7030[z].querySelectorAll('a')[0] && _0x5c7030[z].querySelectorAll('a')[0].href.match('/item/id/') && undefined != _0x5c7030[z].querySelectorAll('a')[1] && (_0x3473e4 = /\d+/.test(_0x124d7d(_0x5c7030[z].textContent)), _0x1c3671 = _0x239db4(_0x5c7030[z].innerHTML), _0x1f0c2d = _0x5c7030[z].querySelectorAll('a')[1], _0x3c3fd7.match(_0x243253[_0x463825]) && _0x124d7d(_0x5c7030[z].querySelectorAll('a')[1].textContent).match(/отменить/i) && (_0x725e57[0x2 * _0x463825] = 'выбран', _0x725e57[0x2 * _0x463825 + 1] = 'выбран'), _0x3c3fd7.match(_0x243253[_0x463825]) && _0x124d7d(_0x5c7030[z].querySelectorAll('a')[1].textContent).match(/выбрать/i) && 'выбран' != _0x725e57[0x2 * _0x463825] && 'выбран' != _0x725e57[0x2 * _0x463825 + 1] && _0x1c3671 <= _0x3779cf[0x2 * _0x463825 + (_0x3473e4 ? 1 : 0)] && (_0x1c3671 < _0x339202[_0x463825] && !_0x3473e4 || _0x1c3671 <= _0x339202[_0x463825] && _0x3473e4) && (_0x339202[_0x463825] = _0x1c3671, _0xf48477 = _0x1f0c2d)); _0xf48477 ? click(_0xf48477, _0x19a2b5) : (_0x725e57[0x2 * _0x463825] = 'нет', _0x725e57[0x2 * _0x463825 + 1] = 'нет'); } '' != _0x4b77da && '0' != sessionStorage.Money && click(_0x4b77da, _0x19a2b5); } confirmationButton.match('Подтверждение') && pageContent.match(/Он заменит текущий/i) ? _0x2f7583() : '' != _0x1ef8c6 && confirmationButton.match('Подтверждение') && !pageContent.match(/Ты можешь взять в бой ещё одно умение/i) && click(_0x1ef8c6, _0x19a2b5); } } } function _0xcc2e96(_0x1c4a2d) { return sessionStorage.SetItemsss.split(' ')[0] >= Item_Set_N[_0x1c4a2d] && 0 != Item_Set_N[_0x1c4a2d] && !sessionStorage.SetItemsss.match(Item_Set_N[_0x1c4a2d] + ',') ? true : false; } function _0x46f0ed(_0x10690e) { return sessionStorage.stances.split(' ')[0] >= Stances_N[_0x10690e] && 0 != Stances_N[_0x10690e] && !sessionStorage.stances.match(Stances_N[_0x10690e] + ',') ? true : false; } function _0x4bcd62(_0x174c12) { if (0x3e7 == _0x174c12 || 0x7 != Abilities_N[_0x174c12].toString().length) return sessionStorage.abilities.split(' ')[0] >= Abilities_N[_0x174c12] && 0 != Abilities_N[_0x174c12] && !sessionStorage.abilities.match(Abilities_N[_0x174c12] + ',') ? true : false; const _0x56993b = /(\d)(\d\d)(\d\d)(\d\d)/.exec(Abilities_N[_0x174c12]), _0x3c03b9 = _0x4f45e6[Number(_0x56993b[3]) - 1]; return _0x174c12 = _0x4f45e6[Number(_0x56993b[0x4]) - 1], _0x56993b = sessionStorage.abilities2.match(new RegExp(_0x124d7d(_0x4f45e6[Number(_0x56993b[0x2]) - 1]), 'i')), _0x3c03b9 = sessionStorage.abilities2.match(new RegExp(_0x124d7d(_0x3c03b9), 'i')), _0x174c12 = sessionStorage.abilities2.match(new RegExp(_0x124d7d(_0x174c12), 'i')), !(_0x56993b && _0x3c03b9 && _0x174c12); } function _0x240ca5(_0x4df686) { if (_0x16299b != '') click(_0x16299b, timeout); _0x156e4f && '' != _0x27a88e ? click(_0x27a88e, timeout) : targetSplit || !done() || _0x5bf9af || confirmationButton.match('Подтверждение') || click(naGlavnuy, timeout); } function _0x580121(_0x31108f) { if (undefined == _0x31108f) return 0; return 0x2 == _0x31108f.toString().length && (_0x31108f = Number(_0xce0599 ? _0x31108f.toString()[0] : _0x31108f.toString()[1])), 1 == _0x31108f || 0x2 == _0x31108f && 0 == _0x4cee8d[9] || 3 == _0x31108f && 0 != _0x4cee8d[9] || 0x4 == _0x31108f && 0 == raidTimer[0x22] || 0x5 == _0x31108f && 1 == raidTimer[0x22] || 6 == _0x31108f && 0 == raidTimer[0x22] && 0 == _0x4cee8d[9] || 0x7 == _0x31108f && 1 == raidTimer[0x22] && 0 == _0x4cee8d[9] || 8 == _0x31108f && 0 == raidTimer[0x22] && 0 != _0x4cee8d[9] || 9 == _0x31108f && 1 == raidTimer[0x22] && 0 != _0x4cee8d[9] ? true : false; } function _0x2f7583() { raidTimer[0x16] = 1, confirmationButton.match('Мои умения') ? (raidTimer[0x16] = 0, sessionStorage.makeStage = 0) : confirmationButton.match('Мой герой') && '' != _0x487564 ? click(_0x487564, timeout) : (_0x594bde || _0x15d34d) && done() ? click(naGlavnuy, timeout) : click(user, timeout); } function _0x4a25c5(_0x31aab2) { _0x31aab2.match(/\./) ? (_0x4f5ee9 = 1, _0x31aab2 = _0x31aab2.split('.')) : _0x31aab2.match(/%/) ? (_0x4f5ee9 = 0x2, _0x31aab2 = _0x31aab2.split('%')) : _0x31aab2.match(/\+/) && (_0x4f5ee9 = 3, _0x31aab2 = _0x31aab2.split('+')); const _0x2a31f7 = _0x31aab2[0]; return _0x31aab2 = _0x31aab2[1], _0x210c21 = 0x2 == _0x2a31f7 || 0x4 == _0x2a31f7, _0x19c206 = 3 <= _0x2a31f7 && 0x5 > _0x2a31f7, 1 == _0x4f5ee9 ? 1 > _0x2a31f7 ? 0 : Number('1.' + _0x31aab2) : 0x2 == _0x4f5ee9 ? characterzdorovie * _0x31aab2 / 0x64 : 3 == _0x4f5ee9 ? (_0x4f5ee9 = 0x2, _0x31aab2) : 0; } function _0x5c0e2c(_0x2c5de9) { _0x2c5de9.match(/\./) ? (_0x56b85f = 1, _0x2c5de9 = _0x2c5de9.split('.')) : _0x2c5de9.match(/%/) ? (_0x56b85f = 0x2, _0x2c5de9 = _0x2c5de9.split('%')) : _0x2c5de9.match(/\+/) && (_0x56b85f = 3, _0x2c5de9 = _0x2c5de9.split('+')); const _0x2b88b1 = _0x2c5de9[0]; return _0x2c5de9 = _0x2c5de9[1], 1 == _0x56b85f ? 1 > _0x2b88b1 ? 0 : Number('1.' + _0x2c5de9) : 0x2 == _0x56b85f ? characterzdorovie * _0x2c5de9 / 0x64 : 3 == _0x56b85f ? (_0x4f5ee9 = 0x2, _0x2c5de9) : 0; } function _0xa531a2(_0x5d0ee4, _0x279386) { _0x5d0ee4.match(/\./) ? (_0x1a3478[_0x279386] = 1, _0x5d0ee4 = _0x5d0ee4.split('.')) : _0x5d0ee4.match(/%/) ? (_0x1a3478[_0x279386] = 0x2, _0x5d0ee4 = _0x5d0ee4.split('%')) : _0x5d0ee4.match(/\+/) && (_0x1a3478[_0x279386] = 3, _0x5d0ee4 = _0x5d0ee4.split('+')); const _0x2fbe36 = _0x5d0ee4[0], _0x25d93a = _0x5d0ee4[1]; return 1 == _0x1a3478[_0x279386] ? 1 > _0x2fbe36 ? 0 : Number('1.' + _0x25d93a) : 0x2 == _0x1a3478[_0x279386] ? 1 > _0x2fbe36 ? 0 : characterzdorovie * _0x25d93a / 0x64 : 3 == _0x1a3478[_0x279386] ? (_0x1a3478[_0x279386] = 0x2, 1 > _0x2fbe36 ? 0 : _0x25d93a) : 0; } function _0x2918c4(_0x3f1291) { return _0x3f1291.match(/Шлем|Шапка|Шляпа|Фуражка|Повязка/i) ? 0 : _0x3f1291.match(/Амулет|Медальон|Борода|Медальон|Значок/i) ? 1 : _0x3f1291.match(/Наплечник|Воротник/i) ? 0x2 : _0x3f1291.match(/Накидка|Бурка|Мешок|Плащ|Плащ-накидка/i) ? 3 : _0x3f1291.match(/Кираса|Кольчуга|Шуба|Куртка|Рубашка|Бушлат/i) ? 0x4 : _0x3f1291.match(/Пояс/i) ? 0x5 : _0x3f1291.match(/Штаны|Поножи/i) ? 6 : _0x3f1291.match(/Браслет/i) ? 0x7 : _0x3f1291.match(/Наручи|Рукавицы|Перчатки|Варежки/i) ? 8 : _0x3f1291.match(/Кольцо|Перстень/i) ? 9 : _0x3f1291.match(/Посох|Секира|Молот|Копье|Топор|Палка|Меч|Дубинка/i) ? 0xa : _0x3f1291.match(/Сапоги|Валенки|Ботинки|Чеботы/i) ? 0xb : _0x3f1291.match(/^Обсидиан/i) ? 0x14 : _0x3f1291.match(/^Оникс/i) ? 0x15 : _0x3f1291.match(/^Сапфир/i) ? 0x16 : _0x3f1291.match(/^Корунд/i) ? 0x17 : _0x3f1291.match(/^Изумруд/i) ? 0x18 : _0x3f1291.match(/руна силы/i) ? 0x1e : _0x3f1291.match(/руна здоровья/i) ? 0x1f : _0x3f1291.match(/руна энергии/i) ? 0x20 : _0x3f1291.match(/руна брони|руна защиты/i) ? 0x21 : _0x3f1291.match(/руна регенерации/i) ? 0x22 : _0x3f1291.match(/руна исцеления/i) ? 0x23 : _0x3f1291.match(/руна жизни|руна живучести/i) ? 0x24 : _0x3f1291.match(/руна славы|руна участия/i) ? 0x25 : _0x3f1291.match(/руна стойкости/i) ? 0x26 : _0x3f1291.match(/руна ярости|руна урона/i) ? 0x27 : _0x3f1291.match(/Запертый ящик/i) ? 0x28 : _0x3f1291.match(/Праздничный ящик/i) ? 0x29 : _0x3f1291.match(/Сундук некроманта/i) ? 0x2a : _0x3f1291.match(/Подарок алхимика/i) ? 0x32 : _0x3f1291.match(/Медитация/i) ? 0x33 : _0x3f1291.match(/Секрет победы/i) ? 0x34 : _0x3f1291.match(/Рефлекс тигра/i) ? 0x35 : _0x3f1291.match(/Ярость смертника/i) ? 0x36 : _0x3f1291.match(/Ледяной щит/i) ? 0x37 : _0x3f1291.match(/Жажда познания/i) ? 0x38 : _0x3f1291.match(/Адреналин/i) ? 0x39 : _0x3f1291.match(/Опустошение/i) ? 0x3a : _0x3f1291.match(/Сила критона/i) ? 0x3b : _0x3f1291.match(/Уверенное дыхание/i) ? 0x3c : _0x3f1291.match(/Нарастающий гнев/i) ? 0x3d : _0x3f1291.match(/Стойкость голиафа/i) ? 0x3e : _0x3f1291.match(/Стойкость/i) ? 0x3f : _0x3f1291.match(/Решительное дыхание/i) ? 0x40 : _0x3f1291.match(/Гнев древних/i) ? 0x41 : _0x3f1291.match(/Дар алхимика/i) ? 0x42 : _0x3f1291.match(/Великая медитация/i) ? 0x43 : _0x3f1291.match(/Секрет успеха/i) ? 0x44 : _0x3f1291.match(/Скорость тигра/i) ? 0x45 : _0x3f1291.match(/Ярость древних/i) ? 0x46 : _0x3f1291.match(/Морозный щит/i) ? 0x47 : _0x3f1291.match(/Древнее знание/i) ? 0x48 : _0x3f1291.match(/Великий адреналин/i) ? 0x49 : _0x3f1291.match(/Мощь критона/i) ? 0x4a : _0x3f1291.match(/Стратегический ум/i) ? 0x4b : _0x3f1291.match(/Знание гладиаторов/i) ? 0x4c : _0x3f1291.match(/Свирепость/i) ? 0x4d : _0x3f1291.match(/Мастерство осады/i) ? 0x4e : _0x3f1291.match(/Неукротимая воля/i) ? 0x4f : _0x3f1291.match(/Безжалостность/i) ? 0x50 : _0x3f1291.match(/Мастер выживания/i) ? 0x51 : _0x3f1291.match(/Бонус замка/i) ? 0x5a : _0x3f1291.match(/Бонус удачи/i) ? 0x5b : _0x3f1291.match(/Дар чемпиона/i) ? 0x5c : _0x3f1291.match(/Нерушимость/i) ? 0x5d : _0x3f1291.match(/Дух доминатора/i) ? 0x5e : _0x3f1291.match(/Верность клану/i) ? 0x5f : _0x3f1291.match(/алтарь/i) ? 0x60 : _0x3f1291.match(/Обсидиана/i) ? 0x78 : _0x3f1291.match(/Оникса/i) ? 0x79 : _0x3f1291.match(/Сапфира/i) ? 0x7a : _0x3f1291.match(/Корунда/i) ? 0x7b : _0x3f1291.match(/Изумруда/i) ? 0x7c : _0x3f1291.match(/Книга Геррода/i) ? 0x8c : _0x3f1291.match(/Книга прочности/i) ? 0x8d : _0x3f1291.match(/Книга пробуждения/i) ? 0x8e : _0x3f1291.match(/Книга изобилия/i) ? 0x8f : _0x3f1291.match(/Древняя Летопись/i) ? 0x90 : _0x3f1291.match(/Книга Доминатора/i) ? 0x91 : _0x3f1291.match(/Трактат Удачи/i) ? 0x92 : _0x3f1291.match(/Фолиант Времени/i) ? 0x93 : _0x3f1291.match(/Книга Нерушимости/i) ? 0x94 : _0x3f1291.match(/Книга Возвышения/i) ? 0x95 : _0x3f1291.match(/Фолиант Мудрости/i) ? 0x96 : _0x3f1291.match(/Книга Дракона/i) ? 0x97 : _0x3f1291.match(/Книга Великого Алтаря/i) ? 0x98 : _0x3f1291.match(/Книга Оракула/i) ? 0x99 : -1; } function _0x239db4(_0x2730eb) { return _0x2730eb.match(/brown|copper/) ? 1 : _0x2730eb.match(/green/) ? 0x2 : _0x2730eb.match(/rare/) ? 3 : _0x2730eb.match(/epic/) ? 0x4 : _0x2730eb.match(/legend/) ? 0x5 : _0x2730eb.match(/mif|darkiron/) ? 6 : 0x7; } function _0x5ad92b() { if (strateg&& localStorage.iTs3 == 0 && (strategMind && 0 != _0x570e98[0xd] || !strategMind) && 1 != raidTimer[0x12] && !action && !targetSplit && done()) { if (pageContent.match(/Ты уже используешь все доступные умения/i)) { localStorage.iTs3 = 1;localStorage.iTs11 = 0;click(user, timeout); } else { if (1 == raidTimer[0x16] && _0x2f7583(), confirmationButton.match('Пассивное умение')) { // const config = /Мои очки полей (\d+)/i; const config = /У тебя очков полей (\d+)/i; config.test(pageContent) && (_0x4f6910 = config.exec(pageContent)[1]), pageContent.match('Ты уже используешь все доступные умения') || pageContent.match('не хватает очков полей') ? click(user, timeout) : 1 <= _0x4f6910 && pageContent.match(/\[купить\] цена:1 /) && !pageContent.match(/\[купить\] цена:6 /) ? click(selector, timeout) : !strategMind && 6 <= _0x4f6910 && '' != selector ? click(selector, timeout) : !strategMind && 3 <= _0x4f6910 && '' != ctx ? click(ctx, timeout) : !strategMind && 1 <= _0x4f6910 && '' != items ? click(items, timeout) : raidTimer[0x12] = 1; // if (_0x4f6910 >10) { // localStorage.iTs3 = 0; // click(user, timeout); // } if (_0x4f6910 == 0 ) { localStorage.iTs3 = 1; localStorage.iTs11 = 0; click(user, timeout); } } else { for (config = 0; 9 >= config; config++) 0 == _0x570e98[config] && 8 != config && (confirmationButton.match('Магазин умений') && '' != _0x52280f ? click(_0x52280f, timeout) : confirmationButton.match('Мои умения') && '' != _0x3cf9a4 ? click(_0x3cf9a4, timeout) : confirmationButton.match('Мой герой') && '' != _0x487564 ? click(_0x487564, timeout) : _0x594bde ? click(naGlavnuy, timeout) : click(user, timeout)); } } } } function _0x58fa79(_0x53d2fa) { return Number(RAID_TIMER_OFFSET * Number(_0x53d2fa[1]) + 0x3c * Number(_0x53d2fa[0x2]) + Number(_0x53d2fa[3])); } function _0x1e0dd2() { if (0x5 <= sessionStorage.games_arena && 0 < APTStoIron && (APTStoIron <= _0x2c52b2 && 0 == sessionStorage.newDay_APTS || 0x2 == sessionStorage.newDay_APTS) && 0x19 <= _0x32be4d) { if (sessionStorage.newDay_APTS = 0x2, _0x156e4f && '' != _0x52d923) click(_0x52d923, timeout);else { if (confirmationButton.match('Магазины') && '' != _0x4b43b6) click(_0x4b43b6, timeout);else { if (confirmationButton.match('Магазин арены') && pageContent.match(/эпические/) && _0x4fd121.match(/эпические/) && '' != _0x355b17) click(_0x355b17, timeout);else { if (confirmationButton.match('Подтверждение') && '' != _0x1ef8c6 && pageContent.match(/очков арены/) && !action) click(_0x1ef8c6, timeout);else { if (confirmationButton.match('Магазин арены') && pageContent.match(/эпические/) && !_0x4fd121.match(/эпические/)) { for (const _0x348ac9 = 0x7d0, _0x2b0021 = '', _0x247d6d = _ref.length - 1; 0 <= _0x247d6d; _0x247d6d--) { const _0x10a33b = _0x124d7d(_ref[_0x247d6d].text); /Купить за/.test(_0x10a33b) && Number(/\d+/.exec(_0x10a33b)) < _0x348ac9 && (_0x2b0021 = _ref[_0x247d6d], _0x348ac9 = /\d+/.exec(_0x10a33b)); } _0x2b0021 || action ? 0x2 != sessionStorage.newDay_APTS || '' == _0x2b0021 || action || click(_0x2b0021, timeout) : (sessionStorage.newDay_APTS = 1, click(naGlavnuy, timeout)); } else targetSplit || !done() || _0x5bf9af || click(naGlavnuy, timeout); } } } } } } function _0x1e0dd3() { // Предварительные проверки if ( sessionStorage.games_arena >= 0x5 && APTStoIronm > 0 && APTStoIronm <= _0x2c52b2 && (sessionStorage.newDay_APTSm == 0 || sessionStorage.newDay_APTSm == 0x2) && _0x32be4d >= 0x19 ) { // Обновляем статус дня покупки sessionStorage.newDay_APTSm = 0x2; // Проверяем, что кнопка существует и нажимаем её if (_0x156e4f && _0x52d923 != '') { click(_0x52d923, timeout); } else if (confirmationButton.match('Магазины') && _0x4b43b6 != '') { click(_0x4b43b6, timeout); } else if (confirmationButton.match('Магазин арены') && _0x355b18 != '') { click(_0x355b18, timeout); } else if (confirmationButton.match('Подтверждение') && _0x1ef8c6 != '' && pageContent.match(/очков арены/) && !action) { click(_0x1ef8c6, timeout); } // Основные покупки в зависимости от выбранного товара if (confirmationButton.match('Магазин арены')) { switch(magazareni[0]) { case 1: click(Helmetmif, timeout); break; case 2: click(amuletmif, timeout); break; case 3: click(Shoulderpadmif, timeout); break; case 4: click(Burkamif, timeout); break; case 5: click(Cuirassmif, timeout); break; case 6: click(Beltmif, timeout); break; case 7: click(Trousersmif, timeout); break; case 8: click(braceletmif, timeout); break; case 9: click(bracersmif, timeout); break; case 10: click(Ringmif, timeout); break; case 11: click(Swordmif, timeout); break; case 12: click(Bootsmif, timeout); break; case 13: click(_podaroksokr4, timeout); break; } } } if (confirmationButton.match(/Магазин арены/i) && _podaroksokr4 != '') { click(_podaroksokr4, timeout); } } function done() { return !_0x319ef3 || confirmationButton.match(/Арена|Выживание/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('(Твой|Ваш) герой погиб, жди(те)? окончания боя')) ? true : false; } const _0x5c29d1 = 'т', _0x431f9b = 'и', _0x11dab4 = 'т', _0x5c439d = 'е', _0x33a10d = 'с', _0x15a4f0 = 'ь', _0x11414f = 'к', _0x8150d3 = 'р', _0x1a6900 = 'о', _0x28af42 = 'д', _0x2e9399 = ':', _0x406693 = '4'; function _0x52380a() { const _0x163a8e = /Будет активен еще: (\d+д.)?(\d+ч.)?(\d+мин.)?(\d+сек.)?/i; 0 == sessionStorage.premtime && confirmationButton.match(/Мой герой/i) && '' != _0x5d8291 ? click(_0x5d8291, timeout) : 0 != sessionStorage.premtime || confirmationButton.match(/Мой герой|премиум/i) || '' == user || click(user, timeout); if (confirmationButton.match(/премиум/i) && _0x163a8e.exec(pageContent)) { sessionStorage.premtime = 0, _0x163a8e = _0x163a8e.exec(pageContent); for (_0x1c1c07 = 1; 0x5 > _0x1c1c07; _0x1c1c07++) undefined != _0x163a8e[_0x1c1c07] && (1 == _0x1c1c07 && (sessionStorage.premtime = Number(sessionStorage.premtime) + Number(RESURRECT_BOOK_TIMEOUT * /\d+/.exec(_0x163a8e[_0x1c1c07]))), 0x2 == _0x1c1c07 && (sessionStorage.premtime = Number(sessionStorage.premtime) + Number(RAID_TIMER_OFFSET * /\d+/.exec(_0x163a8e[_0x1c1c07]))), 3 == _0x1c1c07 && (sessionStorage.premtime = Number(sessionStorage.premtime) + Number(0x3c * /\d+/.exec(_0x163a8e[_0x1c1c07]))), 0x4 == _0x1c1c07 && (sessionStorage.premtime = Number(sessionStorage.premtime) + Number(/\d+/.exec(_0x163a8e[_0x1c1c07])))); sessionStorage.premtime = Number(sessionStorage.premtime) + Number(baseTime); } } function _0x470ed7() { function _0x582f4d(_0x5a076e, _0x1b6f8b, _0x1ae962) { if ('' != _0x5a076e) { if (0x2 == _0x1b6f8b) _0x4fb0a7(_0x5a076e, _0x1b6f8b, _0x1ae962);else { if ((1 == _0x1b6f8b || 3 == _0x1b6f8b) && confirmationButton.match(/Клан /i) && '' != _0x468386 && !pageContent.match(/Новое объявление/)) click(_0x468386, _0x19a2b5);else { if ((1 == _0x1b6f8b || 3 == _0x1b6f8b) && '' != _0x26dcce && !confirmationButton.match(/Клан /i)) click(_0x26dcce, _0x19a2b5);else { if (confirmationButton.match(/Клан /i) && pageContent.match(/Новое объявление/i) && (1 == _0x1b6f8b || 3 == _0x1b6f8b)) { if ('' != _0x1cb5ce && !_0xff4a55) { for (const _0x591067 = _0x1cb5ce, _0x3d4453 = 0; _0x3d4453 < _0x14280b.length; _0x3d4453++) _0x591067 = _0x591067.replace(_0x14280b[_0x3d4453].split('/')[0], ''); for (_0x3d4453 = 0; _0x3d4453 < _0x48568f.length; _0x3d4453++) _0x591067 = _0x591067.replace(_0x48568f[_0x3d4453], ''); _0x591067 = _0x591067.replace(new RegExp('территория|терра|рестарт|' + groupRestart + '|' + bossRessCmd, 'ig'), ''), _0x591067 = _0x591067.replace(new RegExp('(' + _0x54dca1 + ')', 'ig'), ''), _0x591067 = _0x591067.replace(/\/\/(.|\s|\n)+/, '').trim() + ' ' + _0x5a076e, 0x40 > _0x591067.length && (_0x5a076e = _0x591067); } _0x4fb0a7(_0x5a076e, _0x1b6f8b, _0x1ae962); } } } } } } function _0x4fb0a7(_0x33a71e, _0x36b810, _0x192bb2) { action = true, 0 < _0x192bb2 ? sessionStorage.notify = 1 : sessionStorage.removeItem('notify'), 3 == _0x36b810 && (sessionStorage.notify1 = 1), document.getElementsByTagName('input')[1].value = _0x33a71e, document.getElementsByTagName('input')[0x2].click(); } (_0x594bde || _0x319ef3) && sessionStorage.removeItem('notify'); if (undefined == sessionStorage.goToBoss || 0 <= sessionStorage.goToBoss && 0x5 > sessionStorage.goToBoss) { for (const _0xd586ec = 0; _0xd586ec < GoBossClan.length; _0xd586ec++) if (_0x580121(GoBossClan[_0xd586ec]) && 0 == _0x1afc50[_0xd586ec + 0x7]) { const git = /(\d+):(\d+)\/(\d+):(\d+)/.exec(_0x590e48[_0xd586ec]), object = RAID_TIMER_OFFSET * git[1] + 0x3c * git[0x2]; RAID_TIMER_OFFSET * git[3] + 0x3c * git[0x4] >= _0x54ca18 && object <= _0x54ca18 && (sessionStorage.goToBoss = _0xd586ec + 0x7); } } if (1 == enableRaidAutoRess) { if (0 == raidTimer[0x3b] && 0 == raidTimer[0x3c] && 0 == sessionStorage.notify1) { git = 1; for (_0xd586ec = 0x7; _0xd586ec < _0x529095.length; _0xd586ec++) if ((/нет/.test(_0x1afc50[_0xd586ec]) || 0 == _0x1afc50[_0xd586ec]) && _0x580121(GoBossClan[_0xd586ec - 0x7])) { git = 0; break; } git && _0x582f4d(bossRessCmd, 3, 1); } if (0 == raidTimer[0x3b] && 0 == raidTimer[0x3c] && 1 == sessionStorage.notify1) { git = 1; for (_0xd586ec = 0x7; _0xd586ec < _0x529095.length; _0xd586ec++) if ((/нет/.test(_0x1afc50[_0xd586ec]) || 0 == _0x1afc50[_0xd586ec]) && _0x580121(GoBossClan[_0xd586ec - 0x7])) { git = 0; break; } git && (sessionStorage.readRessurectBook = 1, sessionStorage.notify1 = 0x2); } } !_0x366f19 && !_0x31c51f && 0x7 <= _0x530d0f && 1 == raidTimer[0x31] && confirmationButton.match(new RegExp(_0x529095[_0x530d0f] + '|Клан ', 'i')) && (0x1e <= sessionStorage.notify || undefined === sessionStorage.notify) && _0x582f4d(_0x14280b[_0x530d0f - 0x7].split('/')[0], 1, 1); if (!action && 0x7 <= _0x530d0f && _0x580121(GoBossClan[_0x530d0f - 0x7]) && pageContent.match(/Начать бой может/) && '' != _0x4e3e59) { 0 == _0x1afc50[_0x529095.length] && (_0x1afc50[_0x529095.length] = baseTime + 0x3c * _0x267306[_0x530d0f - 0x7]); const git = 0, object = response.replace(/(.|\n)+Кто здесь( \[\d+ из \d+\])?/, ''), object = object.trim(), object = object.replace(/Обновить(.|\s|\n)+/, ''), object = object.replace(/\n{2}/g, '\n'), object = object.replace(/\n{2,}/g, ','), object = object.replace(/(\r|\f|\t|\v)/g, ''), _0xf39e1d = object.split(','); _0xf39e1d.pop(); for (const _0x41194a = _0x10f7f7[_0x530d0f - 0x7].split(','), _0xd586ec = 0; _0xd586ec < _0xf39e1d.length; _0xd586ec++) object.match(/.+/) && (_0xf39e1d[_0xd586ec] = _0xf39e1d[_0xd586ec].trim()); for (const _0x12517f = false, _0x50dcc7 = 0, _0xd586ec = 0; _0xd586ec < _0xf39e1d.length; _0xd586ec++) (',' + _0x10f7f7[_0x530d0f - 0x7] + ',').match(',' + _0xf39e1d[_0xd586ec] + ',') && _0x50dcc7++, (',' + _0x10f7f7[_0x530d0f - 0x7] + ',').match(',' + _0xf39e1d[_0xd586ec] + ',') || (_0x12517f = true); if (0 == raidTimer[0x31]) 1 < Number(_0x15fd46[0]) + Number(_0x15fd46[1]) && _0x12517f ? (_0x1afc50[_0x530d0f] = baseTime + _0x5705b9(0x3c, 0x5a) + 'нет', action || click(naGlavnuy, _0x19a2b5, 0)) : (raidTimer[0x31] = 1, localStorage.mark = raidTimer, _0x582f4d(_0x14280b[_0x530d0f - 0x7].split('/')[0], 0x2, 0));else { if (1 == raidTimer[0x31]) { _0x12517f = ''; for (_0xd586ec = 0; _0xd586ec < _0xf39e1d.length; _0xd586ec++) object.match(_0x41194a[_0xd586ec]) && (object = object.replace(_0x41194a[_0xd586ec], ','), git++), (',' + _0x10f7f7[_0x530d0f - 0x7] + ',').match(',' + _0xf39e1d[_0xd586ec] + ',') || pageContent.match(_0x124d7d(_0xf39e1d[_0xd586ec] + ' выйди')) || (_0x12517f += ' ' + _0xf39e1d[_0xd586ec] + ' выйди'); (0x4 < sessionStorage.boss_time || _0x1da492.match(/_green/g).length == _0x41194a.length && pageContent.match(/я не готов/i)) && (git == _0x41194a.length && 0 == GoBossClanS[_0x530d0f - 0x7] || 0 != GoBossClanS[_0x530d0f - 0x7]) ? (_0xd586ec = _0x1bf79c[_0x530d0f - 0x7], !pageContent.match(_0x23b0c6 + ': (' + _0xd586ec + ')') && bossRaidCaveEmpty && (_0xd586ec = _0xd586ec.split('|'), _0x582f4d(_0xd586ec[_0x5705b9(_0xd586ec.length - 1)], 0x2, 1)), click(_0x4e3e59, _0x19a2b5)) : git == _0x41194a.length ? sessionStorage.boss_time++ : (sessionStorage.boss_time = 0, undefined !== sessionStorage.notify && sessionStorage.notify++), '' != _0x12517f && _0x582f4d(_0x12517f, 0x2, 1), !action && _0x1afc50[_0x529095.length] <= baseTime && !pageContent.match(_0x124d7d(_0x14280b[_0x530d0f - 0x7].split('/')[1])) && (0 == GoBossClanS[_0x530d0f - 0x7] ? (_0x582f4d(_0x14280b[_0x530d0f - 0x7].split('/')[1], 0x2, 1), sessionStorage.boss_time = 0) : sessionStorage.boss_time = 0x5); } } } else sessionStorage.boss_time = 0; } function _0x10654d() { for (const _0x13fe28 = _0x319151[0].getElementsByClassName('txtal'), _0x56ac66 = 0; _0x56ac66 < _0x13fe28.length; _0x56ac66++) if (pST = 0 < _0x13fe28[_0x56ac66].getElementsByClassName('link').length && _0x124d7d(_0x13fe28[_0x56ac66].getElementsByClassName('link')[0].textContent).match(/Объявление (клана|альянса)/i)) { const _0x31c588 = '', _0x5dfdda = _0x124d7d(_0x13fe28[_0x56ac66].getElementsByClassName('minor')[0].textContent), _0x5271b0 = tN4 = tN5 = false; _0x5dfdda.match(/секунд|^(1|2|3|4|5|6|7|8|9|10) минут/) && (_0x5271b0 = true), _0x5dfdda.match(/^(5|6|7|8|9|10) минут/) && (tN5 = true), _0x5dfdda.match(/секунд|^(1|2|3|4) минут/) && (tN4 = true), _0x5271b0 && (_0x31c588 = _0x13fe28[_0x56ac66].getElementsByClassName('info')[0].textContent.replace(/\/\/(.|\s|\n)+/, '').trim()), _0x5271b0 && (_0x4a06f1 = _0x13fe28[_0x56ac66].getElementsByClassName('info')[0].textContent), pST[0].match(/клан/i) ? (_0x1cb5ce = _0x31c588, _0xff4a55 = tN5) : _0x4118bc = _0x31c588; break; } sessionStorage.current_log = '', _0x56ac66 = new RegExp('(' + _0x23b0c6 + '|ты|вы) ударил(а|и)? ((по (кам|эн(ерг)?)\\. щиту )?(\\D+)s?(\\D+)?s?(\\D+)?|Голиафа по щиту отраж\\.) на (\\d+) ?(крит)?', 'i'), _0x4bd355 = 0 != _0x4a72b8 ? _0x4a72b8 : _0x56ac66.test(pageContent) ? /\d+/.exec(_0x56ac66.exec(pageContent)[0]).toString() : 0, _0x56ac66 = new RegExp('((э|я)питер|Гарм|Цербер|Немезида) убит(а|ы)?!|(Ты|Вы) промахнул(ся|ась|ись)|Лечить некого|(' + _0x23b0c6 + '|ты|вы) (ударил(а|и)?|полечил(а|и)?) ((по (кам|эн(ерг)?)\\. щиту )?(\\D+)s?(\\D+)?s?(\\D+)?|Голиафа по щиту отраж\\.) на (\\d+) ?(крит)?|(' + _0x23b0c6 + '|ты|вы) (сж.г|сожгл(а|и)) (\\d+) (крит)?', 'i'), undefined == sessionStorage.missed && (sessionStorage.missed = 0), undefined == sessionStorage.MedmissCntr && (sessionStorage.MedmissCntr = 0); if (_0x56ac66.test(pageContent) && 0 == sessionStorage.perehod) { if (_0x13fe28 = _0x56ac66.exec(pageContent)[0], /(Ты|Вы) промахнул(ся|ась|ись)/i.test(_0x13fe28)) sessionStorage.missed++, '0' == _0x580691 && '0' == _0x2191b2 && '0' == _0x1f6e7a && _0x594bde && (sessionStorage.perehod = 1); else { if (/Лечить некого/.test(_0x13fe28) && !_0x2cb347) sessionStorage.perehod = 1, sessionStorage.MedmissCntr++, _0x36f3f6 = true; else { if (/(питер|Гарм|Цербер|Немезида) убит(а|ы)?!/i.test(_0x13fe28) && _0x2cb347) _0x509186 = _0x3c5189 = '';else { if (_0x56ac66.test(pageContent)) { _0x1c9921 = /\d+/.exec(_0x13fe28), '' != _0x54a375 && (_0x1c9921 *= 1.7), /крит/.test(_0x13fe28) && (_0x1c9921 *= 0.7), /полечил/.test(_0x13fe28) && (_0x1c9921 *= 0.7); if (/по кам/.test(_0x13fe28) && !_0x36c7cd && _0x3b5f3e > 3 * _0x1c9921 || 0 == _0x1c9921) _0x16720e = 0x2, _0x509186 = _0x3c5189 = ''; /по эн(ерг)?\. щиту/.test(_0x13fe28) && (_0x18876c = ''), /по эн(ерг)?\. щиту/.test(_0x13fe28) && _0x36c7cd && (_0x16720e = 0x2, _0x5e9301 = true), /по эн(ерг)?\. щиту/.test(_0x13fe28) && !_0x36c7cd && _0x1c9921 < 0.07 * +characterSila && (_0x16720e = 0x2), /по щиту отраж/.test(_0x13fe28) && targetSplit ? (_0x55ca73 += _0x5705b9(0x1388, 0x1770), _0x509186 = _0x3c5189 = '') : _0x1c9921 < 0.08 * +characterSila && !_0x319ef3 ? sessionStorage.missed++ : _0x1c9921 < 0.039 * +characterSila ? sessionStorage.missed++ : 1 <= +sessionStorage.missed && sessionStorage.missed--; } } } } } _0x13fe28 = '(терра|' + _0x2f8e31 + ')(' + _0x54dca1 + ')|^(' + _0x54dca1 + ')(' + _0x54dca1 + ')$|(' + _0x54dca1 + '|' + _0x2f8e31 + '|терра|воины|меды)(в|м)?(бой|стоп|щиты|уходим|выход|жувкл|жувыкл)|(' + _0x54dca1 + ')$|бить всех|всех (красных|синих|воинов|медов)|(синих|красных) (медов|воинов)|(' + _0x2f8e31 + '|' + _0x54dca1 + ')(всех(красных|синих|в|м)?|(синих|красных)(в|м))', _0x31c588 = _0x124d7d((forceSurvComm ? forceSurvComm + '|' : '') + (forceArenaComm ? forceArenaComm + '|' : '') + (forceArenaSurvComm ? forceArenaSurvComm + '|' : '') + (groupDar ? groupDar + '|' : 'elv.etogf.w;,43t4esz') + (goBGcomm ? goBGcomm + '|' : '') + _0x5cb202 + '|' + tCall[0] + '|' + tCall[1] + '|(' + _0x23b0c6 + '|замена|все) (дар(\\d+)|выйди|выход|начинай|бой|старт|стоп|на (троф|миф|нем|трол|зод|вел|свят|лег|фен|клантур|испытан|арен|выживан|пвп))|марш на терры|' + orderOne.join('|') + '|' + orderTwo.join('|') + '|' + setClrChat + '|' + setClrChatAl + '|звери воскресли|' + bossRessCmd + '|' + tournamentISon + '|' + tournamentISoff + '|' + bossISon + '|' + bossISoff + '|рестарт|' + groupRestart), _0x5dfdda = '(бейте|' + _0x23b0c6 + ') (гарма|цербера|немку|норм|всех)'; for (_0x56ac66 = 0; _0x56ac66 < _0x257f5f.length; _0x56ac66++) { const _0x19cc68 = _0x124d7d(_0x257f5f[_0x56ac66].textContent); if ('info' != _0x257f5f[_0x56ac66].className && undefined != _0x257f5f[_0x56ac66 + 1] && !_0x257f5f[_0x56ac66 + 1].className.match('minor')) { if (_0x5e9fcd && _0x19cc68.match(new RegExp(_0x13fe28, 'ig')) && !_0x4fd121.match(new RegExp(_0x13fe28, 'ig'))) { _0x5daf30[_0x5daf30.length] = _0x19cc68; continue; } if (!_0x5e9fcd) { if (_0x19cc68.match(new RegExp(_0x31c588, 'ig')) && !_0x4fd121.match(new RegExp(_0x31c588, 'ig'))) { _0x5daf30[_0x5daf30.length] = _0x19cc68; continue; } if (confirmationButton.match(/Храм Немезиды/i)) { if (_0x19cc68.match(new RegExp(_0x5dfdda, 'i')) && !_0x4fd121.match(new RegExp(_0x5dfdda, 'i'))) { _0x5daf30[_0x5daf30.length] = _0x19cc68; continue; } } else { if (confirmationButton.match(/Потерянный Легион/i) && _0x19cc68.match(RegExp('убиваем (быстро|всех)', 'i')) && !_0x4fd121.match(RegExp('убиваем (быстро|всех)', 'i'))) { _0x5daf30[_0x5daf30.length] = _0x19cc68; continue; } } } } if (!_0x2c17d2) { if (_0x19cc68.match('(' + _0x23b0c6 + '|Ты|ты|Вы|вы) (включил(а|и)?|использовал(а|и)?) (уворот|каменный щит)')) break; if (_0x257f5f[_0x56ac66].style.color.match(/chocolate|rgb\(210, 105, 30\)/)) { if (targetSplit || !_0x19cc68.match(/ударил(а)? (Вас|тебя) (по (кам|эн|энерг)\. щиту )?на (\d+) ?(крит)?/i) || _0x19cc68.match(/(Стражник|Геррод|кочевник|Огонь из башни) (ударил|обж.г) (Вас|тебя)/i)) !targetSplit && _0x19cc68.match(/(Стражник|Геррод|кочевник) ударил (Вас|тебя) на (\d+) ?(крит)?/i) ? (sessionStorage.current_log += _0x19cc68, sessionStorage.activ_log.match(_0x19cc68) || (_0x2c7a56 = true)) : targetSplit && _0x19cc68.match(/(ударил|укуси(л|ла)) (Вас|тебя) (по кам\. щиту )?на (\d+) ?(крит)?/i) && (sessionStorage.current_log += _0x19cc68, sessionStorage.activ_log.match(_0x19cc68) || (_0x19cc68 = /\d+/.exec(_0x19cc68), _0x11a56a += +_0x19cc68));else { const _0x55eaad = '', _0x5271b0 = false; _0x19cc68.match(/по (эн|энерг)\. щиту на/) && (_0x5271b0 = true); if (undefined != _0x257f5f[_0x56ac66].querySelectorAll('a')[0]) { const _0x2c2478 = _0x124d7d(_0x257f5f[_0x56ac66].querySelectorAll('a')[0].textContent), _0x1280ca = Number(/\d+/.exec(_0x19cc68)), _0xf7eba4 = new RegExp(_0x19cc68 + ' ?' + _0x2c2478 + ' ?ударил(а)? (Вас|тебя) по эн(ерг)?. щиту на (\\d+) ?(крит)?', 'i'); _0xf7eba4.test(pageContent) && !_0x5271b0 && _0x1280ca > +_0xf7eba4.exec(pageContent)[0x4] && (_0x35e1d1 = true), _0xf7eba4 = new RegExp(_0x19cc68 + ' ?' + _0x2c2478 + ' ?применил(а)? (шипованную|отражение|мстительность|зеркало)', 'i'), _0xf7eba4.test(pageContent) && (_0x55eaad = _0xf7eba4.exec(pageContent)[0x2]), _0x55eaad.match(/шипованную/i) && _0x2c2478 == _0x1e8e30 && _0x1280ca > _0xb14853 / 0x14 && (_0x5c2d24 = true, _0x223a3d = _0x18876c = _0x509186 = _0x3c5189 = '', _0x319ef3 && (_0x16720e = 0x2)), _0x55eaad.match(/отражение/i) && _0x2c2478 == _0x1e8e30 && _0x1280ca > _0xb14853 / 0x14 && (_0x5c2d24 = true, _0x223a3d = _0x18876c = _0x509186 = _0x3c5189 = '', _0x319ef3 && (_0x16720e = 0x2)); } _0x5c2d24 || (sessionStorage.current_log += _0x19cc68, sessionStorage.activ_log.match(_0x19cc68)) || (_0x55eaad.match(/мстительность|зеркало/i) ? _0x55eaad.match(/мстительность|зеркало/i) && (_0x19cc68 = /\d+/.exec(_0x19cc68), _0x27dbe9 += +_0x19cc68) : (_0x19cc68 = /\d+/.exec(_0x19cc68), _0x5271b0 ? _0x212e5c += +_0x19cc68 : _0x11a56a += +_0x19cc68)); } } } } sessionStorage.activ_log = sessionStorage.current_log, 0 != _0x5050cb && (_0x11a56a = _0x5050cb - _0x27dbe9); } const _0x9f8c9d = 'а', _0xf6e8ca = 'з', _0x1c98a6 = 'р', _0x1ba664 = 'а', _0x3f31eb = 'б', _0x3e598e = 'о', _0x49acae = 'ч', _0x286d19 = 'и', _0x10f9b9 = 'к', _0xbfdef4 = 'у', _0x152b63 = 'К', _0x418c71 = 'т', _0x1f4c2a = 'у', _0x260c5b = 'п'; function _0x3185d0() { if (confirmationButton.match('Почта для') && 0 == raidTimer[0xb] && !action) { pageContent.match(/Эту клановую вещь можно отправить только|Трофей можно передавать только внутри клана/) && raidTimer[0x15]++; const _0x533429 = 0, _0x4687ff = ''; if ('' != _0xbf6696) click(_0xbf6696, timeout);else { if (undefined != sessionStorage.dung_prize) { if ('' != sessionStorage.dung_prize) { dung_prize = sessionStorage.dung_prize.split(','), _0x4687ff = dung_prize.pop(), sessionStorage.dung_prize = dung_prize; for (const _0x2f9410 = 0; _0x2f9410 < _ref.length; _0x2f9410++) if (_ref[_0x2f9410].href.match(_0x4687ff) && (_0x533429++, raidTimer[0x15] < _0x533429)) { click(_ref[_0x2f9410 + 1], timeout); break; } } '' != sessionStorage.dung_prize || action || (sessionStorage.removeItem('dung_prize'), action = true, setTimeout(function () { document.forms[0].submit(); }, timeout)); } else { if (undefined != sessionStorage.sendClanItems_vitrinaIsFull) sendClanItems_PCid && 1 == sendClanItems_ToPC ? (pageContent.match('отменить') && (_0x4687ff = '!'), _0x527a36 ? click(_0x527a36, timeout) : !_0x1b4f82 || pageContent.match('выбрать') || _0x4687ff ? _0x1b4f82 && !_0x4687ff ? click(_0x1b4f82, timeout) : '' != _0x4687ff ? (action = true, sessionStorage.removeItem('vitrinaIsFull'), setTimeout(function () { document.forms[0].submit(); }, timeout)) : (raidTimer[0x21] = baseTime + _0x5705b9(RAID_TIMER_OFFSET, 0x1c20), action = true, sessionStorage.removeItem('vitrinaIsFull')) : (raidTimer[0x21] = baseTime + _0x5705b9(RAID_TIMER_OFFSET, 0x1c20), action = true, sessionStorage.removeItem('vitrinaIsFull'))) : sessionStorage.removeItem('vitrinaIsFull');else { if (0 == raidTimer[0x21]) { for (_0x2f9410 = 0; _0x2f9410 < _ref.length; _0x2f9410++) { if (_ref[_0x2f9410].text.match('выбрать') && (_0x533429++, raidTimer[0x15] < _0x533429)) { click(_ref[_0x2f9410], timeout); break; } _ref[_0x2f9410].text.match('отменить') && (_0x4687ff = _ref[_0x2f9410]); } action || ('' != _0x4687ff ? (action = true, setTimeout(function () { document.forms[0].submit(); }, timeout)) : raidTimer[0x21] = baseTime + _0x5705b9(RAID_TIMER_OFFSET, 0x1c20)); } } } } } else raidTimer[0x15] = 0; } const _0x181cd8 = 'Д', _0x39d84f = 'о', _0x2325d4 = 'с', _0x248d0a = 'З', _0x3f6657 = '5', _0x4772c1 = '1'; function _0x263ca3() { const _0x20d69d = localStorage.queve_mif, _0x5717a4 = localStorage.queve_vel, _0x1a2354 = localStorage.queve_trol, _0x3b5dd2 = localStorage.queve_nema, _0x220ddd = localStorage.queve_zod, _0x5bc1b9 = localStorage.queve_pred, _0x53c036 = localStorage.queve_leg, _0x53c037 = localStorage.queve_fen; sessionStorage.clear(), localStorage.clear(), localStorage.queve_mif = _0x20d69d, localStorage.queve_vel = _0x5717a4, localStorage.queve_trol = _0x1a2354, localStorage.queve_nema = _0x3b5dd2, localStorage.queve_zod = _0x220ddd, localStorage.queve_pred = _0x5bc1b9, localStorage.queve_leg = _0x53c036, localStorage.queve_fen = _0x53c037; } function _0xa96d01() { confirmationButton.match(/\d\/(\d+) финала|Финал/i) && (sessionStorage.dar = 0, sessionStorage.IsDar = 0); if (confirmationButton.match(/Подтверждение/i) && pageContent.match(/Ты можешь взять в бой ещё одно умение/i)) { //pageContent.match(new RegExp(_0x124d7d('Выбрано: ' + _0x4f45e6[_0x12de0a - 1]), 'i')) if ('4' == sessionStorage.locScrolls) const _0x12de0a = +Dar_Glad_Item_1; '13' == sessionStorage.locScrolls && (_0x12de0a = +Dar_Glad_Item_2), '21' == sessionStorage.locScrolls && (_0x12de0a = +Dar_Glad_Item_6), undefined != sessionStorage.turnirDar && (_0x12de0a = +sessionStorage.turnirDar), 0 == _0x12de0a && (_0x12de0a = _0x5705b9(1, 0xa)), '' != _0x1ef8c6 && localStorage.iTs11 == 1 && (sessionStorage.dar = 0x2, sessionStorage.get_dar_glad = 1,localStorage.iTs11 = 0, click(_0x1ef8c6, _0x19a2b5)); for (_0x12744c = 0; _0x12744c < _0x5c7030.length; _0x12744c++) if (undefined != _0x5c7030[_0x12744c].querySelectorAll('a')[0] && _0x5c7030[_0x12744c].querySelectorAll('a')[0].href.match('/ability/') && undefined != _0x5c7030[_0x12744c].querySelectorAll('a')[1] && _0x124d7d(_0x5c7030[_0x12744c].querySelectorAll('a')[1].textContent).match(/выбрать/i) && !_0x124d7d(_0x5c7030[_0x12744c].textContent).match(/ещё одно умение/i)&& localStorage.iTs11 == 0) { const _0x3e1a6b = _0x5c7030[_0x12744c].querySelectorAll('a')[0], _0x3e1a6b = _0x124d7d(_0x3e1a6b.textContent), _0x404553 = _0x5c7030[_0x12744c].querySelectorAll('a')[1]; _0x3e1a6b.match(new RegExp(_0x124d7d(_0x4f45e6[_0x12de0a - 1]), 'i')) && (localStorage.iTs11 = 1, click(_0x404553, _0x19a2b5)); } } confirmationButton.match(/Передышка/i) && ch && (undefined != sessionStorage.turnirDar || undefined == sessionStorage.turnirDar && ('13' == sessionStorage.locScrolls && Set_Dar_Glad_3 || '21' == sessionStorage.locScrolls && Set_Dar_Glad_6)) && (pageContent.match('использован') && (sessionStorage.get_dar_glad = 1), _0x1e4684 && undefined == sessionStorage.get_dar_glad && (undefined != sessionStorage.turnirDar || '13' == sessionStorage.locScrolls && 1 == Set_Dar_Glad_3 && pageContent.match(tour_number_3) || '21' == sessionStorage.locScrolls && 1 == Set_Dar_Glad_6 && pageContent.match(tour_number_6)) && click(_0x1e4684, timeout)); if ('4' == sessionStorage.locScrolls && confirmationButton.match(/Передышка/) && !pageContent.match(/(Ваша|твоя) команда:/i) && !pageContent.match(/(Ваша|твоя) команда погибла и выбывает из турнира/i) && ch) { for (const _0x3e1a6b = _0x12de0a = '', _0x12744c = _ref.length - 1; 0 <= _0x12744c; _0x12744c--) _ref[_0x12744c].href.match('/user/id/') && (_0x12de0a = _ref[_0x12744c], _0x3e1a6b = _ref[_0x12744c].textContent); _0x12de0a && (tur11DarBlEnable && _0x3e1a6b && tur11DarBl.match(_0x3e1a6b) && (sessionStorage.dar = 3), tur11DarWlEnable && _0x3e1a6b && tur11DarWl.match(_0x3e1a6b) && (sessionStorage.dar = 0x2), _0x3e1a6b && (1 == tur11IsBlEnable && tur11IsBl.match(_0x3e1a6b) || 0x2 == tur11IsBlEnable && tur11DarBl.match(_0x3e1a6b)) && (sessionStorage.IsDar = 1, sessionStorage.turnirIS = 1), _0x3e1a6b && (1 == tur11IsWlEnable && tur11IsWl.match(_0x3e1a6b) || 0x2 == tur11IsWlEnable && tur11DarWl.match(_0x3e1a6b)) && (sessionStorage.IsDar = 1, sessionStorage.turnirIS = 0), _0x1e4684 && pageContent.match('использован') && (sessionStorage.get_dar_glad = 1, sessionStorage.dar = 0x2), undefined == sessionStorage.get_dar_glad && 1 == Set_Dar_Glad_1 && pageContent.match(tour_number_1) ? click(_0x1e4684, timeout) : undefined == sessionStorage.get_dar_glad && 0x2 == Set_Dar_Glad_1 && 0 == sessionStorage.dar && (sessionStorage.dar = 1, click(_0x12de0a, _0x19a2b5)), undefined == sessionStorage.get_dar_glad && 3 == sessionStorage.dar && '' != _0x1e4684 && click(_0x1e4684, _0x19a2b5), 1 == Set_Is_Glad_1 && 0 == sessionStorage.IsDar && (sessionStorage.IsDar = 1, click(_0x12de0a, _0x19a2b5))); } confirmationButton.match(/^Герой /) && (_0x12744c = /сумма: (\d+)/i, _0x12744c.test(pageContent) && (sessionStorage.protiv = _0x12744c.exec(pageContent)[1]), 1 == sessionStorage.dar && 0x2 == Set_Dar_Glad_1 && undefined == sessionStorage.get_dar_glad && (sessionStorage.dar = +characterSumma + Tour1StatDiff > +sessionStorage.protiv ? 0x2 : 3), 1 == Set_Is_Glad_1 && 1 == sessionStorage.IsDar && (sessionStorage.turnirIS = +characterSumma + Tour1StatDiffIs > +sessionStorage.protiv ? 0 : 1, sessionStorage.IsDar = 0x2), click(_0x5bf9af, _0x19a2b5)); } const _0x4e7900 = 'п', _0x45ef70 = 'р', _0x4041f4 = 'е', _0x378a38 = 'щ', _0x41cff1 = 'ё', _0x5e9471 = 'н!', _0x859775 = 'О', _0x109565 = 'б', _0xfa7b9b = 'р'; function _0x1e2e3d(_0x4c02bd, _0x107ce9) { if (!_0x4c02bd) return false; for (const _0x38685d = _0x4c02bd.split(';'), _0x4c68c7 = 0; _0x4c68c7 < _0x38685d.length; _0x4c68c7++) { const _0x5e302f = 0, _0x1106fc = 0, _0x54c3fc = /(\d+):(\d+)/.exec(_0x38685d[_0x4c68c7]), _0x54c3fc = RAID_TIMER_OFFSET * _0x54c3fc[1] + 0x3c * _0x54c3fc[0x2], _0x5d97f2 = /\((.+)\)/.exec(_0x38685d[_0x4c68c7]); if (_0x5d97f2) for (const _0x5d97f2 = _0x5d97f2[1].split(','), _0x12236c = 0; _0x12236c < _0x5d97f2.length; _0x12236c++) { if (_0x5d97f2[_0x12236c] === _0x33b390.toString()) { _0x1106fc = 1; break; } } else _0x1106fc = 1; _0x54ca18 < _0x54c3fc && _0x54ca18 >= _0x54c3fc - 0x3c * _0x107ce9 && (_0x5e302f = 1); if (1 == _0x5e302f && 1 == _0x1106fc) return true; } return false; } function _0x1b242b(_0x558751) { const _0x4d4089 = [], _0x4eba99; for (_0x4eba99 in _0x558751) _0x4d4089.push(_0x4eba99); return _0x4d4089.sort(function (_0xcbeb26, _0x650dfe) { return _0x558751[_0xcbeb26] - _0x558751[_0x650dfe]; }); } function _0x440f47() { _0x5e0fc4 = _0x1749bf = _0x27dcd1 = _0x25c40f = _0x223a3d = _0x26a67d = _0x44b463 = _0x18876c = _0x538236 = _0x529fe1 = _0x4e3c75 = _0x27a43f = _0x509186 = _0x3c5189 = ''; } function _0x5d4e41() { 1 != sessionStorage.readRessurectBook && click(_0x50759f, _0x19a2b5, 1); } function _0xddd7b() { if (!confirmationButton.match('Варвары') && !confirmationButton.match('Сражения')) click(naGlavnuy, 0x3e8, 'На главную'); if (!confirmationButton.match('Сражения')) click('/fightmore', 0x3e8, 'В дуэли'); if (confirmationButton.match('Сражения')) sessionStorage.DuelCount -= Number(1); click(_0x31d78a, 0x1f4), (pageContent.match(/У тебя не хватает золота/i) || sessionStorage.DuelCount <= Number(0)) && (sessionStorage.DuelKill = 'no', sessionStorage.DuelCount = Number(0), click(naGlavnuy, 0x3e8)); } function _0x754d9() { if (sessionStorage.Buy_Iron_Kill == 0) { if (!confirmationButton.match(/Варвары|Железный удар/i)) click(naGlavnuy, 0x12c); if (!confirmationButton.match(/Железный удар/i)) click('/istrike', 0x1f4); if (confirmationButton.match(/Железный удар/i) ) click(_0xe6a516, 0x1f4, 1); if (confirmationButton.match(/Железный удар/i) ) click(_0x256459, 0x1f4, 1); if (confirmationButton.match(/Железный удар/i) ) click(_0x3b0352, 0x1f4, 1); if (!pageContent.match(/У тебя максимальный запас ударов|У тебя не хватает железа/i)) {sessionStorage.Buy_Iron_Kill = 1; click(user,timeout);} } } function treasuresnekromat() { const rewardButtons = document.querySelectorAll('.cbtn.w180.bli.mt5');// Находим все кнопки с классами cbtn, w180, bli и mt5 if(confirmationButton.match(/Пустая пещера|Пустая долина|Пустой храм|Пустое святилище|Пустой тролль|Пустой каменный|Пустой легион|Пустой обитель|Пустой зодиак|Пустые предки|Пустая Башня Феникса/i)){localStorage.iTs7 = 0; click(naGlavnuy, 0x12c);} if(confirmationButton.match(/Варвары/i)&&pageContent.match(/Сокровища некроманта/i) && localStorage.iTs7 == 0 && 1 ==nekromatonoff) click('/necro/chest', timeout); // Проверяем, есть ли хотя бы одна такая кнопка if (rewardButtons.length > 0 && localStorage.iTs7 == 0&&confirmationButton.match(/Сокровища некроманта/i)) { // Нажимаем первую найденную кнопку rewardButtons[0].click(); console.log('Нажата кнопка "Забрать награду"'); } else { if(confirmationButton.match(/Сокровища некроманта/i)){localStorage.iTs7 = 1; click(naGlavnuy, 0x12c);} } } function anniversarygifts() { if(confirmationButton.match(/Варвары/i)&&pageContent.match(/Юбилейные подарки/i) && localStorage.iTs15 == 0 && 1 ==giftsonoff) click('/anniversary', timeout); if (confirmationButton.match(/Юбилейные подарки/i) && pageContent.match(/Выбери один подарок из трёх:/i) && gifts==1) { localStorage.iTs15 = 1; click(_podaroksokr1, timeout); } if (confirmationButton.match(/Юбилейные подарки/i) && pageContent.match(/Выбери один подарок из трёх:/i) && gifts==2) { localStorage.iTs15 = 1; click(_podaroksokr2, timeout); } if (confirmationButton.match(/Юбилейные подарки/i) && pageContent.match(/Выбери один подарок из трёх:/i) && gifts==3) { localStorage.iTs15 = 1; click(_podaroksokr3, timeout); } else { if(confirmationButton.match(/Юбилейные подарки/i)) { localStorage.iTs15 = 1; click(naGlavnuy, 0x12c);} } } function _0x27b1cf(_0x14e06d) { if (_0x14e06d == 1) { if (SetParametrBuff[0] == 1 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x190a1f) click(_0x190a1f, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[0] == 0x2 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x4c0b86) click(_0x4c0b86, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[0] == 3 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x59f494) click(_0x59f494, 0x3e8), sessionStorage.Buy_Buff = 'no'; } } } } else { if (_0x14e06d == 0x2) { if (SetParametrBuff[1] == 1 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x190a1f) click(_0x190a1f, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[1] == 0x2 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x4c0b86) click(_0x4c0b86, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[1] == 3 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x59f494) click(_0x59f494, 0x3e8), sessionStorage.Buy_Buff = 'no'; } } } } else { if (_0x14e06d == 3) { if (SetParametrBuff[0x2] == 1 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x190a1f) click(_0x190a1f, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[0x2] == 0x2 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x4c0b86) click(_0x4c0b86, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[0x2] == 3 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x59f494) click(_0x59f494, 0x3e8), sessionStorage.Buy_Buff = 'no'; } } } } else { if (_0x14e06d == 0x4) { if (SetParametrBuff[3] == 1 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x190a1f) click(_0x190a1f, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[3] == 0x2 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x4c0b86) click(_0x4c0b86, 0x3e8), sessionStorage.Buy_Buff = 'no'; } else { if (SetParametrBuff[3] == 3 && sessionStorage.Buy_Buff === 'yes') { if (!confirmationButton.match(/Алтарь клана, \d+ ур./)) click('/guild/altar', 0x3e8); if (confirmationButton.match(/Алтарь клана, \d+ ур./) && '' !== _0x59f494) click(_0x59f494, 0x3e8), sessionStorage.Buy_Buff = 'no'; } } } } } } } } function _0x369d86(_0x421e1c) { if (_0x421e1c == 1) { if (SetParametrBuff_Luck[0] == 1 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x436cf0) click(_0x436cf0, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } else { if (SetParametrBuff_Luck[0] == 0x2 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x2be0c3) click(_0x2be0c3, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } } } else { if (_0x421e1c == 0x2) { if (SetParametrBuff_Luck[1] == 1 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x436cf0) click(_0x436cf0, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } else { if (SetParametrBuff_Luck[1] == 0x2 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x2be0c3) click(_0x2be0c3, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } } } else { if (_0x421e1c == 3) { if (SetParametrBuff_Luck[0x2] == 1 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x436cf0) click(_0x436cf0, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } else { if (SetParametrBuff_Luck[0x2] == 0x2 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x2be0c3) click(_0x2be0c3, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } } } else { if (_0x421e1c == 0x4) { if (SetParametrBuff_Luck[3] == 1 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x436cf0) click(_0x436cf0, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } else { if (SetParametrBuff_Luck[3] == 0x2 && sessionStorage.Buy_Buff_Luck === 'yes') { sessionStorage.Check_Buff_Luck = 'yes'; if (!confirmationButton.match(/Колодец удачи/)) click('/trade/well', 0x3e8); if (confirmationButton.match(/Колодец удачи/) && pageContent.match(/продлить все/i)) sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; if (confirmationButton.match(/Колодец удачи/) && '' !== _0x2be0c3) click(_0x2be0c3, 0x3e8), sessionStorage.Buy_Buff_Luck = 'no', sessionStorage.Check_Buff_Luck = 'no'; } } } } } } } function ironpunches() { if ( 1 ==iron_punches ) { if (confirmationButton.match(/Железный удар/i) && pageContent.match(/У тебя максимальный запас ударов|У тебя не хватает железа|Куплено/i)) {localStorage.iTs8 = 1; click(user,timeout);} if (confirmationButton.match(/Турнир героев/i) && 1 == Battles_and_strikes[0x0] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Командный турнир/i) && 1 == Battles_and_strikes[0x1] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Турнир выживания/i) && 1 == Battles_and_strikes[0x2] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Клановый турнир/i) && 1 == Battles_and_strikes[0x3] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Поля сражений/i) && 1 == Battles_and_strikes[0x4] && localStorage.iTs8 == 0 && Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Город Древних/i) && 1 == Battles_and_strikes[0x5] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Логово Геррода/i) && 1 == Battles_and_strikes[0x6] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Цари горы/i) && 1 == Battles_and_strikes[0x7] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Битва героев/i) && 1 == Battles_and_strikes[0x8] && localStorage.iTs8 == 0&& Number(localStorage.iron) >= minIronForPurchase) click ('/istrike', 0x1f4); if (confirmationButton.match(/Железный удар/i) && 1 == Buy_Iron_punches[2] && pageContent.match(/0 ударов/i)) {localStorage.iTs8 = 1;click(_0xe6a516, 0x1f4, 1);} //1000жу if (confirmationButton.match(/Железный удар/i) && 1 == Buy_Iron_punches[0] && pageContent.match(/0 ударов|1 ударов|2 ударов|3 ударов|4 ударов|5 ударов|6 ударов|7 ударов|8 ударов|9 ударов|10 ударов|11 ударов|12 ударов|13 ударов|14 ударов|15 ударов|16 ударов|17 ударов|18 ударов|19 ударов|20 ударов|21 ударов|22 ударов|23 ударов|24 ударов|25 ударов/i)) {localStorage.iTs8 = 1; click(_0x3b0352, 0x1f4, 1);}//50жу if (confirmationButton.match(/Железный удар/i) && 1 == Buy_Iron_punches[1]){localStorage.iTs8 = 1; click(_0x256459, 0x1f4, 1);}//250жу if (confirmationButton.match(/Железный удар/i) ){localStorage.iTs8 = 1; click(user, 0x1f4, 1);} } } function isValidTimeForTasks() { // Получаем текущую дату и время const now = new Date(); // День недели (0 - воскресенье, 1 - понедельник, ..., 6 - суббота) const dayOfWeek = now.getDay(); // Время в часах (0-23) const hours = now.getHours(); // Возвращаем true, если день недели от воскресенья до пятницы (кроме субботы) и время после 15:00 return ((dayOfWeek === 0 && hours >= 15) || (dayOfWeek >= 1 && dayOfWeek <= 5)); } function _0xc7897d() { if (isValidTimeForTasks()) { if (ZadaniyaAVT) { // Обрабатываем приоритеты от 1 до 7 for (const i = 1; i <= 7; i++) { const prioritet = window['prioritet' + i]; if (prioritet && prioritet[0]) { const questIndex = prioritet[0]; questVariable = eval('quest' + questIndex + 'start'); if (questVariable) { // Устанавливаем режим в зависимости от приоритета switch (i) { case 2: localStorage.forcePVP = 'ARENA'; break; case 3: localStorage.forcePVP = 'SURV'; break; default: break; } click(questVariable, 1000); } } } } } else { console.log("Задания недоступны в это время."); } if (1 == Take_Quests[0] && sessionStorage.Check_Quests === 'yes') { if (_0x96daa3 === 0) { if (1 == Take_Quests[0x2]) { if (!confirmationButton.match(/Клановые задания/i)&& (confirmationButton.match(/Варвары|Рюкзак/i) || (confirmationButton.match(/Арены|Выживание/i) && pageContent.match(/Проигравшие:/i)))&& !confirmationButton.match(/Дуэль|Забытый склеп|Тихая роща|Владения Медузы|Тёмные подвалы|Долина орков|Ущелье големов|Скалы грифонов|Башня призраков|Потерянный замок|Мрачная чаща|Дуэль|Рагнар|Вульфгар|Торбьёрн|Некромант|Турнир|Отборочный тур|Отборочный раунд|Финал|Передышка|Территория|Битва героев|Цари горы|Город Древних|Поля сражений|Логово Геррода|Турнир героев|Командный турнир|Голова дракона|Сердце титана|Гроза миров|Крепость духа|Исцеление предков|Зеркало боли|Источник познания|Колыбель жизни|Клановые Испытания|Личные Испытания|Клановый турнир|Пещерный стражник|Грот Гарпий|Пещера мантикоры|Лабиринт минотавра|Легендарный дракон|Логово Геррода|Мифический дракон|Долина великанов|Каменный тролль|Храм Немезиды|Трофейный дракон|Обитель Зодиака|Святилище предков|Потерянный Легион|Башня Феникса|Центральный зал|Левое крыло|Правое крыло|Праздничный турнир/i)) click('/guild/quests/0/' + _0x2189c9, 0x12c); confirmationButton.match(/Клановые задания/i) && ('' !== _0x2550fd ? click(_0x2550fd, 0x12c) : (sessionStorage.Check_Quests = 'no', raidTimer[0x46] = baseTime + 0x3c * Take_Quests[1])); } } else { if (!confirmationButton.match(/Клановые задания/i)&& (confirmationButton.match(/Варвары|Рюкзак/i) || (confirmationButton.match(/Арены|Выживание/i) && pageContent.match(/Проигравшие:/i)))&& !confirmationButton.match(/Дуэль|Забытый склеп|Тихая роща|Владения Медузы|Тёмные подвалы|Долина орков|Ущелье големов|Скалы грифонов|Башня призраков|Потерянный замок|Мрачная чаща|Дуэль|Рагнар|Вульфгар|Торбьёрн|Некромант|Турнир|Отборочный тур|Отборочный раунд|Финал|Передышка|Территория|Битва героев|Цари горы|Город Древних|Поля сражений|Логово Геррода|Турнир героев|Командный турнир|Голова дракона|Сердце титана|Гроза миров|Крепость духа|Исцеление предков|Зеркало боли|Источник познания|Колыбель жизни|Клановые Испытания|Личные Испытания|Клановый турнир|Пещерный стражник|Грот Гарпий|Пещера мантикоры|Лабиринт минотавра|Легендарный дракон|Логово Геррода|Мифический дракон|Долина великанов|Каменный тролль|Храм Немезиды|Трофейный дракон|Обитель Зодиака|Святилище предков|Потерянный Легион|Башня Феникса|Центральный зал|Левое крыло|Правое крыло|Праздничный турнир/i)) click('/guild/quests/0/' + _0x2189c9, 0x12c); confirmationButton.match(/Клановые задания/i) && !confirmationButton.match(/Арена|Выживание|Дуэль/i)&& ('' !== _0x2550fd ? click(_0x2550fd, 0x12c) : (sessionStorage.Check_Quests = 'no', raidTimer[0x46] = baseTime + 0x3c * Take_Quests[1])); } } } function pohodtaming() { if (confirmationButton.match(/Поход/i) && pageContent.match(/Результаты похода: /i)) click(naGlavnuy, _0x2dd3ap); } function feniksNews() { // Проверка на Пустую Башню Феникса if (confirmationButton.match(/Пустая Башня Феникса/i)) { click(naGlavnuy, timeout); } // Обработка Башни Феникса if (confirmationButton.match(/Башня Феникса/i)) { if (_0x2cb347) { localStorage.fen = 0; } } if (confirmationButton.match(/Башня Феникса/i)) { if (_0x2cb348) { localStorage.fenm = 0; } } // проклятье воина if (confirmationButton.match(/Левое крыло|Правое крыло|Центральный зал/i)) { if (_0x2cb347 && pageContent.match(_0x23b0c6 + ' стал жертвой Проклятья огня!')) { localStorage.fen = 1; click(attack_drakon, _0x2dd3af); } } //проклятье меда if (confirmationButton.match(/Левое крыло|Правое крыло|Центральный зал/i)) { if (_0x2cb348 && pageContent.match(_0x23b0c6 + ' стал жертвой Проклятья огня!')) { localStorage.fenm = 1; click(lekal_drakon, _0x2dd3am); } } // Обработка Центрального зала if (confirmationButton.match(/Центральный зал/i)) { if (_0x2cb347 && (localStorage.fen == 0 && localStorage.fen_c == 0 || localStorage.fen == 0 && localStorage.fen_c == 2) && lkf != '') { click(lkf, 100); } if (_0x2cb348 && (localStorage.fenm == 0 && localStorage.fen_c == 0 || localStorage.fenm == 0 && localStorage.fen_c == 2) && lkf != '') { click(lkf, 100); } if (_0x2cb347 && localStorage.fen == 0 && localStorage.fen_c == 1 && pkf != '') { click(pkf, 100); } if (_0x2cb348 && localStorage.fenm == 0 && localStorage.fen_c == 1 && pkf != '') { click(pkf, 100); } if (pageContent.match(/Метеор падает на Левое крыло!/i)) { localStorage.fen_c = 1; } if (pageContent.match(/Метеор падает на Правое крыло!/i)) { localStorage.fen_c = 2; } if (confirmationButton.match(/Башня Феникса|Левое крыло|Правое крыло/i)) { localStorage.fen_c = 0; } } // Обработка Левое крыло if (confirmationButton.match(/Левое крыло/i)) { if (pageContent.match(/Метеор падает на Левое крыло!/i) && pkf != '') { click(pkf, 100); } if (_0x2cb347 && localStorage.fen == 1 && czf != '') { click(czf, 100); } if (_0x2cb348 && localStorage.fenm == 1 && czf != '') { click(czf, 100); } } // Обработка Правое крыло if (confirmationButton.match(/Правое крыло/i)) { if (pageContent.match(/Метеор падает на Правое крыло!/i) && lkf != '') { click(lkf, 100); } if (_0x2cb347 && localStorage.fen == 1 && czf != '') { click(czf, 100); } if (_0x2cb348 && localStorage.fenm == 1 && czf != '') { click(czf, 100); } } } // Функция для сброса счётчика прочитанных книг в новом дне function checkDailyReset() { const today = new Date().toISOString().substr(0, 10); // Получаем сегодняшнюю дату в формате YYYY-MM-DD if (lastResetDate !== today) { // Сегодня новый день, сбрасываем счётчик readBooksCounter = 0; localStorage.setItem('readBooksCounter', readBooksCounter); lastResetDate = today; localStorage.setItem('lastResetDate', today); console.log('Счётчик прочитанных книг сброшен на новый день.'); } } function isAllowedReadingTime() { const now = new Date(); const currentHour = now.getHours(); const currentMinute = now.getMinutes(); // Конвертация времени в минуты для удобства сравнения const startTotalMinutes = START_READING_HOUR * 60 + START_READING_MINUTE; const endTotalMinutes = END_READING_HOUR * 60 + END_READING_MINUTE; const currentTotalMinutes = currentHour * 60 + currentMinute; return currentTotalMinutes >= startTotalMinutes && currentTotalMinutes <= endTotalMinutes; } // Функция для использования книги function useBook(bookName) { // Проверяем, нужно ли сбросить счётчик checkDailyReset(); // ⏳ Проверка лимита if (readBooksCounter >= MAX_READINGS_PER_DAY && bookName === 'Книга пробуждения') { return; } // 🕐 Проверка времени суток для книги Пробуждения if (!isAllowedReadingTime() && bookName === 'Книга пробуждения') { console.log('Книга пробуждения может быть прочитана только с 03:15 до 09:15.'); return; } // Проверка условий и выполнение действий по чтению книги if ('' != _0x1ef8c6 && confirmationButton.match('Подтверждение') && pageContent.match(/Подтверди, что хочешь прочитать книгу|Подтверди, что хочешь сделать книгу из рецепта/i) && pageContent.match(new RegExp(bookName, 'i'))) { click(_0x1ef8c6, timeout); // Обновляем счётчик прочитанных книг ТОЛЬКО ДЛЯ КНИГИ ПРОБУЖДЕНИЯ if (bookName === 'Книга пробуждения') { readBooksCounter++; localStorage.setItem('readBooksCounter', readBooksCounter); // Сохраняем новое значение } // Дальнейшие действия с книгой if ('Книга Дракона' == bookName) { sessionStorage.Tur11Dragon = 'no'; sessionStorage.Tur33Dragon = 'no'; sessionStorage.Tur77Dragon = 'no'; sessionStorage.Tur66Dragon = 'no'; sessionStorage.UseBookEvents = 'no'; } else if ('Книга Великого Алтаря' == bookName) { sessionStorage.Tur11Altar = 'no'; sessionStorage.Tur33Altar = 'no'; sessionStorage.Tur77Altar = 'no'; sessionStorage.Tur66Altar = 'no'; sessionStorage.UseBookEventsAlt = 'no'; } else if ('Книга пробуждения' == bookName) { sessionStorage.readRessurectBook = 0; if (enableRaidAutoRess == 1) { raidTimer[0x3c] = baseTime + RESURRECT_BOOK_TIMEOUT; } else if (enableRaidAutoRess == 2) { raidTimer[0x3c] = baseTime + RAID_TIMER_OFFSET; } } else if ('Книга Геррода' == bookName) { sessionStorage.gerrodBookIsRead = 'yes'; } } else { if (confirmationButton.match(/Рюкзак|Сундук/)) { for (_0x1904ee = 0; _0x1904ee < _0x5c7030.length; _0x1904ee++) if (undefined != _0x5c7030[_0x1904ee].querySelectorAll('a')[0] && _0x5c7030[_0x1904ee].querySelectorAll('a')[0].href.match('/item/id/') && !action && (_0x1d0fe7 = _0x5c7030[_0x1904ee].querySelectorAll('a')[0], _0x124d7d(_0x1d0fe7.textContent).match(new RegExp(bookName, 'i')))) for (_0x26d59e = 1; _0x26d59e < _0x5c7030[_0x1904ee].querySelectorAll('a').length; _0x26d59e++) { const _0x41ffaf = _0x5c7030[_0x1904ee].querySelectorAll('a')[_0x26d59e]; _0x124d7d(_0x5c7030[_0x1904ee].querySelectorAll('a')[_0x26d59e].textContent), _0x41ffaf.href.match('useBookLink') && click(_0x41ffaf, timeout); } } } if (confirmationButton.match('Сундук') && (!_0x2b32ff && !pageContent.match(/Книги/) || pageContent.match(/Книги/) && !_0x2b32ff && !_0x2a260d)) { if ('Книга Дракона' === bookName) { sessionStorage.Tur11Dragon = 'no'; sessionStorage.Tur33Dragon = 'no'; sessionStorage.Tur77Dragon = 'no'; sessionStorage.Tur66Dragon = 'no'; sessionStorage.UseBookEvents = 'no'; } else if ('Книга Великого Алтаря' === bookName) { sessionStorage.Tur11Altar = 'no'; sessionStorage.Tur33Altar = 'no'; sessionStorage.Tur77Altar = 'no'; sessionStorage.Tur66Altar = 'no'; sessionStorage.UseBookEventsAlt = 'no'; } else if ('Книга пробуждения' === bookName) { sessionStorage.readRessurectBook = 0; if (1 == enableRaidAutoRess) { raidTimer[0x3c] = baseTime + RESURRECT_BOOK_TIMEOUT; } else if (2 == enableRaidAutoRess) { raidTimer[0x3c] = baseTime + RAID_TIMER_OFFSET; } } else if ('Книга Геррода' == bookName) { sessionStorage.gerrodBookIsRead = 'yes'; } } else if (confirmationButton.match('Сундук') && _0x2b32ff && pageContent.match(/Книги/)) { click(_0x2b32ff, timeout); } else if (confirmationButton.match('Сундук') && _0x2a260d && !_0x2b32ff && pageContent.match(/Книги/)) { click(_0x2a260d, timeout); } else if (confirmationButton.match('Рюкзак') && _0xc699d1) { click(_0xc699d1, timeout); } else if (confirmationButton.match(/Рюкзак|Сундук/) && bookName === 'Книга пробуждения'){ useBook('Книга пробуждения'); // Запускаем стандартную логику чтения книги } else if (confirmationButton.match('Мой герой') && _0x17c2eb) { click(_0x17c2eb, timeout); } else if (confirmationButton.match('Пещеры и драконы|Варвары') && user) { click(user, timeout); } } try { const lastResetDate = localStorage.getItem('lastResetDate'); const readBooksCounter = parseInt(localStorage.getItem('readBooksCounter')) || 0; const Helmetmif= ''; const amuletmif= ''; const Shoulderpadmif= ''; const Burkamif= ''; const Cuirassmif= ''; const Beltmif= ''; const Trousersmif= ''; const bracersmif= ''; const Ringmif= ''; const Swordmif= ''; const Bootsmif= ''; const pkf = ''; const lkf = ''; const czf = ''; /* const _lekal_drakon = ''; const _attack_drakon = ''; */ const _0x4c5bfb = false, _lekal_drakon = '', _attack_drakon = '', attack_shield = '', _podaroksokr1= '', _podaroksokr2= '', _podaroksokr3= '', _podaroksokr4= '', _0x4a06f1 = '', _0x2550fd = '', _0x2be0c3 = '', _0x436cf0 = '', _0x190a1f = '', _0x4c0b86 = '', _0x59f494 = '', _0x3b0352 = '', _0x256459 = '', _0xe6a516 = '', _0x31d78a = '', _0x329803 = '', _0x525c11 = false, _0x23f940 = '', _0x16299b = '', _0xf80422 = '', _0x1c1e2e = '', _0x28b7c8 = true, _0x45064e = 'аАсСеЕТНоОрРкКхХВМуидтг'.split(''), _0x1beef9 = 'aAcCeETHoOpPkKxXBMyugmr'.split(''), _0x346689 = new Audio(); _0x346689.src = sms_file; const _0x3b0b81 = new Date(), _0x526a74 = new Date(_0x3b0b81.getTime() + 0xea60 * _0x3b0b81.getTimezoneOffset() + 0xa4cb80), _0x4d3e69 = _0x526a74.getFullYear(), _0xccfacd = _0x526a74.getMonth(), _0x129c92 = 9 > _0xccfacd ? '0' + (_0xccfacd + 1) : _0xccfacd + 1, _0x33b390 = _0x526a74.getDay(), _0x467206 = _0x526a74.getDate(), _0x456bb0 = 0xa > _0x467206 ? '0' + _0x467206 : _0x467206, _0x42ba03 = _0x526a74.getHours(), _0x4b376f = _0x526a74.getMinutes(), _0x45d5ae = _0x526a74.getSeconds(), _0x96daa3 = _0x526a74.getDay(), baseTime = RAID_TIMER_OFFSET * _0x42ba03 + 0x3c * _0x4b376f + _0x45d5ae, timeout = _0x5705b9(timeout_[0], timeout_[1]), _0x579b1e = _0x5705b9(time_ResetLocation_[0], time_ResetLocation_[1]), _0x12ad63 = _0x5705b9(CDTAttack_[0], CDTAttack_[1]), _0x20ebec = _0x5705b9(CDTHeal_[0], CDTHeal_[1]), _0x8d10b2 = _0x5705b9(CDTEvent_[0], CDTEvent_[1]), _0x55ca73 = _0x5705b9(CDTBoss_[0], CDTBoss_[1]), _0x280a1d = _0x5705b9(CDTBossH_[0], CDTBossH_[1]), _0x5bb53a = _0x5705b9(CDTStop_[0], CDTStop_[1]); 1 == sessionStorage.bloodcrazy && BezumieTerr && (_0x12ad63 = _0x5705b9(CDTAttackCz_[0], CDTAttackCz_[1])) && (_0x20ebec = _0x5705b9(CDTAttackCz_[0], CDTAttackCz_[1])) && (_0x8d10b2 = _0x5705b9(CDTEventCz_[0], CDTEventCz_[1])); const _0x1734f6 = 0, _0x19a2b5 = _0x5705b9(CDTperehod_[0], CDTperehod_[1]), _0x2dd3ad = _0x5705b9(CDTobnovit_[0], CDTobnovit_[1]), _0x2dd3af = _0x5705b9(CDTfeniksv_[0], CDTfeniksv_[1]), _0x2dd3ap = _0x5705b9(CDTpohod_[0], CDTpohod_[1]), _0x2dd3sa = _0x5705b9(CDTShieldAttack_[0], CDTShieldAttack_[1]), _0x2dd3am = _0x5705b9(CDTfeniksm_[0], CDTfeniksm_[1]), _0x2fde99 = 'undefined' === typeof CDTBossStop_ ? _0x2dd3ad : _0x5705b9(CDTBossStop_[0], CDTBossStop_[1]), _0x4d9896 = _0x5705b9(0x4), _0x5c410d = '', _0x32be4d = '', _0x2cb347 = '', _0x43e32c = true, _0x43e32s= true, characterSila = '', characterzdorovie = 0, characterEnergy = 0, _0x2ccb63 = false, _0x5822be = false, _0x52afff = false, _0x3fd865 = false, _0x39f5b9 = false, _0x4f206d = false, _0xe56644 = false, _0x54dbeb = false, _0x17f72b = false, _0xce0599 = false, _0x3be9cd = 0, _0x583c25 = 0, _0x5ebf84 = '', _0x2189c9 = '', _0x5cb202 = 'drkgfmgmeos'; bossRessCmd = 'undefined' !== typeof bossRessCmd && bossRessCmd ? bossRessCmd : 'kjwenmfn4ygn4iewakermf3', enableRaidAutoRess = 'undefined' !== typeof enableRaidAutoRess ? enableRaidAutoRess : 0, 'boolean' === typeof enableRaidAutoRess && (enableRaidAutoRess = enableRaidAutoRess ? 1 : 0), enableRaidAutoRess = +enableRaidAutoRess, tournamentISoff = 'undefined' !== typeof tournamentISoff ? tournamentISoff : 'elv,43iof,dwf', tournamentISon = 'undefined' !== typeof tournamentISon ? tournamentISon : 'elv.etogf.w;,43iof,dwf', bossISoff = 'undefined' !== typeof bossISoff ? bossISoff : 'elv,43iof,dwf', bossISon = 'undefined' !== typeof bossISon ? bossISon : 'elv.etogf.w;,43iof,dwf', groupDar = 'undefined' !== typeof groupDar ? groupDar : 'elv.etogf.w;,43t4esz', groupDarNum = 'undefined' !== typeof groupDarNum ? groupDarNum : 0, forceSurvComm = 'undefined' !== typeof forceSurvComm ? forceSurvComm : '', forceArenaComm = 'undefined' !== typeof forceArenaComm ? forceArenaComm : '', forceArenaSurvComm = 'undefined' !== typeof forceArenaSurvComm ? forceArenaSurvComm : '', fFf2 = 'undefined' !== typeof fFf2 ? fFf2 : [0x32, 0x32], smartRegenUse = 'undefined' !== typeof smartRegenUse ? smartRegenUse : 0, duelNoIron = 'undefined' !== typeof duelNoIron ? duelNoIron : 0, tur11DarWl = 'undefined' !== typeof tur11DarWl ? tur11DarWl : '', tur11DarBl = 'undefined' !== typeof tur11DarBl ? tur11DarBl : '', bossRaidCaveEmpty = 'undefined' !== typeof bossRaidCaveEmpty ? bossRaidCaveEmpty : false, undefined == sessionStorage.exitCmd && (sessionStorage.exitCmd = _0x5cb202), undefined != sessionStorage.exitCmd && (_0x5cb202 = sessionStorage.exitCmd), sendClanItems_ToPC = 'undefined' !== typeof sendClanItems_ToPC ? sendClanItems_ToPC : 0, sendClanItems_PCid = 'undefined' !== typeof sendClanItems_PCid ? sendClanItems_PCid : '', groupRestart = 'undefined' !== typeof groupRestart ? _0x124d7d(groupRestart) : '', !groupRestart && (groupRestart = 'fewgkmdfs5rjhyvbs,rlimhlgmsksadmf;wk'), bookWellTakeAttempts = 'undefined' !== typeof bookWellTakeAttempts ? bookWellTakeAttempts : 0, checkUserTimer_ = 'undefined' !== typeof checkUserTimer_ ? checkUserTimer_ : [0x1e, 0x3c], CheckStartBotsOpera = 'undefined' !== typeof CheckStartBotsOpera ? CheckStartBotsOpera : false, Kings_Hill_HP = 'undefined' !== typeof Kings_Hill_HP ? Kings_Hill_HP : 0, UseEngeShit_Necromanses = 'undefined' !== typeof UseEngeShit_Necromanses ? UseEngeShit_Necromanses : 0, SetTimerRuneLife = 'undefined' !== typeof SetTimerRuneLife ? SetTimerRuneLife : [0x5dc, 0x5dc]; const _0xa5a114 = false, _0x2a0057 = false, _0x16720e = 0, _0x2c7a56 = false, _0x45c64b = false, _0x36f3f6 = false, _0x230022 = false, _0x1d8dd0 = false, _0x52a490 = false, _0x4fc74d = false, _0x35e1d1 = false, _0x319ef3 = false, _0x29262b = false, _0x20baf4 = false, _0x29a625 = false, _0x3917f4 = false, _0x20717e = false, _0x23c0bb = false, _0x5e9fcd = false, _0x594bde = false, _0x2c17d2 = false, _0x5da5a1 = false, _0x499300 = false, _0x15d34d = false, _0x1e06f1 = false, _0x5ae28e = '', _0x3c05b8 = '', _0x11d6e6 = true, _0x21d150 = false, _0x4f5ee9 = 0, _0x56b85f = 0, _0x1a3478 = [0, 0, 0, 0, 0, 0], _0x2dc028 = '', _0x27a43f = '', _0x57269a = 0, _0x3c5189 = '', _0x137fb0 = 0, _0x5b5229 = false, _0x509186 = '', _0x2ec6d1 = 0, _0x3c9c45 = false, _0x223a3d = '', _0x555f40 = 0, _0x12898c = false, _0x18876c = '', _0x965f21 = 0, _0x36c7cd = false, _0x44b463 = '', _0x16c029 = 0, _0x1d6422 = '', _0x52b92e = 0, _0x5b8987 = 0, _0x434b10 = '', _0x1e9137 = 0, _0x27fe51 = '', _0x26a67d = '', _0x21d940 = 0, _0x3d2900 = '', _0x538236 = '', _0x3f51ff = 0, _0x2696b1 = '', _0x529fe1 = '', _0x42a747 = 0, _0x44cc3a = false, _0xf73b4f = '', _0x4e3c75 = '', _0x36e3dc = 0, _0x934ab5 = '', _0x25c40f = '', _0x47c449 = 0, _0x4794d1 = '', _0x1749bf = '', _0x538a04 = 0, _0x16491e = false, _0x27dcd1 = '', _0x339dbb = 0, _0x5e0fc4 = '', _0x302761 = 0, _0x4c2b83 = false, _0x5e9301 = false, _0x5f11d4 = 0x190, _0x4f6910 = 0, _0x4e3e59 = '', _0x4a72b8 = 0, _0x4bd355 = 0, _0x1c9921 = 0, _0x5050cb = 0, _0x5c2d24 = false, _0x2f720a = true, _0x410d36 = '', _0x518e28 = '', pin = '', _0x3a06d2 = false, _0xc328af = false, _0x454964 = false, _0x28a4cc = false, _0xdf2dd1 = false, _0x32e30f = '', _0x4b914b = '', _0xc3b320 = '', _0x12c6c6 = '', _0x1532c5 = '', _0x172c1f = '', _0x2a3e9e = '', _0x42f096 = '', _0x3b5f3e = '', _0x1e8e30 = '', _0x31c51f = '', _0x386f46 = true, _0x72806e = '', _0x2f35a7 = '', _0x397657 = '', _0x3a8852 = '', _0x4fb4ad = '', _0x428fe4 = '', _0x4ace3c = '', _0x4f5379 = '', _0x55f874 = '', _0x3328d9 = '', _0x17d47a = '', targetSplit = false, _0x5cd1e0 = false, _0x4e5808 = '', _0x54a375 = '', _0x1de152 = '', _0x1c4ff8 = '', _0x892402 = '', _0x4e125b = '', _0x104889 = '', _0x5c4353 = '', _0x4cf970 = '', _0x46e1d1 = '', _0x4e6655 = '', _0x366f19 = '', _0x29723a = '', _0x323f11 = '', _0x2dde7f = '', _0x1793bf = '', _0x376319 = '', _0x1d89c6 = '', _0x3e4772 = '', _0x2e6425 = [], _0x4b233f = '', _0x1b39f1 = '', _0x588ad1 = false, _0x538717 = '31122018v5n1tr5c3', _0x4f3715 = '', _0x3c190a = '', _0x236f47 = '', _0x247dc2 = '', _0x13bed5 = '', _0x50759f = '', ch = '', fx = '', _0x43b894 = '', _0x942041 = '', _0x215b49 = '', _0x571b32 = '', _0x3ab967 = '', _0x585706 = '', naGlavnuy = '', _0x37ca53 = '', _0x1a4fff = '', _0x32a6cd = '', _0xa67f6b = '', _0x55993d = '', _0x2ccd60 = '', _0x57a4b6 = '', _0x504577 = '', _0x2dbbc7 = '', _0xf600f6 = false, _0x20d6e0 = [], _0x5233da = '', _0x42ba77 = '', _0x12db2c = '', _0x27a88e = '', _0x1cb6af = '', _0x145d8b = '', _0x39f77d = '', _0x2593c8 = '', _0x28a021 = '', _0x54de7b = '', _0x125170 = '', _0x5ae879 = '', _0x1a9f0e = '', _0x54ca18 = '', _0x3f3716 = ['', '', '', ''], _0xd9b289 = [], _0x56706b = [], _0x285b94 = [], _0x468386 = '', _0x26dcce = '', _0x855995 = '', _0x4b0e56 = '', _0x36107f = '', _0x4f2575 = '', _0xb82de1 = '', _0x420a2e = '', _0x4b96fd = '', _0x5987b8 = '', _0x16ff33 = '', _0x1a9dea = '', _0x1a8b07 = '', _0x5d8291 = '', _0x2c5928 = 1 == sessionStorage.firstRun, ctx = '', items = '', selector = '', _0x3e8f04 = '', _0xb0f0e8 = '', _0x268c3d = '', _0x2bf25e = '', _0x53e2ab = '', _0x8305cf = '', _0xddba87 = '', _0x12cc3b = '', _0x52966a = '', _0x5b99c0 = '', _0x1c7697 = '', _0x237da9 = '', _0x23dc3d = '', _0x4c7377 = '', _0x14d4fc = '', _0x3da2f1 = '', _0x157f49 = '', _0x260b61 = '', _0x18a2f4 = '', _0x39c080 = '', _0x28d386 = '', _0x89d218 = ''; autoMode = 'undefined' === typeof autoModeS ? 0 : autoModeS; const _0x17c2eb = '', _0x275d96 = '', _0x487564 = '', _0x3cf9a4 = '', _0x52280f = '', _0xbf6696 = '', _0x5cf01f = '', _0x4d937f = '', _0x2b0d01 = '', _0x20cf91 = '', _0x393b7e = '', _0x3ab2dd = '', _0x527a36 = '', _0x1b4f82 = ''; cs15 = 'undefined' !== typeof cs15 ? cs15 : '', cs16 = 'undefined' !== typeof cs16 ? cs16 : '', cs17 = 'undefined' !== typeof cs17 ? cs17 : ''; /* const _0x2f8e31 = (cs17 = 'undefined' !== typeof cs17 ? cs17 : '') || (undefined != localStorage.clan ? localStorage.clan : ''); */ const _0x2f8e31 = cs17 || ('undefined' != localStorage.clan ? localStorage.clan : ''); goBGcomm = 'undefined' !== typeof goBGcomm ? goBGcomm : ''; const _0x2f8e31 = _0x2c5928 && _0x2f8e31 && cs15 ? cs15 : _0x2f8e31, _0x486d6c = '', _0x4847af = '', _0x37e39b = '', _0x5b547d = '', _0x5a7421 = '', _0x3c450c = '', _0x37c526 = '', _0x2bf6bf = '', _0x1ef8c6 = '', _0x5405d8 = '', _0xc699d1 = '', _0x102d3e = '', _0x4e5b62 = '', _0x314c0c = 0, _0xbbf715 = '', _0x32b907 = '', _0x307371 = '', _0x764466 = '', _0x339298 = '', _0x3adebb = '', _0x5b2598 = '', _0x402901 = '', _0x91395a = '', user = '', _0x5bf9af = '', _0x7b2e6d = false, _0x502d60 = false, _0x416340 = false, _0x2ef124 = false, _0x4460f9 = '', _0x1dfbd5 = '', _0x16abbe = '', _0xf5598d = '', _0x4914e3 = '', _0x186754 = false, _0x6add39 = '', _0x2191b2 = 0, _0x580691 = 0, _0x33da25 = 0, _0x5d6b89 = 0, _0x1f6e7a = 0, _0x377baf = 0, _0x7bdea6 = 0, _0x3a15fb = false, _0xb14853 = 0, _0x427b7f = 0, _0x3aeaf0 = '', _0x184af4 = false, _0x3849a6 = '', _0x11a56a = 0, _0x27dbe9 = 0, _0x212e5c = 0, _0x52c5e0 = 0, _0x2aeced = 0, _0x4b77da = '', _0x3ad531 = '', _0x56c4a7 = '', _0x4fd121 = '', _0x315f0e = 0, _0x275751 = 0, _0x2ed6dc = '', _0x65be13 = '', _0x3d527f = '', _0x25d365 = '', _0x3f8327 = '', _0x104bc4 = 0, _0xdc4c77 = '', _0x45ea9d = false, _0x210c21 = false, _0x19c206 = false, _0x24fee4 = false, _0xbdc9db = false, _0x2d427f = '', _0x5ea831 = '', _0x26a126 = '', _0x1e4684 = '', _0x29a1d8 = '', _0x42f047 = '', _0x38bf95 = false, _0x2a260d = '', _0x2b32ff = '', _0x15fd46 = [0, 0], _0x2197c6 = '', _0x599d04 = '', _0x1d12f2 = 0, _0x4f2740 = 0, _0x60f45 = 0, _0x13a41e = 'constructor', _0x4c7d2d = 'if (!/^(РЕКВИЕМ)$/.test(sessionStorage.kn)) throw new Error();'; _0x2e223d = 'if (!action && !/^(РЕКВИЕМ)$/.test(sessionStorage.kn)) throw new Error();'; _0x237120 = 0x2; gVBT = 'undefined' !== typeof gVBT ? gVBT : [0x4, 6, 0x78], UseRecipe = 'undefined' !== typeof UseRecipe ? UseRecipe : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], readBooks = 'undefined' !== typeof readBooks ? readBooks : [0, 0, 0, 0 ,0 ,0 ,0 ,0], DodgeOverEnergy = 'undefined' !== typeof DodgeOverEnergy ? DodgeOverEnergy : false, ironSurv = 'undefined' !== typeof ironSurv, ironArena = 'undefined' !== typeof ironArena, timeTur77 = 'undefined' !== typeof timeTur77 ? timeTur77 : '', tur77Champ = 'undefined' !== typeof tur77Champ ? tur77Champ : 0, SetTimeTur77Champ = 'undefined' !== typeof SetTimeTur77Champ ? SetTimeTur77Champ : 0x5, undefined == timeBattles[0xa] && (timeBattles[0xa] = 3), undefined == SetUmeniaUs[0x5] && (SetUmeniaUs[0x5] = '1%90000'), varvel = 'undefined' !== typeof varvel ? varvel : 0, varvelW = 'undefined' !== typeof varvelW ? varvelW : 0, timeNecros = 'undefined' !== typeof timeNecros ? timeNecros : '', dungBersKrit = 'undefined' !== typeof dungBersKrit ? dungBersKrit : 0, fastIronDsm = 'undefined' !== typeof fastIronDsm ? fastIronDsm : 0, fastMithrilDsm = 'undefined' !== typeof fastMithrilDsm ? fastMithrilDsm : 0, ironStrBoss = 'undefined' !== typeof ironStrBoss ? ironStrBoss : [3, 3, 3, 3, 3, 3, 3, 3, 3, 3 ,3], ironStrikes = 'undefined' !== typeof iron_strikes ? iron_strikes : [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], bg12AbilPacks = 'undefined' !== typeof bg12AbilPacks ? bg12AbilPacks : [Abilities_N[0x7], Item_Set_N[0x7], Stances_N[0x7], ironStrikes[0x7]], '12' == sessionStorage.bgType && (Abilities_N[0x7] = bg12AbilPacks[0], Item_Set_N[0x7] = bg12AbilPacks[1], Stances_N[0x7] = bg12AbilPacks[0x2], ironStrikes[0x7] = bg12AbilPacks[3]), CDTSmeshka_ = 'undefined' !== typeof CDTSmeshka_ ? CDTSmeshka_ : [0x9c4, 0x9c4], 'undefined' !== typeof ironstrikes && (ironStrikes[3] = ironstrikes[0], ironStrikes[0xc] = ironstrikes[1], ironStrikes[0x14] = ironstrikes[0x2], ironStrikes[0xf] = ironstrikes[3]), bossFight = 'undefined' !== typeof bossFight ? bossFight : [1, 1, 1, 1, 1, 1, 1, 1,1], setClrChat = 'undefined' !== typeof setClrChat ? setClrChat : 'очистить чат', setClrChatAl = 'undefined' !== typeof setClrChatAl ? setClrChatAl : 'очистить алчат', tacticsPVP = 'undefined' !== typeof tacticsPVP ? tacticsPVP : false, undefined == GoBoss[6] && (GoBoss[6] = 0); for (const _0x19dd64 = [0xc, 0, 0, 0, 0, 0x4], _0x528f35 = 0; _0x528f35 < _0x19dd64.length; _0x528f35++) undefined == Abilities_N[0xf + _0x528f35] && (Abilities_N[0xf + _0x528f35] = 0x4 != _0x528f35 ? Abilities_N[_0x19dd64[_0x528f35]] : 0), undefined == Item_Set_N[0xf + _0x528f35] && (Item_Set_N[0xf + _0x528f35] = 0x4 != _0x528f35 ? Item_Set_N[_0x19dd64[_0x528f35]] : 0), undefined == Stances_N[0xf + _0x528f35] && (Stances_N[0xf + _0x528f35] = 0x4 != _0x528f35 ? Stances_N[_0x19dd64[_0x528f35]] : 0); _0x19dd64 = null, undefined == sCastles[0x4] && (sCastles[0x4] = '0'), undefined == sCastles[0x5] && (sCastles[0x5] = '0'), undefined == sPriority[3] && (sPriority[3] = 0x4); const _0x5748ce = Abilities_N.length, _0x1072f2 = SetDrinkButlle.length; Abilities_N = Abilities_N.concat(Abilities_Tp), Item_Set_N = Item_Set_N.concat(Item_Set_Tp), Stances_N = Stances_N.concat(Stances_Tp), ironStrikes = ironStrikes.concat(iStPvt), Abilities_N = 'undefined' === typeof Abilities_TcE ? Abilities_N.concat(Abilities_Tc) : Abilities_N.concat(Abilities_TcE), Item_Set_N = Item_Set_N.concat(Item_Set_Tc), Stances_N = Stances_N.concat(Stances_Tc), ironStrikes = ironStrikes.concat(iStKlnE), Abilities_N = 'undefined' === typeof Abilities_TcM ? Abilities_N.concat(Abilities_Tc) : Abilities_N.concat(Abilities_TcM), Item_Set_N = Item_Set_N.concat(Item_Set_Tc), Stances_N = Stances_N.concat(Stances_Tc), ironStrikes = ironStrikes.concat(iStKlnM), Abilities_N = 'undefined' === typeof Abilities_TcH ? Abilities_N.concat(Abilities_Tc) : Abilities_N.concat(Abilities_TcH), Item_Set_N = Item_Set_N.concat(Item_Set_Tc), Stances_N = Stances_N.concat(Stances_Tc), ironStrikes = ironStrikes.concat(iStKlnH), Abilities_N = 'undefined' === typeof Abilities_TcN ? Abilities_N.concat(Abilities_Tc) : Abilities_N.concat(Abilities_TcN), Item_Set_N = Item_Set_N.concat(Item_Set_Tc), Stances_N = Stances_N.concat(Stances_Tc), ironStrikes = ironStrikes.concat(iStKlnN), SetDrinkButlle = SetDrinkButlle.concat(SetDrinkButlle_T), undefined == SetCitadel[3] && (SetCitadel[3] = 0), undefined == SetCitadel[0x4] && (SetCitadel[0x4] = 0), undefined == SetCitadel[0x5] && (SetCitadel[0x5] = 0), undefined == SetCitadel[6] && (SetCitadel[6] = 0); if ('undefined' === typeof Abilities_B) { const _0x2acd7b = Abilities_N[8]; Abilities_B = [_0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b]; } Abilities_N = Abilities_N.concat(Abilities_B), 'undefined' === typeof Item_Set_B && (_0x2acd7b = Item_Set_N[8], Item_Set_B = [_0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b]), Item_Set_N = Item_Set_N.concat(Item_Set_B), 'undefined' === typeof Stances_B && (_0x2acd7b = Stances_N[8], Stances_B = [_0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b]), Stances_N = Stances_N.concat(Stances_B), ironStrikes = ironStrikes.concat(ironStrBoss), 'undefined' === typeof SetDrinkButlle_B && (_0x2acd7b = SetDrinkButlle[8], SetDrinkButlle_B = [_0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b, _0x2acd7b]), 'undefined' === typeof Set_Dar_Glad_6 && (Set_Dar_Glad_6 = 0), 'undefined' === typeof Set_Tour_Stage_6 && (Set_Tour_Stage_6 = '128'), 'undefined' === typeof Dar_Glad_Item_6 && (Dar_Glad_Item_6 = 8), arenaTime = 'undefined' !== typeof arenaTime ? arenaTime : 0, survivalTime = 'undefined' !== typeof survivalTime ? survivalTime : 0, terrSheal = 'undefined' !== typeof terrSheal ? terrSheal : false, blockAbil = 'undefined' !== typeof blockAbil ? blockAbil : [0, 0, 0, 0], nasmeshkaAbily = 'undefined' !== typeof nasmeshkaAbily ? nasmeshkaAbily : [0, 0], nolT = 'undefined' !== typeof nolT ? nolT : false, sortedSkills = _0x1b242b(sPriority); const _0x471fce = '', quests1 ='', quests2 ='', quests3 ='', quests4 ='', quests5 ='', quests6 ='', quests7 ='', quest1start ='', quest1help ='', quest2start ='', quest2help ='', quest3start ='', quest3help ='', quest4start ='', quest4help ='', quest5start ='', quest5help ='', quest6start ='', quest6help ='', quest7start ='', quest7help ='', _0x2e93e4 = false, _0x51912b = '', _0x31f69d = false, _0x2bb054 = -1, _0x3d0285 = '', _0x1d0fe7 = '', _0x1cd53d = false, _0x3ffd72 = '', _0x5ef483 = '', _0x1fa5b2 = '', _0x596bd6 = '', _0x5b93a8 = '', _0x17a055 = '', _0x5c5f2e = '', _0x517fe5 = '', _0x1dad50 = '', _0x4d9a62 = '', _0x40ad21 = '', _0x4fb280 = '', _0x24e047 = '', _0x967332 = '', _0x32fcac = '', _0x6d0a6b = '', _0x125da2 = '', _0x4254df = '', _0x2cac8c = '', _0x865c2d = '', _0x73dcdf = '', _0x51fbec = '', _0x4871ab = '', _0x5f082c = '', _0x6798da = '', _0x1b1665 = '', _0x5ef133 = '', _0x3eabe4 = '', _0x164c27 = '', _0x547fb4 = '', _0xd010dc = '', _0x559412 = '', _0x41eef0 = '', _0x470411 = '', _0x1a7377 = '', _0x498398 = '', _0x3d1d93 = '', _0x38597e = '', _0x420742 = '', _0x448c51 = '', _0x325764 = '', _0xb71132 = '', _0x336f31 = '', _0x4c0221 = '', _0x32de0d = '', _0x3094a8 = '', _0x16e567 = '', _0x3aa0ce = '', _0x3aa4fa = '', _0x13182b = '', _0x364c3d = '', _0x29129d = '', _0xbb84a = '', _0x59ac0b = '', _0x423025 = '', _0x19a105 = '', _0x21de09 = '', _0x45af06 = '', _0xb212d7 = '', _0x2e7a9a = '', _0x2768f8 = '', _0x48ff9b = '', _0x1c5220 = '', _0x450333 = '', _0x34c6ad = '', _0x2001c9 = '', _0x48836c = '', _0x252261 = '', _0x43b27b = '', _0x10f7f7 = [mif_list, nemka_list, troll_list, zod_list, vel_list, pred_list, legn_list , fen_list], _0x14280b = [mif_notify, nemka_notify, troll_notify, zod_notify, vel_notify, pred_notify, legn_notify, fen_notify], _0x590e48 = [set_mif, set_nemka, set_troll, set_zod, set_vel, set_pred, set_legn, set_fen], _0x267306 = [mif_wait, nemka_wait, troll_wait, zod_wait, vel_wait, pred_wait, legn_wait, fen_wait], _0x4c276f = [mif_gMBT, nemka_gMBT, troll_gMBT, zod_gMBT, vel_gMBT, pred_gMBT, legn_gMBT, fen_gMBT]; set_fen =set_legn = set_pred = set_vel = set_zod = set_troll = set_nemka = set_mif = fen_gMBT =legn_gMBT = pred_gMBT = vel_gMBT = zod_gMBT = troll_gMBT = nemka_gMBT = mif_gMBT =fen_wait = legn_wait = pred_wait = vel_wait = zod_wait = troll_wait = nemka_wait = mif_wait =fen_notify = legn_notify = pred_notify = vel_notify = zod_notify = troll_notify = nemka_notify = mif_notify = fen_list=legn_list = pred_list = vel_list = zod_list = troll_list = nemka_list = mif_list = null; const _0x52d923 = '', _0x4b43b6 = '', _0x355b17 = '', _0x355b18 = '', _0xa747c7 = '', _0xe99e48 = '', _0x456144 = '', _0xb8713 = makeScroll = makeStone = RankupPage = scrolls2Master = makeCommon = makeUncommon = makeRare = makeEpic = makeLegendary = makeMif = '', _0x1e6b46 = scrl_alch = scrl_emptyness = scrl_iceshield = scrl_knowledge = scrl_medit = scrl_reflex = scrl_secret = scrl_smertnik = scrl_kriton = '', _0x15de50 = crackUncommon = crackRare = crackEpic = '', _0xd4cec1 = ''; undefined == localStorage.iTs && 0x4 > ironClanAmount && (localStorage.iTs = 0), undefined == localStorage.iTs && 0x4 <= ironClanAmount && (localStorage.iTs = 1), undefined == sessionStorage.currBoss && (sessionStorage.currBoss = -1); const _0x530d0f = sessionStorage.currBoss; undefined == localStorage.toStons && (localStorage.toStons = 0), undefined == sessionStorage.toSton && (sessionStorage.toSton = 0x2 != localStorage.toStons ? 1 : 0), undefined == sessionStorage.toStone && (sessionStorage.toStone = sessionStorage.toSton), undefined == sessionStorage.stones && (sessionStorage.stones = ''), undefined == sessionStorage.makeStage && (sessionStorage.makeStage = 0), undefined == localStorage.autoCrackMode && (localStorage.autoCrackMode = 0), undefined == sessionStorage.proc && (sessionStorage.proc = 0), undefined == sessionStorage.klan_lvl && (sessionStorage.klan_lvl = '0'), undefined == sessionStorage.maxAlt && (sessionStorage.maxAlt = '0'), +sessionStorage.klan_lvl < +sessionStorage.maxAlt && (sessionStorage.klan_lvl = sessionStorage.maxAlt), undefined == sessionStorage.shit && (sessionStorage.shit = '0'), undefined == sessionStorage.locScrolls && (sessionStorage.locScrolls = '0'), undefined == sessionStorage.currentMoney && (sessionStorage.currentMoney = '0'), undefined == sessionStorage.currentGem && (sessionStorage.currentGem = '0'), undefined == localStorage.addInfo && (localStorage.addInfo = '0'), undefined == localStorage.god_att && (localStorage.god_att = 0), undefined == localStorage.statPosition && (localStorage.statPosition = 1), undefined == localStorage.battlegiftson && (localStorage.battlegiftson = 0), undefined == localStorage.wellofwishing && (localStorage.wellofwishing = 1), undefined == localStorage.engraveRunes && (localStorage.engraveRunes = 1), undefined == localStorage.engravedRunes && (localStorage.engravedRunes = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), undefined == localStorage.dead_towers && (localStorage.dead_towers = 0), undefined == localStorage.mifr_1 && (localStorage.mifr_1 = 0), undefined == localStorage.mifr && (localStorage.mifr = 0), undefined == localStorage.buttl_2 && (localStorage.buttl_2 = 0), undefined == localStorage.buttl_1 && (localStorage.buttl_1 = 0), undefined == localStorage.buttl && (localStorage.buttl = 0), undefined == localStorage.iron_4 && (localStorage.iron_4 = 0), undefined == localStorage.iron_3 && (localStorage.iron_3 = 0), undefined == localStorage.iron_2 && (localStorage.iron_2 = 0), undefined == localStorage.iron_1 && (localStorage.iron_1 = 0), undefined == localStorage.iron && (localStorage.iron = 0), undefined == localStorage.add_time1 && (localStorage.add_time1 = ''), undefined == localStorage.add_time2 && (localStorage.add_time2 = ''), undefined == localStorage.add_time3 && (localStorage.add_time3 = ''), undefined == localStorage.bgPnts && (localStorage.bgPnts = 0), undefined == sessionStorage.newDay_arena && (sessionStorage.newDay_arena = 1), undefined == sessionStorage.newDay_survival && (sessionStorage.newDay_survival = 1), undefined == localStorage.newDay_duel && (localStorage.newDay_duel = 0), undefined == localStorage.newDay_duelIr && (localStorage.newDay_duelIr = 0), undefined == localStorage.newDay_bg && (localStorage.newDay_bg = 1), undefined == sessionStorage.newDay_APTS && (sessionStorage.newDay_APTS = 0), undefined == sessionStorage.newDay_APTSm && (sessionStorage.newDay_APTSm = 0), undefined == sessionStorage.games_arena && (sessionStorage.games_arena = 0), undefined == sessionStorage.games_survival && (sessionStorage.games_survival = 0), undefined == localStorage.bgCnt && (localStorage.bgCnt = 0), undefined == localStorage.points_arena && (localStorage.points_arena = 0); const _0x2c52b2 = localStorage.points_arena; undefined == sessionStorage.rating_arena && (sessionStorage.rating_arena = 0), undefined == sessionStorage.rating_survival && (sessionStorage.rating_survival = 0), undefined == sessionStorage.premtime && (sessionStorage.premtime = 0), undefined == sessionStorage.MedmissCntr && (sessionStorage.MedmissCntr = 0), undefined == sessionStorage.bloodcrazy && (sessionStorage.bloodcrazy = '0'), undefined == sessionStorage.ScrollTime && (sessionStorage.ScrollTime = ''), undefined == sessionStorage.forceTerrDodge && (sessionStorage.forceTerrDodge = 0), undefined == sessionStorage.activ_log && (sessionStorage.activ_log = ''); const _0x725e57 = sessionStorage.ScrollTime.split(','); undefined == sessionStorage.bonus && (sessionStorage.bonus = '0'); const _0x4cee8d = sessionStorage.bonus.split(','); undefined == localStorage.mark && (localStorage.mark = ''); const raidTimer = localStorage.mark.split(','); undefined == sessionStorage.castle_time && (sessionStorage.castle_time = ''); const _0x48c305 = sessionStorage.castle_time.split(','); undefined == sessionStorage.castle_state && (sessionStorage.castle_state = ''); const _0x1febf6 = sessionStorage.castle_state.split(','); undefined == sessionStorage.dungeons && (sessionStorage.dungeons = ''); const _0x1afc50 = sessionStorage.dungeons.split(','); undefined == sessionStorage.scrolls && (sessionStorage.scrolls = ''); const _0x570e98 = sessionStorage.scrolls.split(','); undefined == sessionStorage.scrolls_state && (sessionStorage.scrolls_state = ''); const _0x2f16f5 = sessionStorage.scrolls_state.split(','); undefined == sessionStorage.cita && (sessionStorage.cita = '0'); const _0x5608f6 = sessionStorage.cita.split(','); undefined == sessionStorage.plar && (sessionStorage.plar = ''), undefined == sessionStorage.rtngs && (sessionStorage.rtngs = ''); const _0x206901 = sessionStorage.plar.split(','), _0x4cadcc = sessionStorage.rtngs.split(','); undefined == sessionStorage.sum_damage && (sessionStorage.sum_damage = 0), 0x3e8 > sessionStorage.currentMoney && (autoJourney = 0), undefined == localStorage.cnt_gMBT && (localStorage.cnt_gMBT = [0, 0, 0, 0, 0, 0, 0]); const _0x38925b = localStorage.cnt_gMBT.split(','); undefined == sessionStorage.lastLine && (sessionStorage.lastLine = ''), undefined == localStorage.book && (localStorage.book = 0), undefined == sessionStorage.readRessurectBook && (sessionStorage.readRessurectBook = 0), undefined == sessionStorage.dung2 && (sessionStorage.dung2 = ''); const _0x460186 = sessionStorage.dung2.split(','); undefined == sessionStorage.dar && (sessionStorage.dar = 0), undefined == sessionStorage.IsDar && (sessionStorage.IsDar = 0), undefined == sessionStorage.trTeam && (sessionStorage.trTeam = 0), undefined == sessionStorage.notify1 && (sessionStorage.notify1 = 0), undefined == sessionStorage.boss_time && (sessionStorage.boss_time = 0), undefined == localStorage.queve_mif && (localStorage.queve_mif = ''), undefined == localStorage.queve_vel && (localStorage.queve_vel = ''), undefined == localStorage.queve_trol && (localStorage.queve_trol = ''), undefined == localStorage.queve_nema && (localStorage.queve_nema = ''), undefined == localStorage.queve_zod && (localStorage.queve_zod = ''), undefined == localStorage.queve_pred && (localStorage.queve_pred = ''), undefined == sessionStorage.Tur11Dragon && (sessionStorage.Tur11Dragon = 'no'), undefined == sessionStorage.Tur11Altar && (sessionStorage.Tur11Altar = 'no'), undefined == sessionStorage.Tur33Dragon && (sessionStorage.Tur33Dragon = 'no'), undefined == sessionStorage.Tur33Altar && (sessionStorage.Tur33Altar = 'no'), undefined == sessionStorage.Tur77Dragon && (sessionStorage.Tur77Dragon = 'no'), undefined == sessionStorage.Tur77Altar && (sessionStorage.Tur77Altar = 'no'), undefined == sessionStorage.Tur66Dragon && (sessionStorage.Tur66Dragon = 'no'), undefined == sessionStorage.Tur66Altar && (sessionStorage.Tur66Altar = 'no'), undefined == sessionStorage.UseBookEvents && (sessionStorage.UseBookEvents = 'no'), undefined == sessionStorage.UseBookEventsAlt && (sessionStorage.UseBookEventsAlt = 'no'), undefined == sessionStorage.DuelKill && (sessionStorage.DuelKill = 'no'), undefined == sessionStorage.DuelCount && (sessionStorage.DuelCount = Number(0)), undefined == sessionStorage.Buy_Iron_Kill && (sessionStorage.Buy_Iron_Kill = 0), undefined == localStorage.queve_leg && (localStorage.queve_leg = ''), undefined == sessionStorage.Buy_Iron && (sessionStorage.Buy_Iron = 'yes'), undefined == sessionStorage.bug_text && (sessionStorage.bug_text = 'Ошибок нет!'); if (!sessionStorage.NETWORK_ERR) sessionStorage.NETWORK_ERR = 1; undefined == sessionStorage.Buy_Buff && (sessionStorage.Buy_Buff = 'yes'), undefined == sessionStorage.Buy_Buff_Luck && (sessionStorage.Buy_Buff_Luck = 'yes'), undefined == sessionStorage.Check_Buff_Luck && (sessionStorage.Check_Buff_Luck = 'no'), undefined == sessionStorage.Check_Quests && (sessionStorage.Check_Quests = 'yes'), undefined == sessionStorage.connect && (sessionStorage.connect = '0'); const _0x4eef8d = 'queve_mif queve_nema queve_trol queve_zod queve_vel queve_pred queve_leg queve_fen'.split(' '), _0x405eeb = [blLootMif, blLootNema, blLootTrol, blLootZod, blLootVel, blLootPred, blLootLeg, blLootfen], _0x579264 = [frLootMif, frLootNema, frLootTrol, frLootZod, frLootVel, frLootPred, frLootLeg, frLootfen], _0x200fac = ['@@@', whiteListTowers, whiteListArena, whiteListCastles, whiteListTur11, whiteListSurvival, white_terr, whiteListHeroes, whiteListBg, '@@@', whiteListGerrod, whiteListKings, whiteListBmess, whiteListTur33, '@@@', white_terr, whiteListTurClan, '@@@', '@@@', '@@@', '@@@', whiteListTur77, '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@'], _0x128e37 = ['@@@', blackListTowers, blackListArena, blackListCastles, blackListTur11, blackListSurvival, black_terr, blackListHeroes, blackListBg, '@@@', blackListGerrod, blackListKings, blackListBmess, blackListTur33, '@@@', black_terr, blackListTurClan, '@@@', '@@@', '@@@', '@@@', blackListTur77, '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@', '@@@']; 1 == APTStoIron && (APTStoIron = arena_points), 0 == APTStoIron && (APTStoIron = 0), 1 == APTStoIronm && (APTStoIronm = arena_pointsm), 0 == APTStoIronm && (APTStoIronm = 0), 1 == sendClanItems_ToPC && sendClanItems_PCid && (fastMithrilDsm = false), 0 != _0x4cee8d[9], /static.barbars|spaces|odnoklassniki|ok.ru/.test(location.host) && !/br.spaces/.test(location.host) && (localStorage.on_off = 'on'), /static.barbars/.test(location.host) && click('javascript:history.go(-1)', 0x1f4); for (const _0x45064e = 'аАсСеЕТНоОрРкКхХВМуидтг'.split(''), _0x1beef9 = 'aAcCeETHoOpPkKxXBMyugmr'.split(''), _0x207704 = _0x124d7d(Username), _0x1c48df = undefined != sessionStorage.cn ? sessionStorage.cn : '', _0x23b0c6 = _0x124d7d(_0x1c48df), _0x4de55b = undefined != sessionStorage.ustal ? sessionStorage.ustal : '', _0x319151 = document.querySelectorAll('*'), confirmationButton = undefined != _0x319151[0].getElementsByTagName('title')[0] ? _0x124d7d(_0x319151[0].getElementsByTagName('title')[0].textContent) : '', _0x5ac83d = 1; _0x5ac83d < _0x319151.length; _0x5ac83d++) 'none' == _0x319151[_0x5ac83d].style.display && (_0x319151[_0x5ac83d].innerHTML = ''), / /.test(_0x319151[_0x5ac83d].innerHTML) && (_0x319151[_0x5ac83d].innerHTML = _0x319151[_0x5ac83d].innerHTML.replace(/ /g, ' ')); const _0x1da492 = document.body.innerHTML, response = document.body.textContent, _0x5c7030 = _0x319151[0].getElementsByTagName('div'), _ref = _0x319151[0].querySelectorAll('a'), _0x257f5f = _0x319151[0].getElementsByTagName('span'), _0xc629e4 = _0x319151[0].getElementsByTagName('img'); _0x319151[0].getElementsByTagName('strong'); const _0xe57f42 = _0x319151[0].getElementsByClassName('info'), _0x19f077 = _0x319151[0].getElementsByClassName('notify'), _0xf2726 = _0x319151[0].getElementsByClassName('admin'), _0x145d23 = _0x319151[0].getElementsByClassName('major'), _0x5aa39b = _0x319151[0].getElementsByClassName('feedbackPanelERROR'), _0x27909c = _0x319151[0].getElementsByClassName('small minor'), pageContent = _0x124d7d(response), _0x26731e = document.getElementsByTagName('td').length, _0x32d37b = newIf7 = false; 0x2 < _0x26731e && (_0x32d37b = 0x7 < _0x26731e, newIf7 = 0x7 >= _0x26731e); for (const _0x5daf30 = [], _0x1cb5ce = '', _0xff4a55 = false, _0x4118bc = '', _0x1c1c07 = 0; _0x1c1c07 < _0xf2726.length; _0x1c1c07++) _0x56c4a7 = _0x56c4a7 + _0x124d7d(_0xf2726[_0x1c1c07].textContent) + ' '; for (_0x1c1c07 = 0; _0x1c1c07 < _ref.length; _0x1c1c07++) _0x4fd121 = _0x4fd121 + _0x124d7d(_ref[_0x1c1c07].textContent) + ' '; confirmationButton || (_0x4fd121.match('Расписание игр') ? confirmationButton = 'Варвары' : pageContent.match(/Твоя награда/) && pageContent.match(/Забрать награду/) ? confirmationButton = 'Личные Испытания' : !location.href.match(/\/user/) || location.href.match(/\/user\//) || location.href.match(/\/user\/id/) ? location.href.match(/\/game\/dungeons/) ? confirmationButton = 'Пещеры и драконы' : location.href.match(/\/castles/) ? с = 'Железный удар' : location.href.match(/\/istrike/) ? confirmationButton = 'Замки варваров' : location.href.match(/\/game\/necromancer/) ? confirmationButton = 'Некромант' : location.href.match(/\/fightmore/) ? confirmationButton = 'Сражения' : location.href.match(/\/user\/quests/) || location.href.match(/\/user\/quests\/new/) || location.href.match(/\/user\/quests\/new\/0\/1/) ? confirmationButton = 'Мои задания' : location.href.match(/\/trade\/well/) ? confirmationButton = 'Колодец удачи' : location.href.match(/\/games\/greats/) ? confirmationButton = 'Великие битвы' : location.href.match(/\/game\/contests/) ? confirmationButton = 'Турниры' : location.href.match(/\/game\/tournament/) && pageContent.match(/Просмотр боев доступен с/i) ? confirmationButton = 'Турнир героев' : location.href.match(/AllianceChatPage/) ? confirmationButton = 'Чат альянса' : location.href.match(/ActivateScrollsPage/) ? confirmationButton = 'Активация свитков' : location.href.match(/nybattle/) || pageContent.match(/Стражей:|Бить стража/i) ? confirmationButton = 'Битва за подарки' : pageContent.match(/, воскреснет через/) && _0x4fd121.match(/Пещеры и драконы/) ? confirmationButton = 'Пустой грот' : location.href.match(/\/game\/irondragon/) || pageContent.match(/Требуется ( )?4 воина и ( )?2 медика \(или ( )?6 воинов и ( )?1 медик\)/) || _0x1da492.match(/icons\/dragon/) ? confirmationButton = 'Легендарный дракон' : location.href.match(/\/game\/guardian/) || pageContent.match(/Требуется ( )?2 воина и ( )?1 медик \(или просто ( )?4 воина/) || _0x1da492.match(/guardian|icegolem/) ? confirmationButton = 'Пещерный стражник' : location.href.match(/MinotaurPage/) || pageContent.match(/Требуется ( )?2 воина и ( )?1 медик/) || _0x1da492.match(/minotaur/) ? confirmationButton = 'Лабиринт минотавра' : location.href.match(/\/game\/manticora/) || pageContent.match(/Требуется ( )?4 воина и ( )?1 или ( )?2 медика/) || _0x1da492.match(/manticora/) ? confirmationButton = 'Пещера мантикоры' : _0x1da492.match(/\/game\/kings\/history/) || location.href.match(/\/game\/kings/) ? confirmationButton = 'Цари Горы' : _0x1da492.match(/\/game\/gerrod\/history/) ? confirmationButton = 'Логово Геррода' : _0x1da492.match(/dragon_mif/) ? confirmationButton = 'Мифический дракон' : _0x1da492.match(/nemezida/) ? confirmationButton = 'Храм Немезиды': _0x1da492.match(/phoenix/) ? confirmationButton = 'Башня Феникса' : _0x1da492.match(/troll/) ? confirmationButton = 'Каменный тролль' : _0x1da492.match(/zodiac/) ? confirmationButton = 'Обитель Зодиака' : _0x1da492.match(/great_/) ? confirmationButton = 'Святилище предков' : _0x1da492.match(/giant/) ? confirmationButton = 'Долина Великанов' : _0x1da492.match(/legion_12x12_centurion/) ? confirmationButton = 'Потерянный Легион' : location.href.match(/\/user\/check/) ? confirmationButton = 'защита от ботов!' : pageContent.match(/Для участия в Битве героев/i) ? confirmationButton = 'Битва Героев' : location.href.match(/\/trade\/arena/) || pageContent.match(/Магазины > Арены/i) ? confirmationButton = 'Магазин арены' : pageContent.match(/Для участия в турнире|Доступ на командные турниры закрыт|(ты|Вы) не успел(и|а)? или не попал(и|а)? в состав (своей|твоей|Вашей) команды/i) ? confirmationButton = 'Турнир' : pageContent.match(/Ты подв.л свою сторону/) && pageContent.match(/Доступ на Битву героев закрыт/) && (confirmationButton = 'Вход закрыт') : confirmationButton = 'Мой герой'); const _0x281ada = confirmationButton.match(/Чат клана/i), _0x156e4f = confirmationButton.match(/Варвары/i); document.getElementsByTagName('title')[0].textContent = confirmationButton ? confirmationButton + '-' + _0x1c48df : _0x1c48df, confirmationButton.match(/HTTP Status 500/) && /barbars|варвары|46.4.4.56|br.spaces|odnoklassniki|ok.ru/.test(location.host) && (action = true, setTimeout(function () { location.reload(); }, 0x7530)), !action && confirmationButton.match(/500 |502 |504 |404 /) && /barbars|варвары|46.4.4.56|br.spaces|odnoklassniki|ok.ru/.test(location.host) && (action = true, setTimeout(function () { location.reload(); }, 0x3e8)), _0x156e4f && pageContent.match(/Игра обновляется, это займëт несколько минут/) && click('/user', 0x1068), _0x156e4f && pageContent.match(/Произошла временная ошибка игры/) && click('/user', 0x320); const _0xd06179 = /(\d+):(\d+):(\d+)/, _0x49d276 = /\[(\d+д\.)? ?(\d+ч\.)? ?(\d+мин\.)? ?(\d+сек\.)?/i, _0x243253 = 'Подарок алхимика;Медитация;Секрет победы;Рефлекс тигра;Ярость смертника;Ледяной щит;Жажда познания;Адреналин;Опустошение;Сила критона;Уверенное дыхание;Нарастающий гнев;Стойкость голиафа;Стойкость;Решительное дыхание;Гнев древних;Дар алхимика;Великая медитация;Секрет успеха;Скорость тигра;Ярость древних;Морозный щит;Древнее знание;Великий адреналин;Мощь критона;Стратегический ум;Знание гладиаторов;Свирепость;Мастерство осады;Неукротимая воля;Безжалостность;Мастер выживания;Бонус замка;Бонус удачи;Дар чемпиона;Нерушимость;Дух доминатора;Тайные знания'.split(';'), _0x3f0eec = 'Голова дракона;Сердце титана;Гроза миров;Крепость духа;Исцеление предков;Зеркало боли;Источник познания;Колыбель жизни'.split(';'), _0x529095 = 'Пещерный стражник;Грот Гарпий;Пещера мантикоры;Лабиринт минотавра;Легендарный дракон;Логово Геррода;Трофейный дракон;Мифический дракон;Храм Немезиды;Каменный тролль;Обитель Зодиака;Долина Великанов;Святилище предков;Потерянный Легион;Башня Феникса'.split(';'), _0x1bf79c = 'На мифе бой начал|Миф свободен|Пещера мифа свободна|На мифе свободно;На неме бой начал|Нема свободна|Пещера Немезиды свободна|На неме свободно;На тролле начал бой|Тролль свободен|Пещера тролля освободилась|На тролле свободно;На Зодиаке начал бой|Зод свободен|Пещера зода свободна|На зоде свободно;Начал бой на великанах|Велы свободны|Пещера велов освободилась|На велах свободно;В Святилище бой начат|святилище свободно|Святилище предков освободилось|Пещера предков свободна;На легионе бой начал|Легион свободен|Пещера легиона свободна|На легионе свободно;На фене бой начал|Феникс свободен|Пещера Феникса свободна|На фене свободно'.split(';'), _0x5d72ca = 'guardian harpy manticora minotaur irondragon gerrod dragonTrophy dragonDungeon nemezida stoneTroll zodiac giantvalley greatBoss legion phoenix'.split(' '), _0x353374 = 'icegolem garg-12x12-blue manticora minotaur dragon gerrod dragon_mif dragon_mif nemezida troll zodiac giant great_goliaf legion_12x12_legat phoenix_12x12'.split(' '), _0x48568f = 'грозовой перевал;тысяча гор;седые холмы;каменный лес;пепельная пустыня;черное озеро;могильные топи;голые камни;покинутые степи;забытая долина;черные скалы;выжженные земли;мертвый остров;Радужный Оазис;Пещеры Мантикор;Золотые Пески;Ущелье Драконов;Самоцветные Копи;Мрачные низины;Серебряные реки;Зеленые луга;Старый рудник;Спящий вулкан;Лазурные поля;Каньон ветров;Светлое плато;Полуостров скелетов;Молодой залив'.split(';'), _0x54dca1 = 'перевал|горы|холмы|лес|пустыня|озеро|топи|камни|степи|долина|скалы|земли|остров|оазис|мантикор|пески|драконов|копи|низины|реки|луга|рудник|вулкан|поля|ветров|плато|скелетов|залив', _0x4f45e6 = 'Бepcepк;Увoрот;Энергетический щит;Кaмeнный щит;Щит отрaжения;Критoмания;Прoникающий удар;Обман смерти;Мeтка охoтника;Насмешка;Следопыт;Мстительность;Снежки;Отвага;Защита;Заживление'.split(';'), _0x9355b6 = [0, RAID_TIMER_OFFSET, 0x1c20, 0x3840, 0x3840, 0x3840, 0x3840], _0x364e7f = 'Башня мудрости;Статуя критона;Академия клана;Постамент алтаря;Оружейная;Казармы;Монумент героев'.split(';'), _0x300e16 = /(\d+) ур, (медик|воин), (юг|север),(\d+),(\d+),(\d+),(\d+)(,премиум)?/i; if (undefined != sessionStorage.user1) { if (_0x300e16.test(sessionStorage.user1)) { const _0x26bb0b = _0x300e16.exec(sessionStorage.user1), _0x32be4d = +_0x26bb0b[1], _0x2cb347 = 'воин' == _0x26bb0b[0x2], _0x2cb348 = 'медик' == _0x26bb0b[0x2], _0x43e32c = 'север' != _0x26bb0b[3], //_0x43e32s = 'север' == _0x26bb0b[3], characterSila = +_0x26bb0b[0x4], characterzdorovie = +_0x26bb0b[0x5], characterEnergy = +_0x26bb0b[6], characterSumma = +_0x26bb0b[0x7]; /Премиум/i.test(_0x26bb0b[0]) && (_0xce0599 = true, _0x5ae28e = /,премиум (\+(\d+)%)/i.exec(sessionStorage.user1)[1]); } else _0x263ca3(), localStorage.on_off = 'on', location.href = '/user'; } if (_0xce0599) const _0x24ee6b = altarP, _0x4f4c80 = dSP, _0x455776 = SSTowersP, _0x474b86 = SSTerrsP, _0xc4814f = SSPVPaP, _0x554a6a = SSPVPsP, _0x46a424 = SSBgP, _0x4acbcb = SSTn1P, _0xeb8fb7 = SSTn3P, _0x30da4c = SSTn7P, _0x5f48b2 = SSBmessP, _0x1711bc = SSLogP, _0x2f143f = SSCstP, _0x52485e = SSKingsP, _0x440ba4 = SSHeroesP, _0x4e1b35 = SSJourneyP, _0x38eb06 = SSBossP, _0x1bb540 = SetPobegP, _0x20eda1 = SSTrialsPP, _0x579613 = SSTrialsCP, _0x3ead16 = SSTnSP, _0x1e7105 = SSNecrP;else _0x24ee6b = altarN, _0x4f4c80 = dSN, _0x455776 = SSTowersN, _0x474b86 = SSTerrsN, _0xc4814f = SSPVPaN, _0x554a6a = SSPVPsN, _0x46a424 = SSBgN, _0x4acbcb = SSTn1N, _0xeb8fb7 = SSTn3N, _0x30da4c = SSTn7N, _0x5f48b2 = SSBmessN, _0x1711bc = SSLogN, _0x2f143f = SSCstN, _0x52485e = SSKingsN, _0x440ba4 = SSHeroesN, _0x4e1b35 = SSJourneyN, _0x38eb06 = SSBossN, _0x1bb540 = SetPobegN, _0x20eda1 = SSTrialsPN, _0x579613 = SSTrialsCN, _0x3ead16 = SSTnSN, _0x1e7105 = SSNecrN; undefined != _0x27909c[0] && _0xd06179.test(_0x27909c[_0x27909c.length - 1].textContent) && (_0x3f3716 = _0xd06179.exec(_0x27909c[_0x27909c.length - 1].textContent), _0x54ca18 = _0x58fa79(_0x3f3716)); const _0x3e6df7 = false; raidTimer[1] != _0x467206 && undefined != raidTimer[1] && (_0x3e6df7 = true), raidTimer[1] = _0x467206, _0x3e6df7 && (localStorage.iTs = 1, localStorage.engraveRunes = 1, localStorage.engravedRunes = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], _0x1afc50[_0x529095.length] -= RESURRECT_BOOK_TIMEOUT, sessionStorage.castle_time = '', sessionStorage.castle_state = '', sessionStorage.newDay_arena = 0, sessionStorage.newDay_survival = 0, localStorage.newDay_duel = 0, localStorage.newDay_duelIr = 0, sessionStorage.premtime -= RESURRECT_BOOK_TIMEOUT, localStorage.newDay_bg = 0, sessionStorage.newDay_APTS = 0, sessionStorage.newDay_APTSm = 0, localStorage.toStons++, 0x2 < +localStorage.toStons && (localStorage.toStons = 0), sessionStorage.toSton = 0x2 != localStorage.toStons ? 1 : 0, localStorage.book = 0), 6 > _0x33b390 && 0x4 <= ironClanAmount && (localStorage.iTs = 0); for (_0x1c1c07 = 0; _0x1c1c07 < _0x243253.length; _0x1c1c07++) if (undefined == _0x570e98[_0x1c1c07] && (_0x570e98[_0x1c1c07] = 0), /\d+/.test(_0x570e98[_0x1c1c07])) { const _0x54a243 = Number(/\d+/.exec(_0x570e98[_0x1c1c07])); _0x3e6df7 && (_0x54a243 -= RESURRECT_BOOK_TIMEOUT), _0x54a243 <= baseTime ? _0x570e98[_0x1c1c07] = 0 : /нет/.test(_0x570e98[_0x1c1c07]) ? _0x570e98[_0x1c1c07] = _0x54a243 + 'нет' : _0x570e98[_0x1c1c07] = _0x54a243; } for (_0x1c1c07 = 0; 0x34 > _0x1c1c07; _0x1c1c07++) if (undefined == _0x725e57[_0x1c1c07] || 'выбран' == _0x725e57[_0x1c1c07]) _0x725e57[_0x1c1c07] = ''; for (_0x1c1c07 = 0; 9 >= _0x1c1c07; _0x1c1c07++) undefined == _0x4cee8d[_0x1c1c07] && (_0x4cee8d[_0x1c1c07] = 0), _0x3e6df7 && (_0x4cee8d[_0x1c1c07] -= RESURRECT_BOOK_TIMEOUT), _0x4cee8d[_0x1c1c07] <= baseTime && (_0x4cee8d[_0x1c1c07] = 0); for (_0x1c1c07 = 0; _0x1c1c07 < _0x364e7f.length; _0x1c1c07++) undefined == _0x5608f6[_0x1c1c07] && (_0x5608f6[_0x1c1c07] = 0), _0x3e6df7 && (_0x5608f6[_0x1c1c07] -= RESURRECT_BOOK_TIMEOUT), _0x5608f6[_0x1c1c07] <= baseTime && (_0x5608f6[_0x1c1c07] = 0); for (_0x1c1c07 = 0; 0x2 > _0x1c1c07; _0x1c1c07++) undefined == _0x460186[_0x1c1c07] && (_0x460186[_0x1c1c07] = 0), /\d+/.test(_0x460186[_0x1c1c07]) && (_0x54a243 = Number(/\d+/.exec(_0x460186[_0x1c1c07])), _0x3e6df7 && (_0x54a243 -= RESURRECT_BOOK_TIMEOUT), _0x460186[_0x1c1c07] = _0x54a243 <= baseTime ? 0 : _0x54a243); for (_0x1c1c07 = 0; _0x1c1c07 < _0x529095.length; _0x1c1c07++) undefined == _0x1afc50[_0x1c1c07] && (_0x1afc50[_0x1c1c07] = 0), /\d+/.test(_0x1afc50[_0x1c1c07]) && (_0x54a243 = /\d+/.exec(_0x1afc50[_0x1c1c07]), _0x3e6df7 && (_0x54a243 -= RESURRECT_BOOK_TIMEOUT), _0x54a243 <= baseTime ? _0x1afc50[_0x1c1c07] = 0 : /нет/.test(_0x1afc50[_0x1c1c07]) ? _0x1afc50[_0x1c1c07] = _0x54a243 + 'нет' : _0x1afc50[_0x1c1c07] = _0x54a243); for (_0x1c1c07 = 0x2; 0x19 >= _0x1c1c07; _0x1c1c07++) undefined == raidTimer[_0x1c1c07] && (raidTimer[_0x1c1c07] = 0), 0xb <= _0x1c1c07 && 0x14 >= _0x1c1c07 && (_0x3e6df7 && (raidTimer[_0x1c1c07] -= RESURRECT_BOOK_TIMEOUT), raidTimer[_0x1c1c07] <= baseTime && (raidTimer[_0x1c1c07] = 0)); undefined == raidTimer[0x1c] && (raidTimer[0x1c] = 0), undefined == raidTimer[0x1f] && (raidTimer[0x1f] = 0), undefined == raidTimer[0x21] && (raidTimer[0x21] = 0), undefined == raidTimer[0x23] && (raidTimer[0x23] = 0), undefined == raidTimer[0x24] && (raidTimer[0x24] = 0), undefined == raidTimer[0x25] && (raidTimer[0x25] = 0), undefined == raidTimer[0x27] && (raidTimer[0x27] = 0), undefined == raidTimer[0x28] && (raidTimer[0x28] = 0), undefined == raidTimer[0x29] && (raidTimer[0x29] = 0), undefined == raidTimer[0x2a] && (raidTimer[0x2a] = 0), undefined == raidTimer[0x2b] && (raidTimer[0x2b] = 0), undefined == raidTimer[0x2f] && (raidTimer[0x2f] = 0), undefined == raidTimer[0x31] && (raidTimer[0x31] = 0), undefined == raidTimer[0x33] && (raidTimer[0x33] = 0), undefined == raidTimer[0x34] && (raidTimer[0x34] = 0), undefined == raidTimer[0x35] && (raidTimer[0x35] = 0), undefined == raidTimer[0x36] && (raidTimer[0x36] = 0), undefined == raidTimer[0x37] && (raidTimer[0x37] = 0), undefined == raidTimer[0x38] && (raidTimer[0x38] = 0), undefined == raidTimer[0x39] && (raidTimer[0x39] = 1), undefined == raidTimer[0x3a] && (raidTimer[0x3a] = 0), undefined == raidTimer[0x3b] && (raidTimer[0x3b] = 0), undefined == raidTimer[0x3c] && (raidTimer[0x3c] = 0), undefined == raidTimer[0x3d] && (raidTimer[0x3d] = baseTime + _0x5705b9(0x3c * checkUserTimer_[0], 0x3c * checkUserTimer_[1])), undefined == raidTimer[0x46] && (raidTimer[0x46] = baseTime + 0x3c), undefined == raidTimer[0x47] && (raidTimer[0x47] = 0), _0x3e6df7 && (raidTimer[0x21] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x23] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x24] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x29] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x2a] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x33] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x35] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x36] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x38] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x3b] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x3c] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x3d] -= RESURRECT_BOOK_TIMEOUT, raidTimer[0x28] = 0, raidTimer[0x37] = 0), raidTimer[0x21] <= baseTime && (raidTimer[0x21] = 0), raidTimer[0x23] <= baseTime && (raidTimer[0x23] = 0), raidTimer[0x24] <= baseTime && (raidTimer[0x24] = 0), raidTimer[0x33] <= baseTime && (raidTimer[0x33] = 0), raidTimer[0x36] <= baseTime && (raidTimer[0x36] = 0), raidTimer[0x38] <= baseTime && (raidTimer[0x38] = 0), raidTimer[0x29] <= baseTime && (raidTimer[0x29] = 0), raidTimer[0x2a] <= baseTime && (raidTimer[0x2a] = 0), raidTimer[0x3b] <= baseTime && (raidTimer[0x3b] = 0), raidTimer[0x3c] <= baseTime && (raidTimer[0x3c] = 0), raidTimer[0x3d] <= baseTime && (raidTimer[0x3d] = 0), raidTimer[0x46] <= baseTime && (raidTimer[0x46] = 0), raidTimer[0x46] > baseTime + 0x3c * Take_Quests[1] && (raidTimer[0x46] = baseTime + 0xa), 0 < raidTimer[0x3b] && (sessionStorage.readRessurectBook = 0), sessionStorage.premtime <= baseTime && (sessionStorage.premtime = 0), _0x2cb347 && !_0x580121(GoBossClan[0]) && _0x580121(bossFight[1]) || (GoBoss[0x5] = '0'), _0x2cb347 && !_0x580121(GoBossClan[0x4]) && _0x580121(bossFight[0x5]) || (GoBoss[6] = '0'); if (0 != raidTimer[0x24] || 0x19 > _0x32be4d) fFf[1] = fFf2[1] = 0; if (0 != raidTimer[0x23] || 0x19 > _0x32be4d) fFf[0] = fFf2[0] = 0; cs16 && 0x11 == _0x3f3716[1] || (cs16 = _0x2f8e31); if (_0x580121(SetBattleS[0]) && 0x19 <= _0x3f3716[0x2] && 0x26 >= _0x3f3716[0x2] && /14|20/.test(_0x3f3716[1]) || _0x580121(SetBattleS[0]) && 0x19 <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && 0x11 == _0x3f3716[1]) SetZamok = '00000000'.split(''), GoBoss = '0000000'.split(''), GoBossClan = '00000000'.split(''), enableRaidAutoRess = 0; if (_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]) && 0x1e <= _0x32be4d && _0x1e2e3d(timeBmess, timeBattles[0x4]) || _0x580121(sCastles[0x4]) && _0x580121(SetBattleS[0xf]) && 0x19 <= _0x32be4d && _0x1e2e3d(timeNecros, timeBattles[0xa])) SetZamok = '00000000'.split(''); _0x3f3716[1] < arenaTime && (fFf[0] = 0), _0x3f3716[1] < survivalTime && (fFf[1] = 0), ('PVP' == localStorage.forcePVP && sessionStorage.games_arena >= fFf2[0] && sessionStorage.games_survival >= fFf2[1] || 'ARENA' == localStorage.forcePVP && sessionStorage.games_arena >= fFf2[0] || 'SURV' == localStorage.forcePVP && sessionStorage.games_survival >= fFf2[1]) && localStorage.removeItem('forcePVP'), 1 == sessionStorage.forceTerrDodge && (Abilities_N[0x5] = '9020202'), 1 == sessionStorage.bloodcrazy && (SetUmeniaUs[0] = '0'), _0x27fe51 = _0xa531a2(SetUmeniaUs[0], 0), _0xf73b4f = _0xa531a2(SetUmeniaUs[1], 1), _0x3d2900 = _0xa531a2(SetUmeniaUs[0x2], 0x2), _0x2696b1 = _0xa531a2(SetUmeniaUs[3], 3), _0x934ab5 = _0xa531a2(SetUmeniaUs[0x4], 0x4), _0x4794d1 = _0xa531a2(SetUmeniaUs[0x5], 0x5), 1 == Set_Tour_Stage_1 && (tour_number_1 = 'Финал нач'), 0x2 == Set_Tour_Stage_1 && (tour_number_1 = 'Полуфинал нач'), 0x4 == Set_Tour_Stage_1 && (tour_number_1 = 'Четвертьфинал нач'), 8 == Set_Tour_Stage_1 && (tour_number_1 = '1/(8|9) финала нач'), 0x10 == Set_Tour_Stage_1 && (tour_number_1 = '1/(16|17) финала нач'), 0x20 == Set_Tour_Stage_1 && (tour_number_1 = '1/(32|33) финала нач'), 0x40 == Set_Tour_Stage_1 && (tour_number_1 = '1/(64|65) финала нач'), 0x80 == Set_Tour_Stage_1 && (tour_number_1 = '1/(128|128) финала нач'), 0x100 == Set_Tour_Stage_1 && (tour_number_1 = '1/(256|257) финала нач'), 0x200 == Set_Tour_Stage_1 && (tour_number_1 = '1/(512|513) финала нач'), 0x400 == Set_Tour_Stage_1 && (tour_number_1 = '1/(1024|1025) финала нач'), 0x800 == Set_Tour_Stage_1 && (tour_number_1 = '1/(2048|2049) финала нач'), 1 == Set_Tour_Stage_3 && (tour_number_3 = 'Финал нач'), 0x2 == Set_Tour_Stage_3 && (tour_number_3 = 'Полуфинал нач'), 0x4 == Set_Tour_Stage_3 && (tour_number_3 = 'Четвертьфинал нач'), 8 == Set_Tour_Stage_3 && (tour_number_3 = '1/(8|9) финала нач'), 0x10 == Set_Tour_Stage_3 && (tour_number_3 = '1/(16|17) финала нач'), 0x20 == Set_Tour_Stage_3 && (tour_number_3 = '1/(32|33) финала нач'), 0x40 == Set_Tour_Stage_3 && (tour_number_3 = '1/(64|65) финала нач'), 0x80 == Set_Tour_Stage_3 && (tour_number_3 = '1/(128|128) финала нач'), 0x100 == Set_Tour_Stage_3 && (tour_number_3 = '1/(256|257) финала нач'), 0x200 == Set_Tour_Stage_3 && (tour_number_3 = '1/(512|513) финала нач'), 0x400 == Set_Tour_Stage_3 && (tour_number_3 = '1/(1024|1025) финала нач'), 0x800 == Set_Tour_Stage_3 && (tour_number_3 = '1/(2048|2049) финала нач'), 1 == Set_Tour_Stage_6 && (tour_number_6 = 'Финал нач'), 0x2 == Set_Tour_Stage_6 && (tour_number_6 = '1/(2|3) финала нач'), 0x4 == Set_Tour_Stage_6 && (tour_number_6 = '1/(4|5) финала нач'), 8 == Set_Tour_Stage_6 && (tour_number_6 = '1/(8|9) финала нач'), 0x10 == Set_Tour_Stage_6 && (tour_number_6 = '1/(16|17) финала нач'), 0x20 == Set_Tour_Stage_6 && (tour_number_6 = '1/(32|33) финала нач'), 0x40 == Set_Tour_Stage_6 && (tour_number_6 = '1/(64|65) финала нач'), 0x80 == Set_Tour_Stage_6 && (tour_number_6 = '1/(128|128) финала нач'), 0x100 == Set_Tour_Stage_6 && (tour_number_6 = '1/(256|257) финала нач'), 0x200 == Set_Tour_Stage_6 && (tour_number_6 = '1/(512|513) финала нач'), 0x400 == Set_Tour_Stage_6 && (tour_number_6 = '1/(1024|1025) финала нач'), 0x800 == Set_Tour_Stage_6 && (tour_number_6 = '1/(2048|2049) финала нач'); if (!action && (undefined == _0x5c7030[0] || undefined == _ref[0] || undefined == _0x257f5f[0] || undefined == document.getElementsByTagName('title')[0] || undefined == _0xc629e4[0] || undefined == document.body)) setTimeout(function () { location.href = '/user'; }, 0x1388);else { if (!action && 'on' == localStorage.on_off && /m.odnoklassniki|m\.ok|spaces/.test(location.host) && !/br.spaces/.test(location.host)) _0xc13463(), _0xd213fa();else { if (!action && 'on' == localStorage.on_off && /barbars|варвары|46.4.4.56|b.spaces|br.spaces/.test(location.host)) { localStorage.ver != _0x538717 && (_0x263ca3(), localStorage.ver = _0x538717, localStorage.on_off = 'on'), _0xc13463(), _0xd213fa(), _0x559830(), 0x2 == resBefore.toString().length && (resBefore = Number(_0xce0599 ? resBefore.toString()[0] : resBefore.toString()[1])), 0x2 == resAfter.toString().length && (resAfter = Number(_0xce0599 ? resAfter.toString()[0] : resAfter.toString()[1])), 0x2 == resFull.toString().length && (resFull = Number(_0xce0599 ? resFull.toString()[0] : resFull.toString()[1])), 0 != raidTimer[0x22] && (resBefore = 0x19 <= _0x32be4d ? resAfter : 0), 0x5 == resBefore && (0 == raidTimer[0x38] && (raidTimer[0x39] = 1 == raidTimer[0x39] ? resAfter : 1, raidTimer[0x38] = baseTime + _0x5705b9(0x708, 0x1518)), resBefore = raidTimer[0x39]), 0 != raidTimer[0x21] && (1 == resFull ? resBefore = resAfter : 1 < resFull && (resBefore = resFull), 1 == resBefore && (resBefore = 0), 0x5 == resFull && (resBefore = 1)), 0 != _0x4cee8d[9] && (resBefore = 1), 0x19 <= _0x32be4d && (sessionStorage.games_survival < fFf[1] || sessionStorage.games_arena < fFf[0] ? sessionStorage.games_arena < fFf[0] && sessionStorage.games_survival < fFf[1] || 0x4 == resBefore ? resBefore = 0x4 : sessionStorage.games_survival < fFf[1] ? resBefore = 0x2 : sessionStorage.games_arena < fFf[0] && (resBefore = 3) : undefined != localStorage.forcePVP && ('PVP' == localStorage.forcePVP ? sessionStorage.games_arena < fFf2[0] && sessionStorage.games_survival < fFf2[1] || 0x4 == resBefore ? resBefore = 0x4 : sessionStorage.games_arena < fFf2[0] ? resBefore = 3 : sessionStorage.games_survival < fFf2[1] && (resBefore = 0x2) : 'ARENA' == localStorage.forcePVP && sessionStorage.games_arena < fFf2[0] ? resBefore = 3 : 'SURV' == localStorage.forcePVP && sessionStorage.games_survival < fFf2[1] && (resBefore = 0x2))), 0 == resBefore ? _0x3c05b8 = 0 : 1 == resBefore ? _0x3c05b8 = 1 : 0x2 == resBefore ? 0 == raidTimer[0x24] ? _0x3c05b8 = 0x2 : 0 != raidTimer[0x24] && 0 == raidTimer[0x22] && OnlyOnePVP ? _0x3c05b8 = 1 : 0 != raidTimer[0x24] && 0 != raidTimer[0x22] && OnlyOnePVP ? _0x3c05b8 = 0 : 0 == raidTimer[0x24] || 0 != raidTimer[0x23] || OnlyOnePVP ? 0 == raidTimer[0x24] || 0 == raidTimer[0x23] || 0 != raidTimer[0x22] || OnlyOnePVP ? 0 == raidTimer[0x24] || 0 == raidTimer[0x23] || 0 == raidTimer[0x22] || OnlyOnePVP || (_0x3c05b8 = 0) : _0x3c05b8 = 1 : _0x3c05b8 = 3 : 3 == resBefore ? 0 == raidTimer[0x23] ? _0x3c05b8 = 3 : 0 != raidTimer[0x23] && 0 == raidTimer[0x22] && OnlyOnePVP ? _0x3c05b8 = 1 : 0 != raidTimer[0x23] && 0 != raidTimer[0x22] && OnlyOnePVP ? _0x3c05b8 = 0 : 0 == raidTimer[0x23] || 0 != raidTimer[0x24] || OnlyOnePVP ? 0 == raidTimer[0x23] || 0 == raidTimer[0x24] || 0 != raidTimer[0x22] || OnlyOnePVP ? 0 == raidTimer[0x23] || 0 == raidTimer[0x24] || 0 == raidTimer[0x22] || OnlyOnePVP || (_0x3c05b8 = 0) : _0x3c05b8 = 1 : _0x3c05b8 = 0x2 : 0x4 == resBefore && (confirmationButton.match(/Арена/i) && !pageContent.match('Твой герой погиб, жди окончания боя') ? _0x3c05b8 = 3 : confirmationButton.match(/Выживание/i) && !pageContent.match('Твой герой погиб, жди окончания боя') ? _0x3c05b8 = 0x2 : 0 < raidTimer[0x25] ? _0x3c05b8 = raidTimer[0x25] : confirmationButton.match(/Арена/i) && (pageContent.match('Твой герой погиб, жди окончания боя') || '' != _0x3849a6 && _0x184af4) && 0 == raidTimer[0x24] ? (raidTimer[0x25] = 0x2, click(naGlavnuy, timeout)) : confirmationButton.match(/Выживание/i) && (pageContent.match('Твой герой погиб, жди окончания боя') || '' != _0x3849a6 && _0x184af4) && 0 == raidTimer[0x23] ? (raidTimer[0x25] = 3, click(naGlavnuy, timeout)) : 0 != raidTimer[0x24] && 0 == raidTimer[0x23] ? _0x3c05b8 = 3 : 0 != raidTimer[0x23] && 0 == raidTimer[0x24] ? _0x3c05b8 = 0x2 : 0 != raidTimer[0x23] && 0 != raidTimer[0x24] && 0 == raidTimer[0x22] ? _0x3c05b8 = 1 : 0 != raidTimer[0x23] && 0 != raidTimer[0x24] && 0 != raidTimer[0x22] ? _0x3c05b8 = 0 : confirmationButton.match(/Арена|Выживание/i) || (_0x3c05b8 = 3)), 0 == _0x3c05b8 && _0x594bde && done() && click(naGlavnuy, timeout), 1 == _0x3c05b8 && confirmationButton.match(/Арена|Выживание/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('Твой герой погиб, жди окончания боя')) && click(naGlavnuy, timeout), 0x2 == _0x3c05b8 && 0 == raidTimer[0x24] && confirmationButton.match(/Арена/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('Твой герой погиб, жди окончания боя')) && click(naGlavnuy, timeout), 3 == _0x3c05b8 && 0 == raidTimer[0x23] && confirmationButton.match(/Выживание/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('Твой герой погиб, жди окончания боя')) && click(naGlavnuy, timeout), 3 != _0x3c05b8 && 0x5 <= sessionStorage.games_arena && confirmationButton.match(/Арена/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('Твой герой погиб, жди окончания боя')) && click(naGlavnuy, timeout), 0x2 != _0x3c05b8 && 0x5 <= sessionStorage.games_survival && confirmationButton.match(/Выживание/i) && '' == _0x942041 && ('' != _0x215b49 || '' != _0x43b894 || pageContent.match('(Твой|Ваш) герой погиб, жди(те)? окончания боя')) && click(naGlavnuy, timeout), 0 != _0x3c05b8 || _0xce0599 || (_0x24ee6b[0] = 0), _0x10654d(), (confirmationButton.match(/А ты тут?|защита от ботов!/) || _0x53e2ab) && click(user, _0x5705b9(0x3E80, 0x124f80)), confirmationButton.match(/Турнир/i) && !_0x366f19 && (1 == tournament_buf || 0x2 == tournament_buf) && _0x570e98[0x15] <= baseTime + 0x4b0 && click('/trade/well/', _0x19a2b5), confirmationButton.match(/Турнир/i) && !_0x366f19 && (0x2 == tournament_buf || 3 == tournament_buf) && _0x570e98[0x15] <= baseTime + 0x4b0 && click('/trade/well/', _0x19a2b5), confirmationButton.match(/Колодец удачи/) && sessionStorage.Check_Buff_Luck === 'no' && (1 == tournament_buf || 0x2 == tournament_buf) && /10|15|21/.test(_0x3f3716[1]) && 0x19 <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && '' != _0x8305cf && click(_0x8305cf, _0x19a2b5), confirmationButton.match(/Колодец удачи/) && sessionStorage.Check_Buff_Luck === 'no' && (0x2 == tournament_buf || 3 == tournament_buf) && /12|19|23/.test(_0x3f3716[1]) && 0x19 <= _0x3f3716[0x2] && 0x1e > _0x3f3716[0x2] && '' != _0x8305cf && click(_0x8305cf, _0x19a2b5), confirmationButton.match(/Подтверждение/) && pageContent.match(/Бонус удачи/) && (_0x570e98[0x15] = baseTime + 0x3840, _0x2f16f5[0x15] = 'star_mif.png', click(_0x1ef8c6, _0x19a2b5)), confirmationButton.match(/Колодец удачи/) && pageContent.match(/не хватает (мифрила|золота)/) && (_0x570e98[0x15] = baseTime + 0x708, _0x2f16f5[0x15] = 'star_gray.png', click(_0x5bf9af, _0x19a2b5)), confirmationButton.match(/Колодец удачи/) && pageContent.match(/Все бонусы активированы/) && 0 != _0x570e98[0x15] && (_0x570e98[0x15] = baseTime + 0x3840, _0x2f16f5[0x15] = 'star_mif.png', click(_0x5bf9af, _0x19a2b5)), '' == groupDar && (groupDar = 'efwsazihdqwd&@jsfc'), action || _0x281ada || !_0xce0599 || _0x52380a(), action || _0xa96d01(), !action && _0x580121(SetBattleS[0]) && _0x26dcce && _0x9ec5d9(), action || (confirmationButton.match(/Территория|Мои задания/i) || (sessionStorage.take_buttle = 0), confirmationButton.match(/Мои задания/i) && !_0x2bf25e ? (sessionStorage.take_buttle = 1, click(_0x5bf9af, _0x19a2b5)) : confirmationButton.match(/Мои задания/i) && '' != _0x2bf25e ? click(_0x2bf25e, _0x19a2b5) : _0x5e9fcd && !_0x366f19 && _0x3f3716[1].match(/14|17|20/) && _0x3f3716[0x2].match(/29/) && 0x1e <= _0x3f3716[3] && 0x3b >= _0x3f3716[3] && 1 != sessionStorage.take_buttle && _0x4c5bfb && click('/user/quests', _0x19a2b5)); if (2 == enableRaidAutoRess && 0 == raidTimer[0x3c]) { for (const _0x2924d7 = 1, _0x1c1c07 = 0x8; _0x1c1c07 < _0x529095.length; _0x1c1c07++) if (/нет/.test(_0x1afc50[_0x1c1c07]) || 0 == _0x1afc50[_0x1c1c07]) { _0x2924d7 = 0; break; } _0x2924d7 && (sessionStorage.readRessurectBook = 1); } !action && _0x26dcce && _0x137c07(); if(!action ) ironpunches(); if(!action ) treasuresnekromat(); if(!action ) anniversarygifts(); // vzatdar(); if(!action ) terrNew(); if(!action ) feniksNews(); if(!action ) pohodtaming(); if (!action && undefined != sessionStorage.bookToRead) { const _0x45519c = sessionStorage.bookToRead; sessionStorage.bookToRead, useBook(_0x45519c); } action || _0x45a514(), (send_to && !_0x281ada && 0 == raidTimer[0x21] || undefined != sessionStorage.dung_prize || undefined != sessionStorage.sendClanItems_vitrinaIsFull) && _0x3185d0(), action || undefined == sessionStorage.dung_prize_switch || undefined == sessionStorage.forumLootTopic || (location.href.match(location.host + '/forum/topic/id/' + sessionStorage.forumLootTopic) && undefined != document.forms.form ? (document.forms.form['staticForm:text'].value = sessionStorage.dung_prize_switch.replace(/,/gm, '\n'), action = true, sessionStorage.removeItem('forumLootTopic'), sessionStorage.removeItem('dung_prize_switch'), document.forms.form['staticForm:submit'].click()) : (location.href.match(location.host + '/forum/topic/id/' + sessionStorage.forumLootTopic) || confirmationButton.match(/Доступ закрыт/i) || confirmationButton.match(/Oшибка/i)) && undefined == document.forms.form ? (sessionStorage.removeItem('forumLootTopic'), sessionStorage.removeItem('dung_prize_switch'), '' != _0x5bf9af ? click(_0x5bf9af, timeout) : click(naGlavnuy, timeout)) : location.href.match(location.host + '/forum/topic/id/' + sessionStorage.forumLootTopic) || click('/forum/topic/id/' + sessionStorage.forumLootTopic, timeout)), _0x281ada || _0x131779(), action || undefined != sessionStorage.territory || _0x502d60 || _0x436451(), action || _0x281ada || 1 != sessionStorage.readRessurectBook || targetSplit || !done() || useBook('Книга пробуждения'); if ('no' != sessionStorage.Tur11Dragon || 'no' != sessionStorage.Tur33Dragon || 'no' != sessionStorage.Tur77Dragon || 'no' != sessionStorage.Tur66Dragon) { if ('no' != sessionStorage.UseBookEvents) useBook('Книга Дракона'); } if ('no' != sessionStorage.Tur11Altar || 'no' != sessionStorage.Tur33Altar || 'no' != sessionStorage.Tur77Altar || 'no' != sessionStorage.Tur66Altar) { if ('no' != sessionStorage.UseBookEventsAlt) useBook('Книга Великого Алтаря'); } if ('yes' === sessionStorage.DuelKill) _0xddd7b(); action || 'no' != sessionStorage.gerrodBookIsRead || useBook('Книга Геррода'), action || undefined != sessionStorage.territory || _0x502d60 || !_0x26dcce || _0x470ed7(), action || _0x281ada || _0x2c17d2 || _0x2b949c(), _0x5ad92b(), action || 1 != sessionStorage.tasks || _0x1d458b(), !sessionStorage.patch1204 && sessionStorage.connect == 0 && (_0x263ca3(), localStorage.on_off = 'on', location.href = location.href), !action && 0x13 < _0x32be4d && !_0x281ada && _0x5e97e9(), action || _0x281ada || 1 == raidTimer[0x13] || 0 != raidTimer[0xb] || _0x1b9461(), action || _0x281ada || _0x25b679(), action || _0x281ada || 1 != localStorage.iTs || !ironClan || _0x29c714(), !action && SetTimeReset && _0x594bde && (0 == raidTimer[0x11] ? raidTimer[0x11] = baseTime + 0x3c * _0x579b1e : raidTimer[0x11] <= baseTime && (raidTimer[0x11] = 0, _0x2f9fca())), !action && !_0x281ada && 0 != sessionStorage.makeStage && 1 == autoMode && 0 < raidTimer[0x2] && 0 == raidTimer[0x21] && ((_0x156e4f || _0x2c17d2 || confirmationButton.match('Рюкзак')) && '' != user ? click(user, timeout) : confirmationButton.match(/мой герой/i) && '' != _0xb8713 ? click(_0xb8713, timeout) : confirmationButton.match(/Повышение уровня/i) && '' != scrolls2Master ? click(scrolls2Master, timeout) : confirmationButton.match(/Повышение уровня/i) && !scrolls2Master ? (click('/user/rack', timeout), sessionStorage.makeStage = 0) : !confirmationButton.match(/Подтверждение/i) || '' == _0x1ef8c6 || pageContent.match(/Он заменит текущий/i) || pageContent.match(/Ты можешь взять в бой ещё одно умение/i) ? confirmationButton.match(/Сделать свиток/i) && '' != scrl_alch ? click(scrl_alch, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_medit ? click(scrl_medit, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_secret ? click(scrl_secret, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_reflex ? click(scrl_reflex, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_smertnik ? click(scrl_smertnik, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_iceshield ? click(scrl_iceshield, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_knowledge ? click(scrl_knowledge, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != _0x1e6b46 ? click(_0x1e6b46, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_emptyness ? click(scrl_emptyness, timeout) : confirmationButton.match(/Сделать свиток/i) && '' != scrl_kriton ? click(scrl_kriton, timeout) : !confirmationButton.match(/Сделать свиток/i) || scrl_alch || scrl_medit || scrl_secret || scrl_reflex || scrl_smertnik || scrl_iceshield || scrl_knowledge || _0x1e6b46 || scrl_emptyness || scrl_kriton || '' == user ? confirmationButton.match(/Сделать камень/i) && '' != _0xd4cec1 ? click(_0xd4cec1, timeout) : confirmationButton.match(/Сделать камень/i) && !_0xd4cec1 && '' != user ? (sessionStorage.makeStage = 0x2, click(user, timeout)) : pageContent.match(/Требуется:/i) && '' != _0x5cf01f ? click(_0x5cf01f, timeout) : 1 == sessionStorage.makeStage && '' != makeScroll ? click(makeScroll, timeout) : 1 == sessionStorage.makeStage && '' != makeStone ? click(makeStone, timeout) : 0x2 == sessionStorage.makeStage && '' != RankupPage ? click(RankupPage, timeout) : targetSplit || !done() || _0x5bf9af || confirmationButton.match(/мой герой|рюкзак|сундук|умения/i) || click(naGlavnuy, timeout) : (sessionStorage.makeStage = 0x2, click(user, timeout)) : click(_0x1ef8c6, timeout)), action || _0x281ada || 1 != sessionStorage.makeStage || 0x2 != autoMode || 3 != raidTimer[0x2] || 0 != raidTimer[0x21] || (!confirmationButton.match(/Сделать камень/i) || sessionStorage.stones.match('u') || _0xd4cec1 || makeUncommon ? !confirmationButton.match(/Сделать камень/i) || !sessionStorage.stones.match('u') || sessionStorage.stones.match('r') || _0xd4cec1 || makeRare ? confirmationButton.match(/Сделать камень/i) && sessionStorage.stones.match('u') && sessionStorage.stones.match('r') && !sessionStorage.stones.match('e') && !_0xd4cec1 && !makeEpic && (sessionStorage.stones += 'e') : sessionStorage.stones += 'r' : sessionStorage.stones += 'u', (_0x156e4f || _0x2c17d2 || confirmationButton.match('Рюкзак')) && '' != user ? click(user, timeout) : confirmationButton.match(/мой герой/i) && '' != _0xb8713 ? click(_0xb8713, timeout) : pageContent.match(/Требуется:/i) && '' != _0x5cf01f ? click(_0x5cf01f, timeout) : !confirmationButton.match(/Подтверждение/i) || '' == _0x1ef8c6 || pageContent.match(/Он заменит текущий/i) || pageContent.match(/Ты можешь взять в бой ещё одно умение/i) ? confirmationButton.match(/Сделать камень/i) && !sessionStorage.stones.match('u') && '' != makeUncommon ? click(makeUncommon, timeout) : confirmationButton.match(/Сделать камень/i) && sessionStorage.stones.match('u') && !sessionStorage.stones.match('r') && 0x2 < raidTimer[0x1c] && '' != makeRare ? click(makeRare, timeout) : confirmationButton.match(/Сделать камень/i) && sessionStorage.stones.match('u') && sessionStorage.stones.match('r') && !sessionStorage.stones.match('e') && 3 < raidTimer[0x1c] && '' != makeEpic ? click(makeEpic, timeout) : confirmationButton.match(/Сделать камень/i) && '' != _0xd4cec1 ? click(_0xd4cec1, timeout) : sessionStorage.stones.match('ure') ? (click('/user/rack', timeout), sessionStorage.makeStage = 0x2, sessionStorage.removeItem('stones')) : 1 == sessionStorage.makeStage && '' != makeStone ? click(makeStone, timeout) : targetSplit || !done() || _0x5bf9af || confirmationButton.match(/мой герой|рюкзак|сундук|умения|Сделать камень|Подтверждение|клан |хранилище|профессия|Обсидиан|Оникс|Сапфир|Корунд|Изумруд/i) || click(naGlavnuy, timeout) : click(_0x1ef8c6, timeout)), action || _0x281ada || 0 != raidTimer[0x21] || _0x3f0b8f(), action || _0x281ada || !_0x2ef124 || _0x5bf9af || _0x186754 || sessionStorage.goToBoss || (confirmationButton.match('Сообщение для ') && '' != _0x16abbe ? click(_0x16abbe, timeout) : confirmationButton.match('Почта') && !_0x1dfbd5 && '' != _0x4460f9 && '' != _0xf5598d ? click(_0xf5598d, timeout) : !confirmationButton.match('Новые') || _0x1dfbd5 || '' == _0x4460f9 || _0xf5598d || '' == _0x4914e3 ? confirmationButton.match(/Почта|Новые/) && '' != _0x1dfbd5 ? click(_0x1dfbd5, timeout) : _0x594bde && 0 < _0x5705b9(0x4) ? click(naGlavnuy, timeout) : _0x594bde || '' == _0x4460f9 || !done() || targetSplit || click(_0x4460f9, timeout) : click(_0x4914e3, timeout)), action || (sessionStorage.makeStage = 0), action || _0x281ada || 1 != raidTimer[0x1f] || '' == _0x26dcce || _0x114532(), !action && !_0x281ada && 0 < raidTimer[0x21] && 0 == resFull && (raidTimer[0x21] = 0, _0x186754 && click(naGlavnuy, 0xea60)), buyDiamondBox !== 0 && (action || buyDiamondBox <= Number(sessionStorage.currentGem) && done() && click('/trade/diamond', timeout)), action || _0x1e0dd3(), action || _0x1e0dd2(), action || _0x281ada || !chinit_veshi || !done() || targetSplit || (confirmationButton.match('Моё снаряжение') ? _0x307371 && _0x339298 >= chinit_vse && 0 == raidTimer[0xa] ? (raidTimer[0xa] = 1, click(_0x307371, timeout), localStorage.iron_2 = Number(localStorage.iron_2) + Number(_0x339298)) : _0x32b907 ? (raidTimer[0xa] = 0x2, click(_0x32b907, timeout), localStorage.iron_2 = Number(localStorage.iron_2) + Number(_0x764466)) : _0x32b907 || (raidTimer[0xa] = 0) : _0x502d60 && '' == _0x5bf9af && (_0x594bde ? click(naGlavnuy, timeout) : _0x275d96 && click(_0x275d96, timeout))), action || _0x535697(), action || (confirmationButton.match(/Территория|Зеркало боли/i) || (sessionStorage.terabuf = 0), confirmationButton.match(/Зеркало боли/i) && pageContent.match(/Твой текущий бонус: шанс 25%/i) && '' != _0x5bf9af ? (sessionStorage.terabuf = 1, click(_0x5bf9af, _0x19a2b5)) : confirmationButton.match(/Зеркало боли/i) && pageContent.match(/не хватает золота/i) && '' != _0x5bf9af ? (sessionStorage.terabuf = 1, click(_0x5bf9af, _0x19a2b5)) : confirmationButton.match(/Территория/i) && !_0x1532c5 && _0x3f3716[1].match(/14|17|20/) && _0x3f3716[0x2].match(/29/) && 0 <= _0x3f3716[3] && 0x1e > _0x3f3716[3] && 1 != sessionStorage.terabuf && zerkaloTerrBuff ? click('/castle/6/', _0x19a2b5) : confirmationButton.match(/Зеркало боли/i) && '' != _0xddba87 && _0x3f3716[1].match(/14|17|20/) && _0x3f3716[0x2].match(/29/) && 0 <= _0x3f3716[3] && 0x1e > _0x3f3716[3] && 1 != sessionStorage.terabuf && zerkaloTerrBuff && click(_0xddba87, _0x19a2b5)), action || _0x281ada || 1 != sessionStorage.callOfDagon && !_0x2d427f || (_0x3f3716[1].match(/19|20|21/) && undefined != sessionStorage.callOfDagon ? _0x156e4f && '' != _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')) : _0x3f3716[1].match(/19|20/) && '' != _0x2d427f && click(_0x2d427f, timeout)), action || _0x281ada || _0x33fe22(), action || (_0x156e4f && (0 == _0x3c05b8 ? click(naGlavnuy, _0x5bb53a) : 1 == _0x3c05b8 && (_0x104bc4 = 1, action || _0x535697(), click(_0x42ba77, timeout))), confirmationButton.match(/Каракорум, столица Юга|Мидгард, столица Севера/) && _0x2f9fca(), _0x594bde && (_0x2dc028 = _0x5c0e2c(kritHP), 1 == _0x56b85f && (_0x2dc028 = Number((_0x2dc028 * _0x11a56a).toFixed(0))), Number(_0x2191b2) + Number(_0x580691) <= enemy && !_0x172c1f && !_0x2f35a7 && _0x2f9fca(), 0x2 == _0x1bb540 && (Number(_0x2191b2) / (Number(_0x5d6b89) + Number(_0x33da25)) > krit_massa || Number(_0x2dc028) > _0xb14853 && 0 != Number(_0x2dc028) && 0 != _0xb14853 && !_0x2f35a7 || Number(_0x3aeaf0) > Number(brb_max) && Number(_0x2dc028) < _0xb14853 && !_0x2f35a7) && (_0xf600f6 = false, _0x2f9fca()), 1 == _0x1bb540 && (0 < _0x1f6e7a || Number(_0x2191b2) / (Number(_0x5d6b89) + Number(_0x33da25)) > krit_massa || Number(_0x2dc028) > _0xb14853 && 0 != Number(_0x2dc028) && 0 != _0xb14853 && !_0x2f35a7 || Number(_0x3aeaf0) > Number(brb_max) && Number(_0x2dc028) < _0xb14853 && !_0x2f35a7) && click(naGlavnuy, _0x19a2b5))), action || (targetSplit ? _0x11f093() : _0x499300 ? _0x42096f() : _0x14647d()), '' == _0x5405d8 || confirmationButton.match('Моё снаряжение') || _0x594bde || _0x319ef3 || targetSplit || click(_0x5405d8, timeout), action || (raidTimer[0x7] = 0, raidTimer[8] = 0, '' != _0x5bf9af ? _0x29262b ? 1 == raidTimer[0x2c] ? (click(user, _0x19a2b5, 1), raidTimer[0x2c] = 0) : (click(_0x5bf9af, _0x19a2b5, 1), raidTimer[0x2c] = 1) : (click(_0x5bf9af, _0x19a2b5, 1), raidTimer[0x2c] = 0) : _0x319ef3 || targetSplit ? click(location.href, 0x1388) : !_0x319ef3 && !targetSplit && '' != naGlavnuy || _0x15d34d ? 0 != _0x4cee8d[9] ? click('/journey', timeout) : click(naGlavnuy, timeout) : click('/?wicket:bookmarkablePage=:com.overmobile.combats.wicket.pages.guild.chat.GuildChatPage', 0x7d0)); } } } 0 != localStorage.addInfo && _0x5dd2b2(), _0x3cd6fc(), localStorage.mark = raidTimer, localStorage.cnt_gMBT = _0x38925b, sessionStorage.currBoss = _0x530d0f, sessionStorage.bonus = _0x4cee8d, sessionStorage.scrolls = _0x570e98, sessionStorage.ScrollTime = _0x725e57, sessionStorage.dungeons = _0x1afc50, sessionStorage.plar = _0x206901, sessionStorage.rtngs = _0x4cadcc, sessionStorage.scrolls_state = _0x2f16f5, sessionStorage.castle_state = _0x1febf6, sessionStorage.removeItem('bookToRead'), confirmationButton.match('Варвары') && sessionStorage.UseBookEvents && (sessionStorage.UseBookEvents = 'yes'), confirmationButton.match('Варвары') && sessionStorage.UseBookEventsAlt && (sessionStorage.UseBookEventsAlt = 'yes'), confirmationButton.match('Варвары') && sessionStorage.shit && (sessionStorage.shit = 0), sessionStorage.connect == 0 && CheckStartBotsOpera && 'undefined' == typeof sessionStorage.user1 && (localStorage.on_off = 'on', location.href = '/user'), undefined !== sessionStorage.storageClear && (_0x263ca3(), localStorage.on_off = 'on', action || (location.href = '/user')), _0x4c276f = _0x267306 = _0x590e48 = _0x14280b = _0x10f7f7 = _0x27909c = ERROR = feedbackPanel = _0x145d23 = _0xf2726 = _0x19f077 = _0xe57f42 = _0x257f5f = _ref = _0x5c7030 = _0x319151 = response = _0x1da492 = null; } catch (_0x478055) { setTimeout(function () { location.href = '/user'; }, 0x3e8), sessionStorage.errors = _0x478055, _0x4c276f = _0x267306 = _0x590e48 = _0x14280b = _0x10f7f7 = _0x27909c = ERROR = feedbackPanel = _0x145d23 = _0xf2726 = _0x19f077 = _0xe57f42 = _0x257f5f = _ref = _0x5c7030 = _0x319151 = response = _0x1da492 = null; } }();