// ==UserScript== // @name WoTStatScript // @version 0.9.1.901 // @description More info for World of Tanks profile page. Updated for the new style. // @author Orrie // @contributor Boom_Box // @namespace http://forum.worldoftanks.eu/index.php?/topic/263423- // @icon http://dl.dropboxusercontent.com/u/12497046/wot/projects/statscript/img/icon.png // @match http://worldoftanks.eu/*/*/* // @match http://worldoftanks.com/*/*/* // @match http://worldoftanks.ru/*/*/* // @match http://worldoftanks.asia/*/*/* // @match http://worldoftanks.kr/*/*/* // @include http://worldoftanks.eu/*/*/* // @include http://worldoftanks.com/*/*/* // @include http://worldoftanks.ru/*/*/* // @include http://worldoftanks.asia/*/*/* // @include http://worldoftanks.kr/*/*/* // @grant GM_xmlhttpRequest // @downloadURL none // ==/UserScript== /* Changelog: http://dl.dropboxusercontent.com/u/12497046/wot/projects/statscript/WoTStatScript-changelog.txt */ // script variables var scripthost = "https://greasyfork.org/scripts/661-wotstatscript"; threadlink = "http://forum.worldoftanks.eu/index.php?/topic/263423-"; sid = "orrie_js_174043"; // noobmeter api id nm_host = "http://noobmeter.com"; scriptlink = ""; // get server info and webpage var wg_host = document.location.host; server = wg_host.match(/\.([^\.]+)$/)[1]; wg_path = document.location.pathname; wg_accounts = wg_path.match(/(community|uc)\/accounts\/\d+/); if (wg_path.match(/(edit|battles|provinces|reserve|treasury)/)) { wg_clans = null; } else { wg_clans = wg_path.match(/(community|uc)\/clans\/[\w\-]+/); } // determine browser types, beware inconsistencies, no method is reliable. var gecko = /Mozilla/.test(navigator.appCodeName), // true for ff (and chrome lol) opera = /Opera/.test(navigator.appName), // only true for opera chrome = /Chrome/.test(navigator.userAgent); if (opera || chrome) { gecko = false; } // globally inserting functions into head as scripts var scripts = [copyClipboard]; for (i=0; i 0) { // style variables var box_background = "border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 0 38px 1px rgba(0, 0, 0, 0.3) inset, 0 0 23px 1px rgba(255, 255, 255, 0.02), 0 0 5px 1px rgba(0, 0, 0, 0.5) inset;"; input_background = "background: rgba(0, 0, 0, 0.09); box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.15) inset, 0 0 38px 1px rgba(0, 0, 0, 0.3) inset, 0 0 23px 1px rgba(255, 255, 255, 0.02), 0 0 5px 1px rgba(0, 0, 0, 0.5) inset; color: #606061;"; // style contents var style = document.createElement('style'); style.className = "wotstatscript"; style.type ="text/css"; style.innerHTML // global rules = "h3, h4 {margin: 0 0 15px; text-align: center;}" + "h5 {margin: 5px 0 8px;}" + "p, .reg-KR p {margin: 0;}" + ".reg-KR p {line-height: 133%;}" + "table {width: 100%;}" // page fix page slowdown + ".l-page {background-position: center 0 !important;}" // container wrapper + ".l-container-wrapper {background: none;}" // content width + ".l-content {margin: 0 22px 25px; width: 955px}" // background rules + ".b-background {height: 315px; left: -22px; opacity: 0.5; position: absolute; top: -25px; width: 1000px; z-index: -1;}" + ".b-background img {width: 100%;}" // profile wrapper rules + ".b-profile-wrpr {margin: 15px 0 0; min-height: 132px;}" // with famepoints 156px + ".reg-RUS .b-profile-wrpr {min-height: 135px;}" + ".b-profile-wrpr td {font-weight: bold; line-height: 133%;}" + ".b-profile-wrpr table a {background: url('/static/3.13.0.2.1/common/css/scss/context-menu/img/arrow.png') no-repeat 0 2px; color: #CACBCC; padding: 0 0 0 10px;}" + ".b-profile-wrpr table a:hover {background: url('/static/3.13.0.2.1/common/css/scss/context-menu/img/arrow.png') no-repeat -244px 2px; color: #FFFFFF;}" + ".b-profile-header {position: absolute; right: 0; top: 0;}" + ".b-scriptlink {"+input_background+" border-left: 1px solid #000000; border-right: 1px solid #000000; display: inline-block; text-align: center; padding: 7px 0 6px; width: 199px;}" + ".b-ratingsClip {display: inline-block;}" + ".b-ratingsButton {"+input_background+" border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; padding: 7px 7px 6px;}" + ".b-ratingsButton:hover {background-color: #282828; cursor: pointer;}" + ".b-profile-error {background: rgba(204,0,0,0.15); border: 1px solid #510000; box-shadow: 0 0 3px #733232; color: #CACBCC; display: none; margin: 0 3px -6px 0; overflow: hidden; padding: 3px; text-align: center; text-overflow: ellipsis; white-space: nowrap; width: 220px;}" + ".b-profile-error:hover {width: auto;}" // profile player rules + ".b-profile-name {float: none; margin: 0; max-width: 370px;}" + ".b-profile-name table {font-family: Arial;}" + ".b-profile-name td:first-child {white-space: nowrap;}" + ".reg-RUS .b-profile-name td:first-child {width: 120px;}" + ".reg-KR .b-profile-name td:first-child {width: 80px;}" + ".b-header-h1__profile {margin: 0; padding: 0 0 6px;}" + "body.reg-KR h1, body.reg-KR .b-header-h1 {line-height: 1;}" // profile clan rules + "#js-clan-block-container {left: 385px; position: absolute; top: 25px;}" + ".b-profile-clan {float: none; max-width: 360px; margin: 0;}" + ".b-profile-noclan {float: none; margin: 27px 0 0;}" + ".b-photo {min-height: 54px;}" + "a.b-link-clan, .b-link-clan a {display: inline;}" + ".b-statistic {margin: 0 0 3px;}" + ".b-victory-points {background: none; display: none; margin: 0; padding: 0;}" + ".b-victory-points_container {margin: 0; max-width: 335px;}" + ".b-victory-points_text {display: table-cell; font-size: 13px; margin: 0; padding: 6px 0 0;}" + ".b-victory-points_text br {display: none;}" + ".b-victory-points_text__indent-top {white-space: pre;}" + ".b-victory-points_count {background-position: right center; display: table-cell; font-size: 22px; margin: 0; padding: 0 40px 0 10px;}" + ".b-victory-points_ico { background-image: url('/static/3.13.0.2.1/common/css/scss/content/victory-points/img/victory-points-link.png'); background-position: center center; display: table-cell; float: right; height: 24px; margin: 0 0 0 5px; opacity: 1; width: 30px;}" + ".b-gray-link__arrow {font-size: 12px;}" + "#js-clan-block-container table {font-family: Arial; width: 360px;}" + "#js-clan-block-container td:first-child {white-space: nowrap;}" + ".reg-RUS #js-clan-block-container td:first-child {width: 115px;}" + ".reg-KR #js-clan-block-container td:first-child {width: 70px;}" // profile menu rules + ".b-profile-menu {position: absolute; right: 200px; top: 0;}" + ".b-profile-menu .b-context-menu {width: 149px;}" + ".b-profile-menu .b-context-menu-list__bottomindent {margin-bottom: 30px;}" // sidebar rules + ".l-sidebar {margin: 0; position: absolute; right: 0; top: 25px; width: auto;}" + ".b-context-menu {background: url("+uri_context_menu+") repeat-y; border-right: 1px solid black; margin: 0; width: 200px;}" + ".b-context-menu_wrapper {padding: 10px 0 5px;}" + ".b-context-menu-list {line-height: 16px;}" + ".b-sidebar-widget__comparison {background-color: #000000; border: 1px solid #000000; margin: 0; position: absolute; left: 224px; top: -26px; width: 203px;}" + ".b-sidebar-widget_inner__comparison {display: table; margin: 5px auto; padding: 0;}" + ".js-recruitsation-block {position: absolute; right: -228px; top: 0px; width: 205px;}" + ".b-sidebar-widget_title {margin: 0 0 10px;}" + ".b-sidebar-widget_text {margin: 0 0 5px;}" // userblock wrapper rules + ".b-userblock-wrpr {margin: 0 0 -2px;}" + ".b-user-block {"+box_background+" margin: 0; width: 750px;}" + ".b-head-block {background: url('/static/3.13.0.2.1/common/css/scss/tables/img/th-profile-bg.png') repeat-x; border: 1px solid #000000;}" + ".b-user-block_info {padding: 5px 25px;}" + ".b-personal-link {clear: left; margin: 53px 0 0;}" + ".b-user-block__sparks {background: url('"+dropbox+"/sparks.png') no-repeat 50% 0; width: 100%;}" + ".b-personal-data {min-height: 180px; padding: 0 20px 15px;}" + ".t-personal-data_ico {padding: 82px 5px 0;}" + ".t-personal-data_ico__hitrate {background: url("+uri_pr_hitrate+") no-repeat 50% 50px;}" + ".t-personal-data_ico__tier {background: url("+uri_pr_avgtier+") no-repeat 50% 50px;}" + ".t-personal-data_value {font-size: 28px; line-height: 100%;}" + ".t-personal-data_value.t-personal-data_value__pr {font-size: 36px;}" + ".b-speedometer-body {padding: 20px 50px;}" + ".b-speedometer {width: 33.3333%}" // ratings wrapper rules + ".b-ratings-wrpr {margin: 0 0 40px;}" // see multiple rules + ".b-ratings-info {text-align: center;}" + ".t-ratings-info {table-layout: fixed;}" + ".t-ratings-info th {font-size: 13px; font-weight: bold; line-height: 133%;}" + ".t-ratings-info td {font-family: 'WarHeliosCondCBold','Arial Narrow',arial,sans-serif; font-size: 36px; line-height: 133%}" + ".t-ratings-info .rating-url_nm {background-image: url("+uri_nm_logo+"); background-position: left center; background-repeat: no-repeat; padding: 0 0 0 20px;}" + ".b-ratings-info, .ratings-table {background: inherit; padding: 10px 25px;}" + ".t-table-ratings {width: 100%;}" + ".t-table-ratings td {line-height: 130%; padding: 9px 12px 2px 0; vertical-align: bottom;}" + ".t-table-ratings .td-value {padding-right: 0; text-align: right; white-space: nowrap;}" + ".t-table-ratings .td-number {color: #BABCBF; font-weight: bold; padding-right: 0; text-align: right; width: 70px;}" + ".t-table-ratings .td-center {line-height: 16px; padding: 9px 0 2px; text-align: center;}" + ".t-table-ratings .td-rating-meter {background: url('/static/3.17.0.1/common/css/scss/content/user/img/speedometr-separator.png') no-repeat 50% 100%; padding: 0;}" + ".t-table-ratings .rating-meter {background: url("+uri_rating_meter+") no-repeat; border: 1px solid #252527; border-radius: 3px; height: 3px; margin: 0 7px;}" + ".t-table-ratings .rating-meter-dail_line {background: url("+uri_rating_meter+") no-repeat; box-shadow: 0 0 10px 1px rgba(221, 84, 12, 0.15), 0 0 3px 1px rgba(133, 18, 11, 0.25); height: 3px;}" + ".t-table-ratings .rating-meter-marker {background: url("+uri_rating_meter_marker+") no-repeat; float: right; height: 13px; margin: -5px -2px 0 0; width: 5px;}" + ".t-table-ratings .rating-meter_wn8 {background-position: 0 0;}" + ".t-table-ratings .rating-meter_wn8 .rating-meter-dail_line {background-position: 0 -3px;}" + ".t-table-ratings .rating-meter_wn7 {background-position: 0 -6px;}" + ".t-table-ratings .rating-meter_wn7 .rating-meter-dail_line {background-position: 0 -9px;}" + ".t-table-ratings .rating-meter_eff {background-position: 0 -12px;}" + ".t-table-ratings .rating-meter_eff .rating-meter-dail_line {background-position: 0 -15px;}" + ".wnelink {background: inherit; padding: 5px 25px 5px 0; text-align: right;}" + ".wnelink_info {background-image: url('/static/3.17.0.1/common/css/scss/content/links/img/ico-info.png'), url('/static/3.13.0.2.1/common/css/block/b-link/img/orange_arrow.png'); background-position: 4px 0px, right 0; padding: 0 9px 0 20px;}" + ".wnelink_info:hover {background-position: 4px -17px, right -22px;}" // statistics wrapper rules + ".b-statistics-wrpr {margin: 0 0 30px; overflow: auto;}" + ".b-statistics-wrpr .t-dotted td {line-height: 23px; padding: 0;}" + ".b-statistics-wrpr .t-dotted td.t-dotted_class-ico {line-height: 13px;}" + ".b-statistics-wrpr .t-dotted td.t-dotted_class-ico img {margin: 2px 0 -1px;}" + ".b-result {margin: 0 10px; width: 315px;}" + ".b-result-classes {margin: 0 10px; width: 265px;}" + ".b-result-classes span {color: #606061; display: inline-block; width: 48px;}" + ".t-dotted td {background: url('/static/3.17.0.1/common/css/scss/content/user/img/speedometr-separator.png') no-repeat 50% 100%;}" // cake diagram rules + ".b-diagrams-sector {margin: 0 0 25px;}" + ".b-diagrams-sector h3 {text-align: center;}" + ".b-diagram-block {float: left; margin: 0 9px; width: 300px;}" + ".b-diagram-wrpr {float: none; margin: 0 auto;}" + ".t-dotted.t-dotted__diagram {margin-top: 0px; width: 100%;}" + ".t-dotted_diagram-percent {display: inline-block; width: 40px;}" + ".b-diagram-total {margin: 25px 0 0;}" + ".b-diagram-tiers .js-results {display: inline-block; margin: 0 0 0 30px; text-align: right; width: 14px;}" + ".reg-RUS .b-diagram-tiers .js-results {margin: 0 0 0 15px;}" + ".b-diagram-tiers .t-dotted_diagram-percent {margin: 0 0 0 3px; width: 52px;}" + ".b-diagram-ico_tier {background: url("+uri_tiers+") no-repeat; padding-left: 30px;}" + ".b-diagram-ico_tier-1 {background-position: 4px 1px;}" + ".b-diagram-ico_tier-2 {background-position: 4px -14px;}" + ".b-diagram-ico_tier-3 {background-position: 4px -29px;}" + ".b-diagram-ico_tier-4 {background-position: 4px -45px;}" + ".b-diagram-ico_tier-5 {background-position: 4px -59px;}" + ".b-diagram-ico_tier-6 {background-position: 4px -74px;}" + ".b-diagram-ico_tier-7 {background-position: 4px -89px;}" + ".b-diagram-ico_tier-8 {background-position: 4px -104px;}" + ".b-diagram-ico_tier-9 {background-position: 4px -120px;}" + ".b-diagram-ico_tier-10 {background-position: 4px -134px;}" + ".t-dotted__diagram tr td.t-dotted_diagram-last {width: 0;}" // achievement wrapper rules + ".b-achievements-wrpr {}" // see multiple rules + ".js-short-achievements {margin: 15px 0 30px;}" + ".js-full-achievements {margin: 0 37px 30px;}" + ".reg-KR .js-full-achievements {margin: 0 34px 30px;}" + ".b-achivements {display: table; margin: 0 auto; padding: 0 0 20px;}" + ".b-achivements-head {margin-top: 15px;}" + ".b-achivements_item {display: inline-table; float: inherit; margin: 5px 5px 0;}" + ".js-full-achievements #js-achivement-medalTamadaYoshio {margin-left: 38.5px;}" + ".js-full-achievements #js-achivement-histBattle2_battlefield {margin-left: 245px;}" + ".js-full-achievements #js-achivement-noMansLand {margin-left: 85px;}" + ".js-full-achievements #js-achivement-ironMan {margin-left: 325px;}" // global rating rules + ".b-composite-heading {margin: 20px 0 15px 400px; width: 553px;}" + ".b-profile-ratings-date {margin-top: 1px}" + ".b-profile-item__empty {display: table; margin: 0 auto; text-align: center;}" + ".b-rating-dial__user {margin: 10px 21px 22px;}" + ".b-leadership-info {display: table; margin: 0 auto;}" + ".l-leadership-info-alignment {display: table; margin: 0 auto; text-align: center;}" + ".b-unordered-lists_item {display: table; margin: 4px auto 5px;}" + ".b-profile-link {display: table; margin: 8px auto}" // vehicle table rules + ".b-vehicles-wrpr {margin: 20px 0;}" + ".b-vehicles-header {display: table; margin: 0 auto 15px}" + ".b-profile-vehicles-tankstat {margin: 0; position: absolute; right: 15px;}" + ".b-profile-vehicles-tankstat_link {background-image: url("+uri_nm_logo+"), url('/static/3.13.0.2.1/common/css/block/b-link/img/orange_arrow.png'); background-position: left center, right 0px; padding: 0 9px 0 20px;}" + ".b-profile-vehicles-tankstat_link:hover {background-position: left center, right -22px;}" + ".t-profile__vehicle .t-profile_right {text-align: center;}" + ".t-profile_dropdown-ico .tablesorter-header-inner {display: inherit;}" + ".t-profile_tankstype-prem td {border-top: 2px dashed #212123;}" + ".t-profile_tankstype-prem .b-tankstype-text {color: #FFC363;}" + ".t-profile_tankstype-prem.t-profile_tankstype__empty .b-tankstype-text {color: rgba(255, 195, 99, 0.3);}" + ".t-profile .t-profile_tankstype td {height: 50px; padding: 0; vertical-align: middle;}" + ".b-tankstype-ico {display: table-cell;}" + ".b-tankstype-ico__lighttank {background-position: 0 -114px;}" + ".b-tankstype-ico__mediumtank {background-position: 0 -173px;}" + ".b-tankstype-ico__heavytank {background-position: 0 5px;}" + ".b-tankstype-ico__at-spg {background-position: 0 -232px;}" + ".b-tankstype-ico__spg {background-position: 0 -54px;}" + ".b-tankstype-ico__prem {background-position: 0 -291px;}" + ".b-tankstype-ico__ten {background: none; color: #BBB7AC; font-size: 17px; font-weight: 100; padding: 0 0 3px; text-align: center;}" + ".b-tankstype-text {display: table-cell; height: inherit; vertical-align: middle;}" + ".t-profile .t-profile_tankstype__item td {height: 40px; padding: 0; vertical-align: middle;}" + ".t-profile .t-profile_tankstype__item:hover td {background: rgba(0, 0, 0, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0); color: #BABCBF;}" + ".b-armory-wrapper {height: inherit; margin: 0; padding: 0; width: 160px;}" + ".b-armory-wrapper .b-armory-level {display: table-cell; font-size: inherit; height: inherit; position: inherit; vertical-align: middle; left: 0; top: 0;}" + ".b-armory-wrapper img.png {height: 64px; margin: -50px 0 0 24px;}" + ".b-name-vehicle {color: #BBB7AC; display: table-cell; height: inherit; vertical-align: middle;}" + ".b-name-vehicle.b-gold-name {color: #FFC363;}" + ".t-profile_dropdown-link {display: inherit;}" + ".js-error-data {text-align: center;}" + ".b-msg-error {display: table; margin: 0 auto;}" + ".b-vehicle-detail_txt {margin: 0 auto 4px; text-align: center; width: 768px;}" + ".b-vehicle-detail_link {display: table; margin: 0 auto;}" + ".b-vehicle-slider {margin: 23px 64px 17px}" + ".b-vehicle-slider_inner {width: 741px;}" + ".b-vehicle-slider_prev {left: -12px;}" + ".b-vehicle-slider_next {right: -12px;}" + ".b-vehicle-minitable {margin: 0 43px; width: 350px;}" + ".b-vehicle-minitable__right {float: left;}" // profile navigator + ".b-profile-nav {text-align: center;}" + ".wrapper-dropdown .b-profile-nav {padding: 7px 0 0; position: absolute; right: 50%;}" + ".b-profile-nav a {background: url('/static/3.17.0.1/common/css/scss/content/links/img/vertical-arrow.png') no-repeat; padding: 2px 10px 0;}" + ".b-profile-nav a#top {background-position: 100% 0px;}" + ".b-profile-nav a#top:hover {background-position: 100% -36px;}" + ".b-profile-nav a#bottom {background-position: 100% -18px;}" + ".b-profile-nav a#bottom:hover {background-position: 100% -54px;}" + ".b-profile-nav span {border-bottom: 1px dashed;}" // multiple usage rules + ".b-ratings-wrpr, .b-achievements-wrpr {background: rgba(0, 0, 0, 0.09); "+box_background+" clear: both; width: 100%;}" + ".b-orange-arrow__heading, .b-profile-ratings_link {margin: 4px 0 0;}" + ".b-vertical-arrow {display: table; margin: 2px auto 0; padding: 2px 10px 0;}" + ""; document.head.appendChild(style); // end style // removing elements var layoutfix_class = document.getElementsByClassName('b-hr-layoutfix'); layoutfix_class[0].parentNode.removeChild(layoutfix_class[0]); layoutfix_class[0].parentNode.removeChild(layoutfix_class[0]); // profile wrapper var profile_div = document.createElement('div'); profile_div.className = "b-profile-wrpr"; profileHead_div = document.createElement('div'); profileHead_div.className = "b-profile-header"; profile_div.appendChild(profileHead_div); profileName_class = document.getElementsByClassName('b-profile-name')[0]; profileName_class.parentNode.insertBefore(profile_div, profileName_class.nextSibling); profile_div.appendChild(profileName_class); // profile header var profileError_div = document.createElement('div'); profileError_div.className = "b-profile-error"; profileHead_div.innerHTML += scriptlink; profileHead_div.insertBefore(profileError_div, profileHead_div.firstElementChild); // background behind profile wrapper var background_div = document.createElement('div'); background_div.className = "b-background"; background_div.innerHTML = ""; profile_div.parentNode.insertBefore(background_div, profile_div); // page navigation var lcontent_class = document.getElementsByClassName('l-content')[0]; dropdown_class = document.getElementsByClassName('wrapper-dropdown')[0]; topNav_div = document.createElement('div'); topNav_div.className = "b-profile-nav"; topNav_div.innerHTML += ""+locale.p01.lang+""; dropdown_class.appendChild(topNav_div); bottomNav_div = document.createElement('div'); bottomNav_div.className = "b-profile-nav"; bottomNav_div.innerHTML += ""+locale.p02.lang+""; lcontent_class.appendChild(bottomNav_div); // getting registration date var dateStamp = document.getElementsByClassName('js-date-format')[0].getAttribute('data-timestamp'), daysPassed = (new Date() - new Date(dateStamp * 1000)) / 1000/60/60/24; profileName_class.lastElementChild.innerHTML += " - "+daysPassed.toFixed(0)+" "+locale.p03.lang+"."; // getting userinfo var nick = document.getElementsByTagName('h1')[0].innerHTML, userid = document.location.href.match(/\/(\d+)/)[1]; // player statistic links var nm_url = nm_host+"/player/"+nm_srv+"/"+nick+"/"+userid; wl_player = nm_player = wn_player = mws_player = fz_player = signature = replays = ""; if (wl_srv !== null) { wl_player = "WoTLabs", signature = ""+locale.p05.lang+""+locale.p06.lang+"" + ""+locale.p07.lang+""; } if (nm_srv !== null) { nm_player = "Noobmeter"; } if (wn_srv !== null) { wn_player = "Wot-news"; } if (mws_srv !== null) { mws_player = "MyWOTStats"; } if (fz_srv !== null) { fz_player = "Feldzug"; } if (wr_srv !== null) { replays = ""+locale.p08.lang+"WoTReplays"; } playerstat = ""+locale.p04.lang+""+wl_player+nm_player+wn_player+""+mws_player+fz_player+""; if (playerstat.length > 66) { profileName_class.innerHTML += ""+playerstat+signature+replays+"
"; } // clan handler caller - clan container is delayed by Wargaming clanHnd(); // move sidebar var sidebar_class = document.getElementsByClassName('l-sidebar')[0]; profile_div.appendChild(sidebar_class); // end profile wrapper // formula calculations and variables // expected tank values v14 with premium tanks up to 0.8.11 var statArr = { "ms-1": { title:"MS-1", nation:"RU", tier:1, type:"LT", frag:2.10, dmg:270, spot:1.55, def:1.81, win:60.46 }, "bt-2": { title:"BT-2", nation:"RU", tier:2, type:"LT", frag:1.89, dmg:306, spot:2.20, def:1.58, win:57.80 }, "t-26": { title:"T-26", nation:"RU", tier:2, type:"LT", frag:1.87, dmg:302, spot:1.26, def:2.33, win:54.63 }, "t-60": { title:"T-60", nation:"RU", tier:2, type:"LT", frag:1.80, dmg:299, spot:1.71, def:2.37, win:57.55 }, "tetrarch_ll": { title:"Tetrarch", nation:"RU", tier:2, type:"LT", prem:1, frag:1.96, dmg:323, spot:1.63, def:1.87, win:59.43 }, "bt-7": { title:"BT-7", nation:"RU", tier:3, type:"LT", frag:0.94, dmg:229, spot:2.19, def:1.38, win:51.27 }, "t-46": { title:"T-46", nation:"RU", tier:3, type:"LT", frag:1.17, dmg:284, spot:1.57, def:1.27, win:53.17 }, "t-70": { title:"T-70", nation:"RU", tier:3, type:"LT", frag:1.47, dmg:361, spot:1.72, def:1.37, win:62.46 }, "bt-sv": { title:"BT-SV", nation:"RU", tier:3, type:"LT", prem:1, frag:1.52, dmg:346, spot:1.54, def:1.94, win:61.00 }, "m3_stuart_ll": { title:"M3 Light", nation:"RU", tier:3, type:"LT", prem:1, frag:1.02, dmg:232, spot:1.78, def:1.18, win:50.83 }, "t-127": { title:"T-127", nation:"RU", tier:3, type:"LT", prem:1, frag:1.89, dmg:393, spot:1.83, def:1.88, win:59.79 }, "ltp": { title:"LTP", nation:"RU", tier:3, type:"LT", prem:1, frag:1.68, dmg:343, spot:1.22, def:2.46, win:58.40 }, "a-20": { title:"A-20", nation:"RU", tier:4, type:"LT", frag:0.90, dmg:270, spot:3.34, def:0.62, win:48.95 }, "t-50": { title:"T-50", nation:"RU", tier:4, type:"LT", frag:0.97, dmg:339, spot:4.02, def:1.07, win:59.40 }, "t80": { title:"T-80", nation:"RU", tier:4, type:"LT", frag:1.17, dmg:404, spot:1.87, def:2.06, win:58.07 }, "valentine_ll": { title:"Valentine II", nation:"RU", tier:4, type:"LT", prem:1, frag:0.96, dmg:370, spot:0.88, def:1.28, win:53.78 }, "t_50_2": { title:"T-50-2", nation:"RU", tier:5, type:"LT", frag:0.61, dmg:380, spot:4.79, def:0.80, win:54.50 }, "mt25": { title:"MT-25", nation:"RU", tier:6, type:"LT", frag:0.63, dmg:415, spot:3.60, def:0.86, win:53.51 }, "t-28": { title:"T-28", nation:"RU", tier:4, type:"MT", frag:1.19, dmg:421, spot:1.24, def:0.97, win:51.85 }, "a-32": { title:"A-32", nation:"RU", tier:4, type:"MT", prem:1, frag:0.87, dmg:273, spot:2.86, def:0.56, win:53.98 }, "t-34": { title:"T-34", nation:"RU", tier:5, type:"MT", frag:1.15, dmg:528, spot:1.44, def:1.24, win:54.75 }, "matilda_ii_ll": { title:"Matilda IV", nation:"RU", tier:5, type:"MT", prem:1, frag:1.40, dmg:587, spot:1.16, def:1.61, win:55.82 }, "t-34-85": { title:"T-34-85", nation:"RU", tier:6, type:"MT", frag:1.03, dmg:740, spot:1.37, def:1.02, win:53.78 }, "a43": { title:"A-43", nation:"RU", tier:6, type:"MT", frag:1.08, dmg:755, spot:1.44, def:1.21, win:53.18 }, "t-43": { title:"T-43", nation:"RU", tier:7, type:"MT", frag:0.97, dmg:891, spot:1.54, def:1.00, win:53.64 }, "kv-13": { title:"KV-13", nation:"RU", tier:7, type:"MT", frag:0.85, dmg:750, spot:1.59, def:1.05, win:52.94 }, "a44": { title:"A-44", nation:"RU", tier:7, type:"MT", frag:1.00, dmg:943, spot:1.59, def:1.18, win:55.71 }, "t-44-85": { title:"T-44-85", nation:"RU", tier:7, type:"MT", prem:1, frag:0.95, dmg:898, spot:1.52, def:1.12, win:53.05 }, "t-44-122": { title:"T-44-122", nation:"RU", tier:7, type:"MT", prem:1, frag:0.95, dmg:898, spot:1.52, def:1.12, win:53.05 }, "t-44": { title:"T-44", nation:"RU", tier:8, type:"MT", frag:0.97, dmg:1114, spot:1.74, def:1.05, win:54.68 }, "object416": { title:"Object 416", nation:"RU", tier:8, type:"MT", frag:0.95, dmg:1186, spot:1.91, def:1.09, win:53.04 }, "t-54": { title:"T-54", nation:"RU", tier:9, type:"MT", frag:1.11, dmg:1568, spot:1.90, def:0.95, win:55.23 }, "r104_object_430_ii": { title:"Object 430 Version II", nation:"RU", tier:9, type:"MT", frag:0.99, dmg:1524, spot:1.64, def:0.77, win:53.20 }, "t62a": { title:"T-62A", nation:"RU", tier:10, type:"MT", frag:0.98, dmg:1682, spot:1.61, def:0.74, win:50.40 }, "object_140": { title:"Object 140", nation:"RU", tier:10, type:"MT", frag:0.98, dmg:1682, spot:1.61, def:0.74, win:50.40 }, "object_430": { title:"Object 430", nation:"RU", tier:10, type:"MT", frag:0.98, dmg:1682, spot:1.61, def:0.74, win:50.40 }, "object_907": { title:"Object 907", nation:"RU", tier:10, type:"MT", prem:1, frag:0.98, dmg:1682, spot:1.61, def:0.74, win:50.40 }, "kv": { title:"KV", nation:"RU", tier:5, type:"HT", frag:1.01, dmg:590, spot:0.72, def:0.52, win:51.16 }, "kv1": { title:"KV-1", nation:"RU", tier:5, type:"HT", frag:1.22, dmg:653, spot:0.80, def:1.00, win:53.41 }, "churchill_ll": { title:"Churchill III", nation:"RU", tier:5, type:"HT", prem:1, frag:1.30, dmg:614, spot:1.17, def:1.51, win:52.73 }, "kv-220": { title:"KV-220 Beta-Test", nation:"RU", tier:5, type:"HT", prem:1, frag:1.39, dmg:593, spot:1.46, def:0.62, win:54.00 }, "kv-220_action": { title:"KV-220", nation:"RU", tier:5, type:"HT", prem:1, frag:1.39, dmg:593, spot:1.46, def:0.62, win:54.00 }, "kv-1s": { title:"KV-1S", nation:"RU", tier:6, type:"HT", frag:1.33, dmg:1003, spot:1.16, def:0.94, win:56.56 }, "kv2": { title:"KV-2", nation:"RU", tier:6, type:"HT", frag:1.15, dmg:900, spot:0.74, def:0.84, win:53.31 }, "t150": { title:"T-150", nation:"RU", tier:6, type:"HT", frag:1.02, dmg:804, spot:0.80, def:0.79, win:52.65 }, "is": { title:"IS", nation:"RU", tier:7, type:"HT", frag:1.06, dmg:1068, spot:1.05, def:0.79, win:52.53 }, "kv-3": { title:"KV-3", nation:"RU", tier:7, type:"HT", frag:1.09, dmg:1128, spot:0.87, def:0.77, win:53.45 }, "is-3": { title:"IS-3", nation:"RU", tier:8, type:"HT", frag:0.97, dmg:1346, spot:1.03, def:0.77, win:52.09 }, "kv4": { title:"KV-4", nation:"RU", tier:8, type:"HT", frag:0.85, dmg:1223, spot:0.79, def:0.71, win:51.70 }, "object252": { title:"IS-6", nation:"RU", tier:8, type:"HT", prem:1, frag:1.11, dmg:1415, spot:1.11, def:0.91, win:53.28 }, "kv-5": { title:"KV-5", nation:"RU", tier:8, type:"HT", prem:1, frag:1.00, dmg:1248, spot:1.11, def:0.91, win:50.31 }, "st_i": { title:"ST-I", nation:"RU", tier:9, type:"HT", frag:0.96, dmg:1608, spot:0.92, def:0.70, win:52.55 }, "is8": { title:"IS-8", nation:"RU", tier:9, type:"HT", frag:0.96, dmg:1571, spot:1.12, def:0.67, win:50.35 }, "is-4": { title:"IS-4", nation:"RU", tier:10, type:"HT", frag:0.91, dmg:1791, spot:1.08, def:0.78, win:49.75 }, "is-7": { title:"IS-7", nation:"RU", tier:10, type:"HT", frag:0.86, dmg:1700, spot:1.13, def:0.56, win:50.07 }, "at-1": { title:"AT-1", nation:"RU", tier:2, type:"TD", frag:1.74, dmg:307, spot:0.46, def:1.66, win:56.42 }, "su-76": { title:"SU-76", nation:"RU", tier:3, type:"TD", frag:1.49, dmg:396, spot:0.87, def:1.70, win:54.36 }, "su-76i": { title:"SU-76I", nation:"RU", tier:3, type:"TD", prem:1, frag:1.49, dmg:396, spot:0.87, def:1.70, win:54.36 }, "gaz-74b": { title:"SU-85B", nation:"RU", tier:4, type:"TD", frag:1.44, dmg:519, spot:1.00, def:1.45, win:55.48 }, "su-85": { title:"SU-85", nation:"RU", tier:5, type:"TD", frag:1.21, dmg:608, spot:0.54, def:1.22, win:52.36 }, "su_85i": { title:"SU-85I", nation:"RU", tier:5, type:"TD", prem:1, frag:1.21, dmg:608, spot:0.54, def:1.22, win:52.36 }, "su-100": { title:"SU-100", nation:"RU", tier:6, type:"TD", frag:1.24, dmg:887, spot:0.81, def:1.19, win:54.05 }, "su100y": { title:"SU-100Y", nation:"RU", tier:6, type:"TD", prem:1, frag:1.28, dmg:985, spot:0.70, def:0.86, win:54.72 }, "su-152": { title:"SU-152", nation:"RU", tier:7, type:"TD", frag:1.12, dmg:1096, spot:0.57, def:0.94, win:52.53 }, "su100m1": { title:"SU-100M1", nation:"RU", tier:7, type:"TD", frag:1.02, dmg:1034, spot:0.91, def:1.14, win:52.43 }, "su122_44": { title:"SU-122-44", nation:"RU", tier:7, type:"TD", prem:1, frag:1.34, dmg:1251, spot:0.82, def:1.14, win:54.32 }, "isu-152": { title:"ISU-152", nation:"RU", tier:8, type:"TD", frag:1.18, dmg:1561, spot:0.59, def:0.81, win:51.04 }, "su-101": { title:"SU-101", nation:"RU", tier:8, type:"TD", frag:1.02, dmg:1278, spot:0.93, def:1.11, win:50.39 }, "object_704": { title:"Object 704", nation:"RU", tier:9, type:"TD", frag:1.16, dmg:1842, spot:0.69, def:0.70, win:52.00 }, "su122_54": { title:"SU-122-54", nation:"RU", tier:9, type:"TD", frag:1.06, dmg:1575, spot:0.96, def:0.94, win:50.27 }, "object268": { title:"Object 268", nation:"RU", tier:10, type:"TD", frag:1.21, dmg:2219, spot:0.85, def:0.71, win:51.17 }, "object263": { title:"Object 263", nation:"RU", tier:10, type:"TD", frag:1.13, dmg:2027, spot:0.94, def:1.07, win:50.67 }, "su-18": { title:"SU-18", nation:"RU", tier:2, type:"SPG", frag:1.42, dmg:267, spot:0.17, def:2.51, win:49.78 }, "su-26": { title:"SU-26", nation:"RU", tier:3, type:"SPG", frag:1.60, dmg:586, spot:0.16, def:2.17, win:57.28 }, "su-5": { title:"SU-5", nation:"RU", tier:4, type:"SPG", frag:1.02, dmg:582, spot:0.16, def:1.73, win:49.33 }, "su122a": { title:"SU-122A", nation:"RU", tier:5, type:"SPG", frag:1.16, dmg:705, spot:0.12, def:1.79, win:52.19 }, "su-8": { title:"SU-8", nation:"RU", tier:6, type:"SPG", frag:0.92, dmg:1101, spot:0.11, def:1.26, win:49.77 }, "su14_1": { title:"SU-14-1", nation:"RU", tier:7, type:"SPG", frag:0.81, dmg:1226, spot:0.10, def:0.86, win:48.50 }, "s-51": { title:"S-51", nation:"RU", tier:7, type:"SPG", frag:0.82, dmg:1180, spot:0.10, def:0.62, win:48.50 }, "su-14": { title:"SU-14-2", nation:"RU", tier:8, type:"SPG", frag:0.92, dmg:1319, spot:0.09, def:0.66, win:48.58 }, "object_212": { title:"212A", nation:"RU", tier:9, type:"SPG", frag:0.85, dmg:1556, spot:0.09, def:0.57, win:49.17 }, "object_261": { title:"Object 261", nation:"RU", tier:10, type:"SPG", frag:0.91, dmg:1682, spot:0.08, def:0.65, win:48.94 }, "ltraktor": { title:"Leichttraktor", nation:"DE", tier:1, type:"LT", frag:2.11, dmg:278, spot:2.35, def:1.84, win:59.54 }, "pz35t": { title:"Pz.Kpfw. 35 (t)", nation:"DE", tier:2, type:"LT", frag:1.95, dmg:311, spot:2.01, def:2.19, win:57.60 }, "pzi": { title:"Pz.Kpfw. I", nation:"DE", tier:2, type:"LT", frag:1.72, dmg:266, spot:3.18, def:2.66, win:59.06 }, "pzii": { title:"Pz.Kpfw. II", nation:"DE", tier:2, type:"LT", frag:1.69, dmg:272, spot:2.05, def:1.78, win:56.14 }, "h39_captured": { title:"Pz.Kpfw. 38H 735 (f)", nation:"DE", tier:2, type:"LT", prem:1, frag:2.20, dmg:352, spot:1.88, def:2.72, win:54.01 }, "pz38t": { title:"Pz.Kpfw. 38 (t)", nation:"DE", tier:3, type:"LT", frag:1.68, dmg:384, spot:1.58, def:1.77, win:56.45 }, "pziii_a": { title:"Pz.Kpfw. III Ausf. A", nation:"DE", tier:3, type:"LT", frag:1.20, dmg:268, spot:1.84, def:1.53, win:53.33 }, "pzi_ausf_c": { title:"Pz.Kpfw. I Ausf. C", nation:"DE", tier:3, type:"LT", frag:1.31, dmg:277, spot:3.01, def:1.41, win:57.25 }, "pz_ii_ausfg": { title:"Pz.Kpfw. II Ausf. G", nation:"DE", tier:3, type:"LT", frag:1.15, dmg:288, spot:1.99, def:1.63, win:59.52 }, "pzii_j": { title:"Pz.Kpfw. II Ausf. J", nation:"DE", tier:3, type:"LT", prem:1, frag:2.14, dmg:405, spot:2.08, def:3.01, win:63.00 }, "t-15": { title:"T-15", nation:"DE", tier:3, type:"LT", prem:1, frag:1.29, dmg:295, spot:3.61, def:1.66, win:59.71 }, "pzii_luchs": { title:"Pz.Kpfw. II Luchs", nation:"DE", tier:4, type:"LT", frag:1.34, dmg:339, spot:2.75, def:1.32, win:56.52 }, "pz38_na": { title:"Pz.Kpfw. 38 (t) n.A.", nation:"DE", tier:4, type:"LT", frag:0.92, dmg:290, spot:2.71, def:1.11, win:54.03 }, "vk1602": { title:"VK 16.02 Leopard", nation:"DE", tier:5, type:"LT", frag:0.73, dmg:357, spot:3.20, def:0.80, win:53.30 }, "vk2801": { title:"VK 28.01", nation:"DE", tier:6, type:"LT", frag:0.77, dmg:596, spot:2.97, def:0.62, win:53.08 }, "auf_panther": { title:"Aufklarungspanzer Panther", nation:"DE", tier:7, type:"LT", frag:0.69, dmg:738, spot:2.36, def:0.71, win:50.37 }, "pz_iv_ausfa": { title:"Pz.Kpfw. IV Ausf. A", nation:"DE", tier:3, type:"MT", frag:0, dmg:0, spot:0, def:0, win:0 }, // no values "s35_captured": { title:"Pz.Kpfw. S35 739 (f)", nation:"DE", tier:3, type:"MT", prem:1, frag:1.90, dmg:425, spot:1.58, def:1.94, win:62.00 }, "g100_gtraktor_krupp": { title:"Grosstraktor Krupp", nation:"DE", tier:3, type:"MT", prem:1, frag:0, dmg:0, spot:0, def:0, win:0 }, // no values "pziii_ausfj": { title:"Pz.Kpfw. III", nation:"DE", tier:4, type:"MT", frag:1.19, dmg:360, spot:2.15, def:1.16, win:55.49 }, "vk2001db": { title:"VK 20.01 (D)", nation:"DE", tier:4, type:"MT", frag:1.30, dmg:424, spot:1.71, def:1.36, win:57.92 }, "pz_iv_ausfd": { title:"Pz.Kpfw. IV Ausf. D", nation:"DE", tier:4, type:"MT", frag:0, dmg:0, spot:0, def:0, win:0 }, // no values "pziv": { title:"Pz.Kpfw. IV", nation:"DE", tier:5, type:"MT", frag:1.23, dmg:607, spot:1.26, def:1.07, win:54.88 }, // for backup "pz_iv_ausfh": { title:"Pz.Kpfw. IV Ausf. H", nation:"DE", tier:5, type:"MT", frag:1.23, dmg:607, spot:1.26, def:1.07, win:54.88 }, "pziii_iv": { title:"Pz.Kpfw. III/IV", nation:"DE", tier:5, type:"MT", frag:0.98, dmg:455, spot:1.65, def:1.00, win:53.07 }, "t-25": { title:"T-25", nation:"DE", tier:5, type:"MT", prem:1, frag:1.22, dmg:596, spot:1.55, def:1.29, win:55.52 }, "pziv_hydro": { title:"Pz.Kpfw. IV hydrostat.", nation:"DE", tier:5, type:"MT", prem:1, frag:1.23, dmg:607, spot:1.26, def:1.07, win:54.88 }, "vk3002db_v1": { title:"VK 30.01 (D)", nation:"DE", tier:6, type:"MT", frag:1.13, dmg:788, spot:1.49, def:1.33, win:53.74 }, "vk3001p": { title:"VK 30.01 (P)", nation:"DE", tier:6, type:"MT", frag:0.93, dmg:666, spot:1.28, def:0.89, win:52.07 }, "vk3002m": { title:"VK 30.02 (M)", nation:"DE", tier:6, type:"MT", frag:1.08, dmg:755, spot:1.44, def:1.21, win:53.18 }, "pzv_pziv": { title:"Pz.Kpfw. V/IV", nation:"DE", tier:6, type:"MT", prem:1, frag:1.04, dmg:643, spot:2.01, def:1.30, win:50.70 }, "pzv_pziv_ausf_alfa": { title:"Pz.Kpfw. V/IV Alpha", nation:"DE", tier:6, type:"MT", prem:1, frag:1.04, dmg:643, spot:2.01, def:1.30, win:51.35 }, "pziv_schmalturm": { title:"Pz.Kpfw. IV Schmalturm", nation:"DE", tier:6, type:"MT", prem:1, frag:1.07, dmg:808, spot:1.10, def:1.62, win:50.54 }, "pzv": { title:"Panther", nation:"DE", tier:7, type:"MT", frag:0.84, dmg:850, spot:1.11, def:1.27, win:51.64 }, "vk3002db": { title:"VK 30.02 (D)", nation:"DE", tier:7, type:"MT", frag:0.92, dmg:848, spot:1.54, def:1.02, win:52.63 }, "panther_m10": { title:"Panther/M10", nation:"DE", tier:7, type:"MT", prem:1, frag:0.99, dmg:942, spot:1.27, def:1.49, win:52.41 }, "panther_ii": { title:"Panther II", nation:"DE", tier:8, type:"MT", frag:0.90, dmg:1110, spot:1.43, def:1.04, win:53.04 }, "indien_panzer": { title:"Indien-Panzer", nation:"DE", tier:8, type:"MT", frag:0.90, dmg:1213, spot:1.13, def:1.16, win:50.29 }, "e-50": { title:"E 50", nation:"DE", tier:9, type:"MT", frag:1.01, dmg:1518, spot:1.47, def:0.82, win:52.24 }, "pro_ag_a": { title:"Leopard Prototyp A", nation:"DE", tier:9, type:"MT", frag:0.96, dmg:1485, spot:1.27, def:1.09, win:49.51 }, "e50_ausf_m": { title:"E 50 Ausf. M", nation:"DE", tier:10, type:"MT", frag:0.94, dmg:1701, spot:1.42, def:0.66, win:49.77 }, "leopard1": { title:"Leopard 1", nation:"DE", tier:10, type:"MT", frag:0.93, dmg:1736, spot:1.46, def:0.82, win:47.28 }, "dw_ii": { title:"Durchbruchswagen 2", nation:"DE", tier:4, type:"HT", frag:1.16, dmg:348, spot:1.20, def:1.49, win:51.63 }, "b-1bis_captured": { title:"Pz.Kpfw. B2 740 (f)", nation:"DE", tier:4, type:"HT", prem:1, frag:1.96, dmg:527, spot:1.79, def:2.22, win:60.16 }, "vk3001h": { title:"VK 30.01 (H)", nation:"DE", tier:5, type:"HT", frag:1.17, dmg:677, spot:1.45, def:0.90, win:51.80 }, "vk3601h": { title:"VK 36.01 (H)", nation:"DE", tier:6, type:"HT", frag:1.34, dmg:947, spot:1.40, def:1.40, win:57.39 }, "pzvi": { title:"Tiger I", nation:"DE", tier:7, type:"HT", frag:0.93, dmg:1031, spot:0.94, def:0.98, win:51.68 }, "pzvi_tiger_p": { title:"Tiger (P)", nation:"DE", tier:7, type:"HT", frag:0.97, dmg:1095, spot:0.93, def:1.08, win:53.17 }, "pzvib_tiger_ii": { title:"Tiger II", nation:"DE", tier:8, type:"HT", frag:0.89, dmg:1261, spot:0.99, def:0.83, win:50.25 }, "vk4502a": { title:"VK 45.02 (P) Ausf. A", nation:"DE", tier:8, type:"HT", frag:0.92, dmg:1258, spot:1.25, def:0.89, win:51.16 }, "e-75": { title:"E 75", nation:"DE", tier:9, type:"HT", frag:0.96, dmg:1595, spot:1.00, def:0.69, win:51.37 }, "lowe": { title:"Lowe", nation:"DE", tier:8, type:"HT", prem:1, frag:0.83, dmg:1221, spot:0.84, def:0.79, win:49.04 }, "vk4502p": { title:"VK 45.02 (P) Ausf. B", nation:"DE", tier:9, type:"HT", frag:0.90, dmg:1488, spot:0.93, def:0.60, win:49.63 }, "e-100": { title:"E 100", nation:"DE", tier:10, type:"HT", frag:0.94, dmg:1836, spot:0.98, def:0.52, win:50.59 }, "maus": { title:"Maus", nation:"DE", tier:10, type:"HT", frag:0.82, dmg:1631, spot:0.89, def:0.68, win:49.77 }, "vk7201": { title:"VK 72.01 (K)", nation:"DE", tier:10, type:"HT", prem:1, frag:0.86, dmg:1700, spot:1.13, def:0.56, win:50.07 }, "panzerjager_i": { title:"Panzerjager I", nation:"DE", tier:2, type:"TD", frag:1.95, dmg:330, spot:0.94, def:1.78, win:59.68 }, "g20_marder_ii": { title:"Marder II", nation:"DE", tier:3, type:"TD", frag:1.51, dmg:428, spot:1.08, def:1.51, win:58.41 }, "hetzer": { title:"Hetzer", nation:"DE", tier:4, type:"TD", frag:1.63, dmg:533, spot:0.64, def:1.37, win:57.58 }, "marder_iii": { title:"Marder 38T", nation:"DE", tier:4, type:"TD", frag:1.42, dmg:533, spot:0.64, def:1.37, win:57.58 }, "g101_stug_iii": { title:"StuG III Ausf. B", nation:"DE", tier:5, type:"TD", frag:0, dmg:0, spot:0, def:0, win:0 }, // no values "stug_40_ausfg": { title:"StuG III Ausf. G", nation:"DE", tier:5, type:"TD", frag:1.21, dmg:616, spot:0.73, def:1.40, win:53.19 }, "pz_sfl_ivc": { title:"Pz.Sfl. IVc", nation:"DE", tier:5, type:"TD", frag:1.32, dmg:681, spot:0.86, def:1.32, win:54.17 }, "jagdpziv": { title:"Jagdpanzer IV", nation:"DE", tier:6, type:"TD", frag:1.08, dmg:748, spot:0.72, def:1.26, win:52.37 }, "nashorn": { title:"Nashorn", nation:"DE", tier:6, type:"TD", frag:1.26, dmg:937, spot:0.80, def:1.14, win:53.97 }, "dickermax": { title:"Dicker Max", nation:"DE", tier:6, type:"TD", prem:1, frag:1.20, dmg:892, spot:0.76, def:1.09, win:51.40 }, "jagdpanther": { title:"Jagdpanther", nation:"DE", tier:7, type:"TD", frag:1.10, dmg:1123, spot:0.68, def:1.10, win:51.94 }, "sturer_emil": { title:"Pz.Sfl. V", nation:"DE", tier:7, type:"TD", frag:1.10, dmg:1123, spot:0.68, def:1.10, win:52.69 }, "e-25": { title:"E 25", nation:"DE", tier:7, type:"TD", prem:1, frag:1.34, dmg:1127, spot:1.40, def:2.25, win:50.54 }, "jagdpantherii": { title:"Jagdpanther II", nation:"DE", tier:8, type:"TD", frag:1.14, dmg:1544, spot:0.76, def:0.98, win:50.97 }, "ferdinand": { title:"Ferdinand", nation:"DE", tier:8, type:"TD", frag:1.07, dmg:1455, spot:0.62, def:0.90, win:50.53 }, "rhb_waffentrager": { title:"Rhm.-Borsig Waffentrager", nation:"DE", tier:8, type:"TD", frag:1.22, dmg:1652, spot:0.81, def:1.05, win:54.54 }, "jagdtiger_sdkfz_185": { title:"8,8 cm Pak 43 Jagdtiger", nation:"DE", tier:8, type:"TD", prem:1, frag:1.00, dmg:1378, spot:0.72, def:1.14, win:50.48 }, "jagdtiger": { title:"Jagdtiger", nation:"DE", tier:9, type:"TD", frag:1.09, dmg:1777, spot:0.66, def:0.77, win:49.84 }, "waffentrager_iv": { title:"Waffentrager auf Pz. IV", nation:"DE", tier:9, type:"TD", frag:1.16, dmg:1842, spot:0.69, def:0.70, win:52.00 }, "jagdpz_e100": { title:"Jagdpanzer E 100", nation:"DE", tier:10, type:"TD", frag:1.02, dmg:1943, spot:0.66, def:0.49, win:48.61 }, "waffentrager_e100": { title:"Waffentrager auf E 100", nation:"DE", tier:10, type:"TD", frag:1.40, dmg:2388, spot:0.95, def:0.68, win:53.83 }, "gw_mk_vie": { title:"G.Pz. Mk. VI (e)", nation:"DE", tier:2, type:"SPG", frag:1.47, dmg:280, spot:0.17, def:2.23, win:51.21 }, "bison_i": { title:"Sturmpanzer I Bison", nation:"DE", tier:3, type:"SPG", frag:1.31, dmg:383, spot:0.21, def:1.57, win:57.02 }, "wespe": { title:"Wespe", nation:"DE", tier:3, type:"SPG", frag:1.15, dmg:415, spot:0.16, def:1.81, win:54.00 }, "sturmpanzer_ii": { title:"Sturmpanzer II", nation:"DE", tier:4, type:"SPG", frag:1.16, dmg:436, spot:0.18, def:1.68, win:50.46 }, "pz_sfl_ivb": { title:"Pz.Sfl. IVb", nation:"DE", tier:4, type:"SPG", frag:1.10, dmg:471, spot:0.16, def:2.44, win:55.16 }, "grille": { title:"Grille", nation:"DE", tier:5, type:"SPG", frag:1.08, dmg:648, spot:0.11, def:1.58, win:51.03 }, "hummel": { title:"Hummel", nation:"DE", tier:6, type:"SPG", frag:0.84, dmg:982, spot:0.11, def:1.28, win:48.42 }, "g_panther": { title:"G.W. Panther", nation:"DE", tier:7, type:"SPG", frag:0.81, dmg:1248, spot:0.10, def:0.91, win:48.17 }, "gw_tiger_p": { title:"G.W. Tiger (P)", nation:"DE", tier:8, type:"SPG", frag:0.88, dmg:1335, spot:0.09, def:0.61, win:47.62 }, "g_tiger": { title:"G.W. Tiger", nation:"DE", tier:9, type:"SPG", frag:0.86, dmg:1552, spot:0.09, def:0.61, win:49.30 }, "g_e": { title:"G.W. E 100", nation:"DE", tier:10, type:"SPG", frag:0.86, dmg:1651, spot:0.08, def:0.56, win:49.55 }, "t1_cunningham": { title:"T1 Cunningham", nation:"US", tier:1, type:"LT", frag:2.14, dmg:265, spot:2.67, def:1.78, win:61.40 }, "m2_lt": { title:"M2 Light Tank", nation:"US", tier:2, type:"LT", frag:1.75, dmg:281, spot:2.73, def:1.76, win:60.49 }, "t2_lt": { title:"T2 Light Tank", nation:"US", tier:2, type:"LT", prem:1, frag:1.70, dmg:275, spot:3.12, def:1.64, win:58.98 }, "t1_e6": { title:"T1E6", nation:"US", tier:2, type:"LT", prem:1, frag:1.62, dmg:269, spot:2.05, def:1.43, win:57.06 }, "t7_combat_car": { title:"T7 Combat Car", nation:"US", tier:2, type:"LT", prem:1, frag:1.80, dmg:295, spot:2.02, def:2.02, win:58.04 }, "m3_stuart": { title:"M3 Stuart", nation:"US", tier:3, type:"LT", frag:1.09, dmg:252, spot:2.66, def:1.57, win:53.72 }, "m22_locust": { title:"M22 Locust", nation:"US", tier:3, type:"LT", prem:1, frag:1.22, dmg:287, spot:2.94, def:1.27, win:58.31 }, "mtls1g14": { title:"MTLS-1G14", nation:"US", tier:3, type:"LT", prem:1, frag:1.39, dmg:314, spot:1.95, def:1.64, win:57.44 }, "m5_stuart": { title:"M5 Stuart", nation:"US", tier:4, type:"LT", frag:1.03, dmg:334, spot:3.12, def:1.28, win:57.84 }, "m24_chaffee": { title:"M24 Chaffee", nation:"US", tier:5, type:"LT", frag:0.69, dmg:538, spot:2.67, def:0.81, win:53.27 }, "t21": { title:"T21", nation:"US", tier:6, type:"LT", frag:0.65, dmg:517, spot:2.44, def:0.76, win:52.09 }, "t71": { title:"T71", nation:"US", tier:7, type:"LT", frag:0.81, dmg:824, spot:2.66, def:0.85, win:53.03 }, "t2_med": { title:"T2 Medium Tank", nation:"US", tier:2, type:"MT", frag:1.92, dmg:310, spot:2.01, def:1.92, win:57.24 }, "m2_med": { title:"M2 Medium Tank", nation:"US", tier:3, type:"MT", frag:1.38, dmg:301, spot:1.45, def:1.15, win:53.29 }, "m3_grant": { title:"M3 Lee", nation:"US", tier:4, type:"MT", frag:1.14, dmg:377, spot:0.87, def:0.97, win:51.78 }, "m4_sherman": { title:"M4 Sherman", nation:"US", tier:5, type:"MT", frag:1.73, dmg:801, spot:1.57, def:1.31, win:60.24 }, "m7_med": { title:"M7", nation:"US", tier:5, type:"MT", frag:0.98, dmg:441, spot:2.15, def:1.12, win:53.32 }, "ram-ii": { title:"Ram II", nation:"US", tier:5, type:"MT", prem:1, frag:1.19, dmg:538, spot:1.37, def:1.31, win:55.69 }, "m4a2e4": { title:"M4A2E4 Sherman", nation:"US", tier:5, type:"MT", prem:1, frag:0.94, dmg:401, spot:1.45, def:0.94, win:51.74 }, "sherman_jumbo": { title:"M4A3E2 Sherman Jumbo", nation:"US", tier:6, type:"MT", frag:1.21, dmg:840, spot:1.19, def:1.38, win:54.75 }, "m4a3e8_sherman": { title:"M4A3E8 Sherman", nation:"US", tier:6, type:"MT", frag:1.03, dmg:700, spot:1.50, def:1.11, win:53.63 }, "t20": { title:"T20", nation:"US", tier:7, type:"MT", frag:0.97, dmg:932, spot:1.69, def:0.98, win:53.52 }, "t23e3": { title:"T23E3", nation:"US", tier:7, type:"MT", prem:1, frag:0, dmg:0, spot:0, def:0, win:0 }, // no values "pershing": { title:"M26 Pershing", nation:"US", tier:8, type:"MT", frag:0.95, dmg:1159, spot:1.53, def:1.11, win:52.76 }, "t69": { title:"T69", nation:"US", tier:8, type:"MT", frag:1.21, dmg:1490, spot:1.33, def:1.48, win:55.52 }, "t26_e4_superpershing": { title:"T26E4 SuperPershing", nation:"US", tier:8, type:"MT", prem:1, frag:0.89, dmg:1151, spot:0.90, def:1.10, win:52.30 }, "t23": { title:"T23", nation:"US", tier:8, type:"MT", prem:1, frag:0.95, dmg:1159, spot:1.53, def:1.11, win:52.76 }, "m46_patton": { title:"M46 Patton", nation:"US", tier:9, type:"MT", frag:1.02, dmg:1503, spot:1.64, def:0.81, win:52.47 }, "t54e1": { title:"T54E1", nation:"US", tier:9, type:"MT", frag:1.14, dmg:1670, spot:1.05, def:0.81, win:51.79 }, "m48a1": { title:"M48A1 Patton", nation:"US", tier:10, type:"MT", frag:0.97, dmg:1716, spot:1.58, def:0.63, win:50.52 }, "m60": { title:"M60", nation:"US", tier:10, type:"MT", prem:1, frag:0.91, dmg:1735, spot:1.31, def:0.60, win:48.50 }, "t95_e6": { title:"T95E6", nation:"US", tier:10, type:"MT", prem:1, frag:0, dmg:0, spot:0, def:0, win:0 }, // no values "t1_hvy": { title:"T1 Heavy Tank", nation:"US", tier:5, type:"HT", frag:1.24, dmg:636, spot:1.14, def:1.15, win:53.98 }, "t14": { title:"T14", nation:"US", tier:5, type:"HT", prem:1, frag:1.35, dmg:593, spot:1.53, def:1.31, win:54.02 }, "m6": { title:"M6", nation:"US", tier:6, type:"HT", frag:1.07, dmg:845, spot:1.03, def:0.92, win:52.17 }, "t29": { title:"T29", nation:"US", tier:7, type:"HT", frag:1.13, dmg:1239, spot:1.07, def:1.04, win:54.14 }, "t32": { title:"T32", nation:"US", tier:8, type:"HT", frag:0.97, dmg:1336, spot:1.21, def:0.92, win:52.77 }, "t34_hvy": { title:"T34", nation:"US", tier:8, type:"HT", prem:1, frag:0.87, dmg:1313, spot:0.81, def:0.68, win:50.57 }, "m6a2e1": { title:"M6A2E1", nation:"US", tier:8, type:"HT", prem:1, frag:0.87, dmg:1113, spot:1.22, def:0.80, win:47.06 }, "m103": { title:"M103", nation:"US", tier:9, type:"HT", frag:0.92, dmg:1578, spot:1.09, def:0.67, win:50.82 }, "t110": { title:"T110E5", nation:"US", tier:10, type:"HT", frag:0.90, dmg:1802, spot:1.19, def:0.74, win:50.23 }, "t57_58": { title:"T57 Heavy Tank", nation:"US", tier:10, type:"HT", frag:1.16, dmg:2159, spot:0.85, def:0.78, win:51.43 }, "t18": { title:"T18", nation:"US", tier:2, type:"TD", frag:2.48, dmg:360, spot:1.21, def:1.79, win:60.50 }, "t82": { title:"T82", nation:"US", tier:3, type:"TD", frag:1.57, dmg:389, spot:1.31, def:1.11, win:58.10 }, "t40": { title:"T40", nation:"US", tier:4, type:"TD", frag:1.45, dmg:533, spot:1.15, def:1.46, win:56.56 }, "m8a1": { title:"M8A1", nation:"US", tier:4, type:"TD", frag:1.42, dmg:516, spot:1.54, def:1.77, win:57.49 }, "m10_wolverine": { title:"M10 Wolverine", nation:"US", tier:5, type:"TD", frag:1.26, dmg:627, spot:0.95, def:1.42, win:54.24 }, "t49": { title:"T49", nation:"US", tier:5, type:"TD", frag:1.46, dmg:700, spot:1.71, def:1.67, win:56.89 }, "m36_slagger": { title:"M36 Jackson", nation:"US", tier:6, type:"TD", frag:1.09, dmg:824, spot:0.89, def:1.23, win:53.57 }, "m18_hellcat": { title:"M18 Hellcat", nation:"US", tier:6, type:"TD", frag:1.37, dmg:1002, spot:1.47, def:1.60, win:56.24 }, "t25_at": { title:"T25 AT", nation:"US", tier:7, type:"TD", frag:1.06, dmg:1057, spot:0.81, def:1.12, win:53.20 }, "t25_2": { title:"T25/2", nation:"US", tier:7, type:"TD", frag:1.01, dmg:1041, spot:0.98, def:1.26, win:52.52 }, "t28_prototype": { title:"T28 Prototype", nation:"US", tier:8, type:"TD", frag:1.07, dmg:1467, spot:0.51, def:1.06, win:50.58 }, "t28": { title:"T28", nation:"US", tier:8, type:"TD", frag:1.01, dmg:1353, spot:0.51, def:0.95, win:49.66 }, "t95": { title:"T95", nation:"US", tier:9, type:"TD", frag:1.06, dmg:1646, spot:0.46, def:0.76, win:49.81 }, "t30": { title:"T30", nation:"US", tier:9, type:"TD", frag:1.02, dmg:1733, spot:0.72, def:0.64, win:50.69 }, "t110e3": { title:"T110E3", nation:"US", tier:10, type:"TD", frag:1.10, dmg:2072, spot:0.73, def:0.50, win:51.04 }, "t110e4": { title:"T110E4", nation:"US", tier:10, type:"TD", frag:1.03, dmg:2053, spot:0.81, def:0.56, win:48.93 }, "t57": { title:"T57", nation:"US", tier:2, type:"SPG", frag:1.56, dmg:296, spot:0.30, def:2.33, win:51.15 }, "m7_priest": { title:"M7 Priest", nation:"US", tier:3, type:"SPG", frag:1.04, dmg:567, spot:0.16, def:1.89, win:53.00 }, "sexton_i": { title:"Sextron I", nation:"US", tier:3, type:"SPG", frag:1.30, dmg:490, spot:0.16, def:1.93, win:55.11 }, "m37": { title:"M37", nation:"US", tier:4, type:"SPG", frag:1.15, dmg:419, spot:0.17, def:1.90, win:49.49 }, "m41": { title:"M41", nation:"US", tier:5, type:"SPG", frag:0.99, dmg:874, spot:0.12, def:1.33, win:50.44 }, "m44": { title:"M44", nation:"US", tier:6, type:"SPG", frag:0.90, dmg:974, spot:0.11, def:1.52, win:47.95 }, "m12": { title:"M12", nation:"US", tier:7, type:"SPG", frag:0.81, dmg:1240, spot:0.10, def:0.89, win:48.45 }, "m40m43": { title:"M40/M43", nation:"US", tier:8, type:"SPG", frag:0.86, dmg:1378, spot:0.09, def:0.46, win:47.61 }, "m53_55": { title:"M53/M55", nation:"US", tier:9, type:"SPG", frag:0.86, dmg:1619, spot:0.09, def:0.58, win:48.32 }, "t92": { title:"T92", nation:"US", tier:10, type:"SPG", frag:0.86, dmg:1693, spot:0.08, def:0.58, win:48.24 }, "gb03_cruiser_mk_i": { title:"Cruiser Mk. I", nation:"UK", tier:2, type:"LT", frag:1.73, dmg:301, spot:1.97, def:1.40, win:58.67 }, "gb58_cruiser_mk_iii": { title:"Cruiser Mk. III", nation:"UK", tier:2, type:"LT", frag:2.09, dmg:349, spot:2.24, def:1.42, win:64.03 }, "gb76_mk_vic": { title:"Light Mk. VIC", nation:"UK", tier:2, type:"LT", prem:1, frag:1.80, dmg:295, spot:2.02, def:2.02, win:58.04 }, "gb69_cruiser_mk_ii": { title:"Cruiser Mk. II", nation:"UK", tier:3, type:"LT", frag:1.51, dmg:330, spot:1.02, def:1.20, win:57.99 }, "gb59_cruiser_mk_iv": { title:"Cruiser Mk. IV", nation:"UK", tier:3, type:"LT", frag:1.65, dmg:381, spot:1.92, def:1.31, win:60.33 }, "gb60_covenanter": { title:"Covenanter", nation:"UK", tier:4, type:"LT", frag:1.11, dmg:378, spot:1.81, def:1.15, win:55.60 }, "gb04_valentine": { title:"Valentine", nation:"UK", tier:4, type:"LT", frag:1.45, dmg:396, spot:1.75, def:1.78, win:55.72 }, "gb20_crusader": { title:"Crusader", nation:"UK", tier:5, type:"LT", frag:1.06, dmg:489, spot:1.71, def:1.25, win:54.16 }, "gb01_medium_mark_i": { title:"Vickers Medium Mk. I", nation:"UK", tier:1, type:"LT", frag:2.05, dmg:260, spot:1.38, def:1.76, win:57.88 }, "gb05_vickers_medium_mk_ii": { title:"Vickers Medium Mk. II", nation:"UK", tier:2, type:"MT", frag:1.80, dmg:297, spot:1.23, def:1.67, win:57.37 }, "gb06_vickers_medium_mk_iii": { title:"Vickers Medium Mk. III", nation:"UK", tier:3, type:"MT", frag:1.15, dmg:290, spot:1.04, def:0.47, win:51.20 }, "gb07_matilda": { title:"Matilda", nation:"UK", tier:4, type:"MT", frag:1.55, dmg:562, spot:0.91, def:2.08, win:59.66 }, "gb68_matilda_black_prince": { title:"Matilda Black Prince", nation:"UK", tier:5, type:"MT", prem:1, frag:1.22, dmg:536, spot:0.78, def:1.28, win:52.98 }, "gb21_cromwell": { title:"Cromwell", nation:"UK", tier:6, type:"MT", frag:1.11, dmg:744, spot:2.05, def:1.09, win:54.02 }, "gb22_comet": { title:"Comet", nation:"UK", tier:7, type:"MT", frag:1.04, dmg:958, spot:1.82, def:1.14, win:54.07 }, "gb23_centurion": { title:"Centurion Mk. I", nation:"UK", tier:8, type:"MT", frag:0.87, dmg:1193, spot:1.26, def:1.07, win:53.58 }, "gb24_centurion_mk3": { title:"Centurion Mk. 7/1", nation:"UK", tier:9, type:"MT", frag:0.90, dmg:1503, spot:1.22, def:0.79, win:50.50 }, "gb70_fv4202_105": { title:"FV4202", nation:"UK", tier:10, type:"MT", frag:0.93, dmg:1726, spot:1.34, def:0.60, win:48.85 }, "gb08_churchill_i": { title:"Churchill I", nation:"UK", tier:5, type:"HT", frag:1.24, dmg:671, spot:0.90, def:1.43, win:53.96 }, "gb51_excelsior": { title:"Excelsior", nation:"UK", tier:5, type:"HT", prem:1, frag:1.32, dmg:582, spot:1.32, def:1.89, win:53.90 }, "gb09_churchill_vii": { title:"Churchill VII", nation:"UK", tier:6, type:"HT", frag:1.06, dmg:802, spot:0.76, def:1.18, win:52.39 }, "gb63_tog_ii": { title:"TOG II*", nation:"UK", tier:6, type:"HT", prem:1, frag:1.29, dmg:922, spot:0.60, def:1.41, win:55.31 }, "gb10_black_prince": { title:"Black Prince", nation:"UK", tier:7, type:"HT", frag:0.96, dmg:1043, spot:0.89, def:1.10, win:53.54 }, "gb11_caernarvon": { title:"Caernarvon", nation:"UK", tier:8, type:"HT", frag:0.84, dmg:1257, spot:1.06, def:0.87, win:52.11 }, "gb12_conqueror": { title:"Conqueror", nation:"UK", tier:9, type:"HT", frag:0.90, dmg:1604, spot:1.04, def:0.68, win:49.96 }, "gb13_fv215b": { title:"FV215b", nation:"UK", tier:10, type:"HT", frag:0.92, dmg:1859, spot:1.06, def:0.76, win:47.41 }, "gb39_universal_carrierqf2": { title:"Universal Carrier 2-pdr", nation:"UK", tier:2, type:"TD", frag:1.95, dmg:321, spot:1.48, def:1.77, win:60.98 }, "gb42_valentine_at": { title:"Valentine AT", nation:"UK", tier:3, type:"TD", frag:1.76, dmg:401, spot:0.94, def:1.64, win:59.00 }, "gb57_alecto": { title:"Alecto", nation:"UK", tier:4, type:"TD", frag:1.49, dmg:504, spot:1.48, def:1.66, win:55.33 }, "gb73_at2": { title:"AT 2", nation:"UK", tier:5, type:"TD", frag:1.29, dmg:617, spot:0.79, def:1.97, win:55.00 }, "gb74_at8": { title:"AT 8", nation:"UK", tier:6, type:"TD", frag:1.24, dmg:916, spot:0.73, def:1.69, win:54.00 }, "gb40_gun_carrier_churchill": { title:"Churchill Gun Carrier", nation:"UK", tier:6, type:"TD", frag:0.92, dmg:704, spot:0.46, def:1.10, win:50.85 }, "gb75_at7": { title:"AT 7", nation:"UK", tier:7, type:"TD", frag:1.19, dmg:1249, spot:0.69, def:1.10, win:54.00 }, "gb71_at_15a": { title:"AT 15A", nation:"UK", tier:7, type:"TD", prem:1, frag:0.92, dmg:1008, spot:0.82, def:1.21, win:51.56 }, "gb72_at15": { title:"AT 15", nation:"UK", tier:8, type:"TD", frag:1.15, dmg:1533, spot:0.63, def:1.31, win:53.26 }, "gb32_tortoise": { title:"Tortoise", nation:"UK", tier:9, type:"TD", frag:1.11, dmg:1772, spot:0.57, def:1.07, win:51.99 }, "gb48_fv215b_183": { title:"FV215b (183)", nation:"UK", tier:10, type:"TD", frag:1.15, dmg:2179, spot:0.60, def:0.58, win:49.03 }, "gb25_loyd_carrier": { title:"Loyd Gun Carriage", nation:"UK", tier:2, type:"SPG", frag:1.47, dmg:280, spot:0.17, def:2.23, win:51.21 }, "gb27_sexton": { title:"Sexton II", nation:"UK", tier:3, type:"SPG", frag:1.30, dmg:490, spot:0.16, def:1.93, win:55.11 }, "gb78_sexton_i": { title:"Sexton I", nation:"UK", tier:3, type:"SPG", prem:1, frag:1.30, dmg:490, spot:0.16, def:1.93, win:55.11 }, "gb26_birch_gun": { title:"Birch Gun", nation:"UK", tier:4, type:"SPG", frag:1.11, dmg:477, spot:0.16, def:1.94, win:51.11 }, "gb28_bishop": { title:"Bishop", nation:"UK", tier:5, type:"SPG", frag:1.11, dmg:620, spot:0.12, def:1.76, win:55.29 }, "gb77_fv304": { title:"FV304", nation:"UK", tier:6, type:"SPG", frag:0.95, dmg:889, spot:0.13, def:1.72, win:49.00 }, "gb29_crusader_5inch": { title:"Crusader 5.5-in. SP", nation:"UK", tier:7, type:"SPG", frag:0.81, dmg:1226, spot:0.10, def:0.86, win:48.50 }, "gb79_fv206": { title:"FV207", nation:"UK", tier:8, type:"SPG", frag:0.88, dmg:1335, spot:0.09, def:0.61, win:46.68 }, "gb30_fv3805": { title:"FV3805", nation:"UK", tier:9, type:"SPG", frag:0.86, dmg:1619, spot:0.09, def:0.58, win:48.32 }, "gb31_conqueror_gun": { title:"Conqueror Gun Carriage", nation:"UK", tier:10, type:"SPG", frag:0.87, dmg:1778, spot:0.08, def:0.58, win:49.00 }, "renaultft": { title:"Renault FT", nation:"FR", tier:1, type:"LT", frag:2.01, dmg:268, spot:2.12, def:2.17, win:60.24 }, "hotchkiss_h35": { title:"Hotchkiss H35", nation:"FR", tier:2, type:"LT", frag:1.52, dmg:249, spot:1.32, def:2.43, win:58.69 }, "d1": { title:"D1", nation:"FR", tier:2, type:"LT", frag:1.46, dmg:250, spot:1.24, def:2.90, win:53.96 }, "amx38": { title:"AMX 38", nation:"FR", tier:3, type:"LT", frag:0.95, dmg:222, spot:1.05, def:1.64, win:55.07 }, "amx40": { title:"AMX 40", nation:"FR", tier:4, type:"LT", frag:0.93, dmg:297, spot:0.92, def:1.39, win:53.09 }, "elc_amx": { title:"ELC AMX", nation:"FR", tier:5, type:"LT", frag:0.73, dmg:464, spot:2.88, def:0.77, win:53.91 }, "amx_12t": { title:"AMX 12 t", nation:"FR", tier:6, type:"LT", frag:0.63, dmg:471, spot:1.93, def:0.69, win:51.44 }, "amx_13_75": { title:"AMX 13 75", nation:"FR", tier:7, type:"LT", frag:0.75, dmg:623, spot:1.99, def:0.77, win:53.10 }, "amx_13_90": { title:"AMX 13 90", nation:"FR", tier:8, type:"LT", frag:0.81, dmg:846, spot:2.37, def:0.66, win:53.77 }, "d2": { title:"D2", nation:"FR", tier:3, type:"MT", frag:1.38, dmg:320, spot:0.97, def:2.07, win:59.59 }, "lorraine40t": { title:"Lorraine 40 t", nation:"FR", tier:9, type:"MT", frag:1.09, dmg:1380, spot:1.47, def:0.95, win:53.24 }, "bat_chatillon25t": { title:"Bat.-Chatillon 25 t", nation:"FR", tier:10, type:"MT", frag:1.19, dmg:1761, spot:2.12, def:0.84, win:52.51 }, "b1": { title:"B1", nation:"FR", tier:4, type:"HT", frag:1.16, dmg:348, spot:1.20, def:1.49, win:51.63 }, "bdr_g1b": { title:"BDR G1 B", nation:"FR", tier:5, type:"HT", frag:1.22, dmg:654, spot:0.83, def:1.11, win:52.93 }, "arl_44": { title:"ARL 44", nation:"FR", tier:6, type:"HT", frag:0.96, dmg:813, spot:0.84, def:0.85, win:51.08 }, "amx_m4_1945": { title:"AMX M4 mle. 45", nation:"FR", tier:7, type:"HT", frag:0.89, dmg:1021, spot:0.93, def:0.94, win:50.70 }, "amx_50_100": { title:"AMX 50 100", nation:"FR", tier:8, type:"HT", frag:1.12, dmg:1417, spot:0.97, def:1.07, win:51.65 }, "fcm_50t": { title:"FCM 50 t", nation:"FR", tier:8, type:"HT", prem:1, frag:1.00, dmg:1312, spot:1.37, def:1.11, win:50.71 }, "amx_50_120": { title:"AMX 50 120", nation:"FR", tier:9, type:"HT", frag:1.12, dmg:1692, spot:0.90, def:0.87, win:50.81 }, "f10_amx_50b": { title:"AMX 50 B", nation:"FR", tier:10, type:"HT", frag:1.07, dmg:1915, spot:1.03, def:0.87, win:50.15 }, "renaultft_ac": { title:"Renault FT AC", nation:"FR", tier:2, type:"TD", frag:2.02, dmg:334, spot:0.86, def:1.65, win:54.47 }, "fcm_36pak40": { title:"FCM 36 Pak 40", nation:"FR", tier:3, type:"TD", prem:1, frag:1.58, dmg:389, spot:1.02, def:2.09, win:57.84 }, "renaultue57": { title:"Renault UE 57", nation:"FR", tier:3, type:"TD", frag:1.96, dmg:472, spot:1.03, def:2.15, win:59.00 }, "somua_sau_40": { title:"Somua SAu 40", nation:"FR", tier:4, type:"TD", frag:1.19, dmg:409, spot:0.59, def:1.14, win:53.90 }, "s_35ca": { title:"S35 CA", nation:"FR", tier:5, type:"TD", frag:1.26, dmg:649, spot:0.82, def:1.26, win:51.59 }, "arl_v39": { title:"ARL V39", nation:"FR", tier:6, type:"TD", frag:0.99, dmg:765, spot:0.68, def:1.13, win:48.76 }, "amx_ac_mle1946": { title:"AMX AC mle. 46", nation:"FR", tier:7, type:"TD", frag:0.95, dmg:1043, spot:0.72, def:0.97, win:51.34 }, "amx_ac_mle1948": { title:"AMX AC mle. 48", nation:"FR", tier:8, type:"TD", frag:1.00, dmg:1359, spot:0.80, def:0.95, win:50.97 }, "amx50_foch": { title:"AMX 50 Foch", nation:"FR", tier:9, type:"TD", frag:1.03, dmg:1674, spot:0.97, def:0.90, win:51.90 }, "amx_50fosh_155": { title:"AMX 50 Foch (155)", nation:"FR", tier:10, type:"TD", frag:1.33, dmg:2296, spot:0.95, def:0.68, win:52.77 }, "renaultbs": { title:"Renault FT 75 BS", nation:"FR", tier:2, type:"SPG", frag:1.44, dmg:278, spot:0.18, def:1.85, win:52.70 }, "lorraine39_l_am": { title:"Lorraine 39L AM", nation:"FR", tier:3, type:"SPG", frag:1.39, dmg:500, spot:0.15, def:2.20, win:54.24 }, "amx_ob_am105": { title:"AMX 105 AM mle. 47", nation:"FR", tier:4, type:"SPG", frag:1.11, dmg:477, spot:0.16, def:1.94, win:51.11 }, "amx_105am": { title:"AMX 13 105 AM mle. 50", nation:"FR", tier:5, type:"SPG", frag:1.39, dmg:710, spot:0.12, def:2.01, win:52.80 }, "_105_lefh18b2": { title:"105 leFH18B2", nation:"FR", tier:5, type:"SPG", prem:1, frag:1.22, dmg:675, spot:0.12, def:2.26, win:51.40 }, "amx_13f3am": { title:"AMX 13 F3 AM", nation:"FR", tier:6, type:"SPG", frag:0.90, dmg:1052, spot:0.11, def:1.56, win:49.39 }, "lorraine155_50": { title:"Lorraine 155 mle. 50", nation:"FR", tier:7, type:"SPG", frag:0.79, dmg:1235, spot:0.10, def:1.02, win:48.87 }, "lorraine155_51": { title:"Lorraine 155 mle. 51", nation:"FR", tier:8, type:"SPG", frag:0.85, dmg:1309, spot:0.09, def:0.72, win:46.67 }, "bat_chatillon155_55": { title:"Bat.-Chatillon 155 55", nation:"FR", tier:9, type:"SPG", frag:1.02, dmg:1576, spot:0.09, def:0.59, win:48.93 }, "bat_chatillon155_58": { title:"Bat.-Chatillon 155 58", nation:"FR", tier:10, type:"SPG", frag:1.02, dmg:1682, spot:0.08, def:0.94, win:50.11 }, "ch06_renault_nc31": { title:"Renault NC-31", nation:"CH", tier:1, type:"LT", frag:2.05, dmg:274, spot:1.51, def:2.10, win:60.00 }, "ch07_vickers_mke_type_bt26": { title:"Vickers Mk. E Type B", nation:"CH", tier:2, type:"LT", frag:1.85, dmg:308, spot:1.72, def:1.83, win:60.49 }, "ch08_type97_chi_ha": { title:"Type 97 Chi-Ha", nation:"CH", tier:3, type:"LT", frag:1.57, dmg:384, spot:1.47, def:1.71, win:59.80 }, "ch09_m5": { title:"M5A1 Stuart", nation:"CH", tier:4, type:"LT", frag:1.08, dmg:377, spot:2.62, def:1.15, win:55.52 }, "ch15_59_16": { title:"59-16", nation:"CH", tier:6, type:"LT", frag:0.63, dmg:415, spot:2.83, def:0.81, win:51.52 }, "ch24_type64": { title:"Type 64", nation:"CH", tier:6, type:"LT", prem:1, frag:0.66, dmg:483, spot:2.75, def:0.75, win:52.33 }, "ch16_wz_131": { title:"WZ-131", nation:"CH", tier:7, type:"LT", frag:0.73, dmg:752, spot:2.59, def:0.81, win:52.48 }, "ch02_type62": { title:"Type 62", nation:"CH", tier:7, type:"LT", prem:1, frag:0.70, dmg:685, spot:2.43, def:0.85, win:52.18 }, "ch17_wz131_1_wz132": { title:"WZ-132", nation:"CH", tier:8, type:"LT", frag:0.68, dmg:804, spot:2.87, def:0.69, win:52.11 }, "ch21_t34": { title:"Type T-34", nation:"CH", tier:5, type:"MT", frag:1.18, dmg:538, spot:1.45, def:1.25, win:53.54 }, "ch20_type58": { title:"Type 58", nation:"CH", tier:6, type:"MT", frag:1.10, dmg:751, spot:1.56, def:1.22, win:52.87 }, "ch04_t34_1": { title:"T-34-1", nation:"CH", tier:7, type:"MT", frag:1.03, dmg:1015, spot:1.58, def:1.04, win:53.58 }, "ch05_t34_2": { title:"T-34-2", nation:"CH", tier:8, type:"MT", frag:0.91, dmg:1115, spot:1.66, def:0.79, win:52.30 }, "ch14_t34_3": { title:"T-34-3", nation:"CH", tier:8, type:"MT", prem:1, frag:0.91, dmg:1115, spot:1.66, def:0.79, win:52.30 }, "ch01_type59": { title:"Type 59", nation:"CH", tier:8, type:"MT", prem:1, frag:0.99, dmg:1132, spot:1.70, def:1.02, win:52.88 }, "ch01_type59_g": { title:"Type 59 Gold", nation:"CH", tier:8, type:"MT", prem:1, frag:0.99, dmg:1132, spot:1.70, def:1.02, win:52.88 }, "ch18_wz-120": { title:"WZ-120", nation:"CH", tier:9, type:"MT", frag:0.99, dmg:1524, spot:1.64, def:0.77, win:53.20 }, "ch19_121": { title:"121", nation:"CH", tier:10, type:"MT", frag:0.95, dmg:1704, spot:1.39, def:0.69, win:51.04 }, "ch10_is2": { title:"IS-2", nation:"CH", tier:7, type:"HT", frag:1.07, dmg:1153, spot:1.11, def:0.86, win:53.10 }, "ch11_110": { title:"110", nation:"CH", tier:8, type:"HT", frag:0.94, dmg:1347, spot:1.17, def:0.87, win:53.26 }, "ch03_111": { title:"WZ-111", nation:"CH", tier:8, type:"HT", prem:1, frag:1.11, dmg:1415, spot:1.11, def:0.91, win:53.28 }, "ch23_112": { title:"112", nation:"CH", tier:8, type:"HT", prem:1, frag:1.11, dmg:1415, spot:1.11, def:0.91, win:53.28 }, "ch12_111_1_2_3": { title:"WZ-111 model 1-4", nation:"CH", tier:9, type:"HT", frag:0.91, dmg:1586, spot:1.34, def:0.54, win:52.66 }, "ch22_113": { title:"113", nation:"CH", tier:10, type:"HT", frag:0.88, dmg:1748, spot:1.23, def:0.66, win:49.50 }, "nc27": { title:"Renault Otsu", nation:"JP", tier:1, type:"LT", frag:2.05, dmg:260, spot:1.38, def:1.76, win:57.88 }, "ha_go": { title:"Type 95 Ha-Go", nation:"JP", tier:2, type:"LT", frag:1.80, dmg:295, spot:2.02, def:2.02, win:58.04 }, "ke_ni": { title:"Type 98 Ke-Ni", nation:"JP", tier:3, type:"LT", frag:1.39, dmg:314, spot:1.95, def:1.64, win:57.44 }, "ke_ni_b": { title:"Type 98 Ke-Ni B", nation:"JP", tier:3, type:"LT", prem:1, frag:1.39, dmg:314, spot:1.95, def:1.64, win:57.44 }, "ke_ho": { title:"Type 2597 Chi-Ha", nation:"JP", tier:4, type:"LT", frag:1.11, dmg:359, spot:2.39, def:1.36, win:56.28 }, "chi_ni": { title:"Type 5 Ke-Ho", nation:"JP", tier:2, type:"MT", frag:1.80, dmg:297, spot:1.23, def:1.67, win:57.37 }, "chi_ha": { title:"Chi-Ni", nation:"JP", tier:3, type:"MT", frag:1.45, dmg:334, spot:1.26, def:1.41, win:56.52 }, "chi_he": { title:"Type 1 Chi-He", nation:"JP", tier:4, type:"MT", frag:1.27, dmg:429, spot:1.38, def:1.31, win:55.34 }, "chi_nu": { title:"Type 3 Chi-Nu", nation:"JP", tier:5, type:"MT", frag:1.15, dmg:530, spot:1.41, def:1.19, win:54.27 }, "chi_nu_kai": { title:"Type 3 Chi-Nu Kai", nation:"JP", tier:5, type:"MT", prem:1, frag:1.15, dmg:530, spot:1.41, def:1.19, win:54.27 }, "chi_to": { title:"Type 4 Chi-To", nation:"JP", tier:6, type:"MT", frag:1.08, dmg:755, spot:1.44, def:1.21, win:53.18 }, "chi_ri": { title:"Type 5 Chi-Ri", nation:"JP", tier:7, type:"MT", frag:0.95, dmg:898, spot:1.52, def:1.12, win:53.05 }, "sta_1": { title:"STA-1", nation:"JP", tier:8, type:"MT", frag:0.95, dmg:1186, spot:1.41, def:1.09, win:53.04 }, "type_61": { title:"Type 61", nation:"JP", tier:9, type:"MT", frag:0.99, dmg:1524, spot:1.64, def:0.77, win:53.20 }, "st_b1": { title:"STB-1", nation:"JP", tier:10, type:"MT", frag:0.93, dmg:1736, spot:1.46, def:0.82, win:47.28 } }; vehAmount = vehTierTotal = vehBattlesTotal = 0, premBattlesTotal = premWinsTotal = premBadgesTotal = 0, tenBattlesTotal = tenWinsTotal = tenBadgesTotal = 0, vehExpFrag = vehExpDmg = vehExpSpot = vehExpDef = vehExpWin = 0; vehTiersObj = {1:{b:0,c:0},2:{b:0,c:0},3:{b:0,c:0},4:{b:0,c:0},5:{b:0,c:0},6:{b:0,c:0},7:{b:0,c:0},8:{b:0,c:0},9:{b:0,c:0},10:{b:0,c:0}}; vehBadgesObj = {0:{c:0,p:0},1:{c:0,p:0},2:{c:0,p:0},3:{c:0,p:0},4:{c:0,p:0},5:{c:0,p:0}}; premArr = []; tenArr = []; vehListObj = {}; // total mastery badge and colouring tank table category rows var typeRow_class = document.getElementsByClassName('t-profile_tankstype js-table-dropdown-link'); for (var i=0; i 2) { premBadgesTotal += 1; } } // get info for tier 10 table if (vehTier == 10) { tenBattlesTotal += filter(vehRow_class[i].cells[1].innerHTML,1); tenWinsTotal += filter(vehRow_class[i].cells[2].innerHTML.match(/[\d.,\s]+\s-/)[0],1); tenArr.push([vehRow_class[i].cloneNode(true), vehRowStats_class[i].cloneNode(true)]); if (vehRow_class[i].cells[3].innerHTML.length > 2) { tenBadgesTotal += 1; } } // summarize player vehicles into dedicated array for console vehListObj[vehStatArr.title] = { "infoNation": vehStatArr.nation, "infoTier": vehStatArr.tier, "infoType": vehStatArr.type, "infoBattles": vehBattles, "infoBattlesWins": parseFloat(typeWins.toFixed(0)), "infoVehBadge": vehBadge, "statExpected": {frag: vehStatArr.frag, dmg: vehStatArr.dmg, spot: vehStatArr.spot, def: vehStatArr.def, win: vehStatArr.win} } } else { console.log(vehImgName[1]+" doesn't exist in statArr"); } } // finding statistic tables var mb_table = document.getElementsByClassName('b-result-classes')[0].getElementsByClassName('t-dotted')[0]; or_table = document.getElementsByClassName('b-result')[0].getElementsByClassName('t-dotted')[0]; bp_table = document.getElementsByClassName('b-result')[1].getElementsByClassName('t-dotted')[0]; sm_ratio = document.getElementsByClassName('b-speedometer-ratio'); // fetching info and calculate draws var battles = filter(or_table.rows[0].cells[1].innerHTML,1), wins = filter(or_table.rows[1].cells[1].innerHTML.match(/([\d.,\s| ]+\d+)\s/)[1],1), losses = filter(or_table.rows[2].cells[1].innerHTML.match(/([\d.,\s| ]+\d+)\s/)[1],1), survive = filter(or_table.rows[3].cells[1].innerHTML.match(/([\d.,\s| ]+\d+)\s/)[1],1), exp = filter(or_table.rows[4].cells[1].innerHTML,1), avgExp = filter(or_table.rows[5].cells[1].innerHTML,1), maxExp = filter(or_table.rows[6].cells[1].innerHTML,1), frags = filter(bp_table.rows[0].cells[1].innerHTML,1), spotted = filter(bp_table.rows[1].cells[1].innerHTML,1), hitRate = filter(bp_table.rows[2].cells[1].innerHTML,1), dmgDlt = filter(bp_table.rows[3].cells[1].innerHTML,1), caps = filter(bp_table.rows[5].cells[1].innerHTML,1), defs = filter(bp_table.rows[6].cells[1].innerHTML,1), deaths = filter(sm_ratio[0].innerHTML.match(/\/(.+)$/)[1],1), dmgRec = filter(sm_ratio[1].innerHTML.match(/\/(.+)$/)[1],1), draws = battles-(wins+losses); // calculate averages and rates var avgBat = battles/daysPassed, avgWin = wins/battles, avgWinPct = avgWin*100, avgLoss = losses/battles, avgLossPct = avgLoss*100, avgDraws = draws/battles, avgDrawsPct = avgDraws*100, avgSurv = survive/battles, avgSurvPct = avgSurv*100, avgFrags = frags/battles, avgDeaths = deaths/battles, avgSpots = spotted/battles, avgDmg = dmgDlt/battles, avgDmgRec = dmgRec/battles, avgCap = caps/battles, avgDef = defs/battles, avgTier = vehTierTotal/vehBattlesTotal; winlossRate = wins/losses; // colourize stats var avgWinrate = colStat(avgWinPct, "winrate", 2, "pct", "" ), avgLossrate = colStat(avgLossPct, "winrate", 2, "pct", avgDraws ), avgSurvrate = colStat(avgSurvPct, "survrate", 2, "pct", "" ), avgHitrate = colStat(hitRate, "hitrate", 0, "pct", "" ), colBattles = colStat(battles, "battles", 0, "", "" ), avgDrawrate = colStat(avgDrawsPct, "", 2, "pct", "" ); // Finalize WN8 - e = expected, w = weighted, n = normalized // all steps are stored in variables for console insertion var eFrag = vehExpFrag/vehBattlesTotal, eDmg = vehExpDmg /vehBattlesTotal, eSpot = vehExpSpot/vehBattlesTotal, eDef = vehExpDef /vehBattlesTotal, eWin = vehExpWin /vehBattlesTotal, wFrag = avgFrags/eFrag, wDmg = avgDmg/eDmg, wSpot = avgSpots/eSpot, wDef = avgDef/eDef, wWin = avgWinPct/eWin, nWin = Math.max( (wWin - 0.71) / (1 - 0.71) ,0), nDmg = Math.max( (wDmg - 0.22) / (1 - 0.22) ,0), nFrag = Math.max(Math.min(nDmg+0.2,(wFrag - 0.12) / (1 - 0.12)),0), nSpot = Math.max(Math.min(nDmg+0.1,(wSpot - 0.38) / (1 - 0.38)),0), nDef = Math.max(Math.min(nDmg+0.1,(wDef - 0.10) / (1 - 0.10)),0); // calculate ratings // WN8 var wn8 = (function() { var frag = 210*nDmg*nFrag, dmg = 980*nDmg, spot = 155*nFrag*nSpot, def = 75*nDef*nFrag, win = 145*Math.min(1.8,nWin), rating = frag+dmg+spot+def+win; if (rating>=2900) { pct = scale = 100; } else { pct = (rating/2900)*100; scale = Math.max(Math.min(rating*(rating*(rating*(rating*(rating*(0.00000000000000000007119*rating+0.0000000000000002334)-0.000000000006963)+0.00000002845)-0.00004558)+0.06565)-0.18,100),0); } return { frag: frag, dmg: dmg, spot: spot, def: def, win: win, rating: rating, pct: pct, scale: scale, ratingCol: colStat(rating,"wn8",2), scaleCol: colStat(scale,"scale_wn8",2) }; })(); // WN7 - Legacy Support var wn7 = (function() { var frag = avgFrags*(1240-1040/(Math.pow(Math.min(avgTier,6),0.164))), dmg = avgDmg*530/(184*Math.exp(0.24*avgTier)+130), spot = avgSpots*125*Math.min(avgTier,3)/3, def = Math.min(2.2,avgDef)*100, win = (((185/(0.17+Math.exp((avgWinPct-35)*-0.134)))-500)*0.45), norm = -Math.abs((((5-Math.min(avgTier,5))*125)/(1+Math.exp(avgTier-Math.pow(battles/220,3/avgTier))*1.5))), rating = frag+dmg+spot+def+win+norm; if (rating>=2050) { pct = scale = 100; } else { pct = (rating/2050)*100; scale = Math.max(Math.min(rating*(rating*(rating*(-0.0000000000083*rating+0.0000000287)-0.000024)+0.049)-2.7,100),0); } return { frag: frag, dmg: dmg, spot: spot, def: def, win: win, norm: norm, rating: rating, pct: pct, scale: scale, ratingCol: colStat(rating,"wn7",2), scaleCol: colStat(scale,"scale_wn7",2) }; })(); // efficiency - improved var eff = (function() { var frag = avgFrags*250, dmg = avgDmg*(10/(avgTier+2))*(0.23+2*avgTier/100), spot = avgSpots*150, cap = (Math.log(avgCap+1)/Math.log(1.732))*150, def = avgDef*150, rating = frag+dmg+spot+cap+def; if (rating>=2050) { pct = scale = 100; } else { pct = (rating/2050)*100; scale = Math.max(Math.min(rating*(rating*(rating*(rating*(rating*(0.000000000000000045254*rating-0.00000000000033131)+0.00000000094164)-0.0000013227)+0.00095664)-0.2598)+13.23,100),0);; } return { frag: frag, dmg: dmg, spot: spot, cap: cap, def: def, rating: rating, pct: pct, scale: scale, ratingCol: colStat(rating,"eff",2), scaleCol: colStat(scale,"scale_eff",2) }; })(); // end formula calculations and variables // check for missing battles and notify colVehBattlesTotal = " "; if (vehBattlesTotal != battles) { profileError_div.innerHTML = locale.p69.lang; profileError_div.style.display="inline-block"; colVehBattlesTotal = "API: "+filter(vehBattlesTotal,2)+""; } // personal data - modify data var pTable_class = document.getElementsByClassName('t-personal-data')[0]; pTable_class.rows[0].cells[0].innerHTML = locale.p09.lang; pTable_class.rows[1].cells[0].innerHTML = avgWinrate; pTable_class.rows[0].cells[1].innerHTML = locale.p10.lang; pTable_class.rows[1].cells[1].innerHTML = colBattles; pT_avgxp_name = document.createElement('th'); pT_avgxp_name.className = "t-personal-data_ico t-personal-data_ico__exp"; pT_avgxp_name.innerHTML = locale.p11.lang; pTable_class.rows[0].cells[1].parentNode.insertBefore(pT_avgxp_name, pTable_class.rows[0].cells[1].nextSibling); pT_avgxp_value = document.createElement('td'); pT_avgxp_value.className = "t-personal-data_value"; pT_avgxp_value.innerHTML = filter(avgExp,2); pTable_class.rows[1].cells[1].parentNode.insertBefore(pT_avgxp_value, pTable_class.rows[1].cells[1].nextSibling); pTable_class.rows[0].cells[4].innerHTML = locale.p70.lang; pTable_class.rows[0].cells[4].className = "t-personal-data_ico t-personal-data_ico__hitrate"; pTable_class.rows[1].cells[3].innerHTML = avgHitrate; pTable_class.rows[0].cells[5].innerHTML = locale.p71.lang; pT_avgtier_name = document.createElement('th'); pT_avgtier_name.className = "t-personal-data_ico t-personal-data_ico__tier"; pT_avgtier_name.innerHTML = locale.p12.lang; pTable_class.rows[0].appendChild(pT_avgtier_name); pT_avgtier_value = document.createElement('td'); pT_avgtier_value.className = "t-personal-data_value"; pT_avgtier_value.innerHTML = avgTier.toFixed(2); pTable_class.rows[1].appendChild(pT_avgtier_value); // speedometer - win/loss ratio var sm_body_class = document.getElementsByClassName('b-speedometer-body')[0]; sm_winrate_div = document.createElement('div'); sm_winrate_div.className = "b-speedometer"; sm_winrate_arrow = Math.min(30*(winlossRate-1),31).toFixed(4); sm_winrate_div.innerHTML = "

"+locale.p13.lang+"

"+winlossRate.toFixed(2)+"

"+filter(wins,3)+" / "+filter(losses,3)+"

"; sm_body_class.appendChild(sm_winrate_div); // performance ratings wrapper var ratings_div = document.createElement('div'); ratings_div.className = "b-ratings-wrpr", ub_class = document.getElementsByClassName('b-userblock-wrpr')[0]; ub_class.parentNode.insertBefore(ratings_div, ub_class.nextSibling); ratingsHeader_div = document.createElement('div'); ratingsHeader_div.className = "b-head-block", ratingsHeader_div.innerHTML += "

"+locale.p14.lang+"

"; ratings_div.appendChild(ratingsHeader_div); ratingsInfo_div = document.createElement('div'); ratingsInfo_div.className = "b-ratings-info", ratings_div.appendChild(ratingsInfo_div); ratingsInfo_table = document.createElement('table'); ratingsInfo_table.className = "t-ratings-info", ratingsInfo_div.appendChild(ratingsInfo_table); // inserting performance ratings ratingsInfo_table.innerHTML = ""+locale.p15.lang+""+locale.p30.lang+""+locale.p16.lang+""+locale.p17.lang+""+wn8.ratingCol+""+wn7.ratingCol+""+eff.ratingCol+""+locale.p18.lang+""; // create and populate performance ratings calcs table var rTable_div = document.createElement('div'); rTable_div.className = "ratings-table"; ratings_div.appendChild(rTable_div); rTable_div.innerHTML = "

"+locale.p19.lang+"

"; rTable = document.createElement('table'); rTable.className = "t-table-ratings"; rTable_div.appendChild(rTable); rTHead = document.createElement('thead'); rTHead.innerHTML = ""+locale.p20.lang+""+locale.p21.lang+""+locale.p22.lang+""+locale.p23.lang+""+locale.p24.lang+""+locale.p25.lang+""+locale.p26.lang+""+locale.p27.lang+""+locale.p28.lang+""; rTable.appendChild(rTHead); rTBody = document.createElement('tbody'); rTable.appendChild(rTBody); ratingsArr = [ // Formula RatingPct Localized Total ScaleColored Frag Dmg Spot Cap Def Win ["wn8", wn8.pct, locale.p29.lang, wn8.ratingCol, wn8.scaleCol, wn8.frag.toFixed(2), wn8.dmg.toFixed(2), wn8.spot.toFixed(2), "–", wn8.def.toFixed(2), wn8.win.toFixed(2) ], ["wn7", wn7.pct, locale.p30.lang, wn7.ratingCol, wn7.scaleCol, wn7.frag.toFixed(2), wn7.dmg.toFixed(2), wn7.spot.toFixed(2), "–", wn7.def.toFixed(2), wn7.win.toFixed(2) ], ["eff", eff.pct, locale.p31.lang, eff.ratingCol, eff.scaleCol, eff.frag.toFixed(2), eff.dmg.toFixed(2), eff.spot.toFixed(2), eff.cap.toFixed(2), eff.def.toFixed(2), "–" ] ]; for (i=0; i
"; rTBody.appendChild(rmRow); } // link to WN thread ratings_div.innerHTML += ""; // end performance ratings wrapper // statistics wrapper var statistics_div = document.getElementsByClassName('b-result-classes')[0].parentNode; statistics_div.className = "b-statistics-wrpr"; ratings_div.parentNode.insertBefore(statistics_div, ratings_div.nextSibling); // remove the old tables ( overall results and battle performance ) mb_table.innerHTML = ""; or_table.innerHTML = ""; bp_table.innerHTML = ""; // populating the tables var mb_table_cn = mb_table.firstElementChild, or_table_cn = or_table.firstElementChild, bp_table_cn = bp_table.firstElementChild; insertNewTr(mb_table_cn, "", locale.p33.lang, vehBadgesObj[4].c+"("+vehBadgesObj[4].p+"%)"), insertNewTr(mb_table_cn, "", locale.p34.lang, vehBadgesObj[3].c+"("+vehBadgesObj[3].p+"%)"), insertNewTr(mb_table_cn, "", locale.p35.lang, vehBadgesObj[2].c+"("+vehBadgesObj[2].p+"%)"), insertNewTr(mb_table_cn, "", locale.p36.lang, vehBadgesObj[1].c+"("+vehBadgesObj[1].p+"%)"), insertNewTr(mb_table_cn, "", locale.p37.lang, vehBadgesObj[0].c+"("+vehBadgesObj[0].p+"%)"), insertNewTr(mb_table_cn, "", locale.p38.lang, vehBadgesObj[5].c+"("+vehBadgesObj[5].p+"%)"), insertNewTr(or_table_cn, locale.p39.lang, filter(battles,2), colVehBattlesTotal ), insertNewTr(or_table_cn, locale.p40.lang, filter(wins,2), "("+avgWinrate+")" ), insertNewTr(or_table_cn, locale.p41.lang, filter(losses,2), "("+avgLossrate+")" ), insertNewTr(or_table_cn, locale.p42.lang, filter(draws,2), "("+avgDrawrate+")" ), insertNewTr(or_table_cn, locale.p43.lang, filter(survive,2), "("+avgSurvrate+")" ), insertNewTr(or_table_cn, locale.p44.lang, "", avgBat.toFixed(2) ), insertNewTr(or_table_cn, locale.p45.lang, "", filter(exp,2) ), insertNewTr(or_table_cn, locale.p46.lang, "", filter(avgExp,2) ), insertNewTr(or_table_cn, locale.p47.lang, "", filter(maxExp,2) ), insertNewTr(bp_table_cn, locale.p48.lang, filter(frags,2), avgFrags.toFixed(2) ), insertNewTr(bp_table_cn, locale.p49.lang, filter(deaths,2), avgDeaths.toFixed(2)), insertNewTr(bp_table_cn, locale.p50.lang, filter(spotted,2), avgSpots.toFixed(2) ), insertNewTr(bp_table_cn, locale.p51.lang, "", avgHitrate ), insertNewTr(bp_table_cn, locale.p52.lang, filter(dmgDlt,2), avgDmg.toFixed(2) ), insertNewTr(bp_table_cn, locale.p53.lang, filter(dmgRec,2), avgDmgRec.toFixed(2)), insertNewTr(bp_table_cn, locale.p54.lang, filter(caps,2), avgCap.toFixed(2) ), insertNewTr(bp_table_cn, locale.p55.lang, filter(defs,2), avgDef.toFixed(2) ), insertNewTr(bp_table_cn, locale.p56.lang, "", avgTier.toFixed(2) ); // cake diagrams - adding tier diagram var diagramsSector_class = document.getElementsByClassName('b-diagrams-sector')[0]; diagramsTier_div = document.createElement('div'), diagramsTier_div.className = "b-diagram-block b-diagram-tiers js-diagram-block"; diagramsTier_div.innerHTML = "

"+locale.p57.lang+"

"+vehAmount+"
"; diagramsSector_class.firstElementChild.parentNode.insertBefore(diagramsTier_div, diagramsSector_class.firstElementChild.nextSibling); diagramsTier_table = document.createElement('table'), diagramsTier_table.className = "t-dotted t-dotted__diagram js-diagram-mechanism-legend"; diagramsTier_table.innerHTML = ""; diagramsTier_div.appendChild(diagramsTier_table); diagramsTier_td = 0; diagramsTierColorArr = ["496877","2b591f","831818","303766","814f07","1A775F","B0D23A","763D46","936C19","471952"]; for (var i in vehTiersObj) { diagramsTierColor = diagramsTierColorArr[diagramsTier_td]; diagramsTier_td += 1; if (vehTiersObj[i].c !== 0) { battleRate = (vehTiersObj[i].b/battles*100).toFixed(2); tierRate = (vehTiersObj[i].c/vehAmount*100).toFixed(2); diagramsTier_table.firstElementChild.innerHTML += ""+filter(vehTiersObj[i].b,3)+"("+battleRate+"%)"+vehTiersObj[i].c+"("+tierRate+"%)"+locale.p58.lang+" "+diagramsTier_td+"#"+diagramsTierColor+""; } } diagramsSector_class.firstElementChild.innerHTML += "

"+locale.p59.lang+" "+vehAmount+"

"; // fix for cake diagram in chrome if (chrome) { $('.js-diagram-block').each(function() { var items = [], values = [], labels = [], colors = [], results = [], legend, result, holder; holder = $('.b-diagram', this).attr('id'); $('.js-diagram-mechanism-legend tr', this).each(function () { items.push($(this)); values.push(parseInt($('.js-value', this).text(), 10)); labels.push($('.js-label', this).text()); colors.push($('.js-colors', this).text()); results.push($('.js-results', this).text()); legend = $('.js-diagram-mechanism-legend'); result = $('#' + holder).next().find('.js-result'); }); Raphael(holder, 630, 630).pieChart(65, 65.5, 53.5, items, values, colors, results, legend, result); }); } // achievements wrapper var medal_div = document.createElement('div'); medal_div.className = "b-achievements-wrpr"; medalHeader_div = document.createElement('div'); medalHeader_div.className = "b-head-block"; medalHeader_class = document.getElementsByClassName('js-achievements-header')[0]; medalHeader_div.appendChild(medalHeader_class); medal_div.appendChild(medalHeader_div); medalClassArr = ["js-achievements-header","b-profile-item-empty","js-achivements-showhide","js-short-achievements","js-full-achievements"]; for (i=1; i"+locale.p61.lang+""; vehicles_div.appendChild(vehiclesHeader_div); vehTable_class.parentNode.insertBefore(vehicles_div, vehTable_class); vehicles_div.appendChild(vehTable_class); // add a premium tanks table to the vehicle table if (premArr.length === 0) { premHBody = document.createElement('tbody'); premHBody.innerHTML = ""+locale.p62.lang+" –––"; vehTable_class.appendChild(premHBody); } else { premHBody = document.createElement('tbody'); premHBody.className = "tablesorter-no-sort"; premHBody.innerHTML = ""+locale.p62.lang+" "+premArr.length+""+filter(premBattlesTotal,3)+""+filter(premWinsTotal,3)+" - "+colStat((premWinsTotal/premBattlesTotal)*100, "winrate", 0, "pct")+""+premBadgesTotal+""; vehTable_class.appendChild(premHBody); premTBody = document.createElement('tbody'); premTBody.className = "sortable"; premTBody.style.display="none"; vehTable_class.appendChild(premTBody); for (i=0; i–––"; vehTable_class.appendChild(tenHBody); } else { tenHBody = document.createElement('tbody'); tenHBody.className = "tablesorter-no-sort"; tenHBody.innerHTML = ""+locale.p68.lang+" "+tenArr.length+""+filter(tenBattlesTotal,3)+""+filter(tenWinsTotal,3)+" - "+colStat((tenWinsTotal/tenBattlesTotal)*100, "winrate", 0, "pct")+""+tenBadgesTotal+""; vehTable_class.appendChild(tenHBody); tenTBody = document.createElement('tbody'); tenTBody.className = "sortable"; tenTBody.style.display="none"; vehTable_class.appendChild(tenTBody); for (i=0; i
"+locale.p63.lang+"
"; // noobmeter retrieval if (nm_srv !== null) { // retrieve and process info var nmapi_url = nm_host+"/simpleplayerprapi/"+nm_srv+"/"+nick+"/"+userid+"/"+sid; gRecProps = [ { url: nmapi_url, handler: nmHnd, onerror: nmHnd_error, nav: true } ]; // delayed insertion for (i=0; i"; } // end speed_table_battles } // end wg_accounts // matches url with clan page else if (wg_clans !== null) { // style variables var box_background = "background: url('/static/3.13.0.2.1/common/css/scss/layout/img/ui-bg-top.jpg'); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 0 38px 1px rgba(0, 0, 0, 0.3) inset, 0 0 23px 1px rgba(255, 255, 255, 0.02), 0 0 5px 1px rgba(0, 0, 0, 0.5) inset;"; input_background = "background: rgba(0, 0, 0, 0.09); border: 1px solid #000000; box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.15) inset, 0 0 38px 1px rgba(0, 0, 0, 0.3) inset, 0 0 23px 1px rgba(255, 255, 255, 0.02), 0 0 5px 1px rgba(0, 0, 0, 0.5) inset; color: #606061;"; // style contents var style = document.createElement('style'); style.className = "wotstatscript"; style.type ="text/css"; style.innerHTML // global rules = "p {margin: 0;}" // l-page fix page slowdown + ".l-page {background-position: center 0 !important;}" // l-content width + ".l-content-indent, .reg-RUS .l-content-indent, .reg-KR .l-content-indent {padding: 0;}" + ".l-content {margin: 0 22px 25px; width: 955px;}" // b-clan-wrapper + ".b-clan-wrapper {overflow: auto;}" // b-clan-header rules + ".b-background-clan-profile {left: -22px; top: 0;}" + ".b-background-clan-profile, .b-background-clan-profile img {height: auto; margin-bottom: -2px; width: 1000px;}" + ".b-clan-header {width: 745px;}" + ".b-scriptlink {"+input_background+" position: absolute; right: 0px; text-align: center; top: -1px; padding: 7px 0 6px; width: 199px;}" + ".reg-KR .b-scriptlink {line-height: 133%;}" + ".b-clan-profile {padding: 15px 0 0;}" + ".b-clan-profile .b-wrap {padding: 0;}" + ".b-clan-victory-points {margin: 0; width: auto;}" + ".b-text-info {margin: 0;}" + ".b-clan-profile h2 {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}" + ".b-text-info_motto {font-size: 16px; margin: 0;}" // b-clan-desc rules + ".b-clan-desc {float: left; margin: 15px 0 0; min-height: 370px; width: 745px;}" // b-clan-stat rules + ".b-clan-stat {border-top: 1px solid #010101; box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.05) inset; padding: 5px 0 5px;}" + ".b-clan-stat li {padding: 1px 3px 1px 19px;}" + ".b-clan-stat li.b-clan-stat-header {background: url('/static/3.13.0.2.1/common/css/scss/context-menu/img/active-point.png') repeat-y; font-weight: bold; margin: 5px 2px 0; padding: 2px 3px 2px 19px;}" // b-clan-buttons rules + ".l-content > form {height: 100%; position: fixed; top: 0;}" + ".b-clan-buttons {bottom: 0; padding: 10px 0; position: absolute; text-align: center; width: 953px;}" + ".b-clan-buttons {"+box_background+"}" + ".b-clan-buttons .b-button {margin-bottom: 0;}" // sidebar rules + ".l-sidebar {margin: 0; position: absolute; right: 0; top: 25px; width: auto;}" + ".b-context-menu {background: url("+uri_context_menu+") repeat-y; border-right: 1px solid black; margin: 0; width: 200px;}" + ".b-context-menu_wrapper {padding: 10px 0 0;}" + ".b-context-menu_btn {margin: 10px 0 0;}" + ".b-sidebar-widget {margin: 0; position: absolute; right: -228px; top: -26px; width: 203px;}" + ".b-sidebar-widget h2 { color: #FFFFFF; font: 18px/22px 'WarHeliosCondCBold','Arial Narrow',arial,sans-serif; margin: 0 0 11px; text-transform: uppercase;}" // footer rules + ".b-footer, .reg-RUS .b-footer {height: 285px; margin: 0 auto; position: static;}" + ".reg-KR .b-footer {background-size: 100% 100%; height: 360px; margin-top: -2px;}" + ""; document.head.appendChild(style); // end style // clan wrapper var clanWrpr_div = document.createElement('div'); clanWrpr_div.className = "b-clan-wrapper", background_class = document.getElementsByClassName('b-background-clan-profile')[0]; background_class.parentNode.insertBefore(clanWrpr_div, background_class.nextSibling); clanHead_div = document.createElement('div'); clanHead_div.className = "b-clan-header", clanHead_div.innerHTML += scriptlink; infoWrapper_class = document.getElementsByClassName('b-wrap')[0]; clanHead_div.appendChild(infoWrapper_class); clanWrpr_div.appendChild(clanHead_div); // clan description clanDesc_div = document.getElementsByClassName('b-clan-profile')[0].children[2]; clanDesc_div.className = "b-clan-desc"; clanWrpr_div.appendChild(clanDesc_div); // move sidebar var sidebar_class = document.getElementsByClassName('l-sidebar')[0]; clanWrpr_div.appendChild(sidebar_class); // clan statistic links var clan_id = document.location.href.match(/\/(\d+)/)[1]; clan_name = document.location.href.match(/\-([\w.+\-]+)/)[1]; sidebar_class = document.getElementsByClassName('b-context-menu_wrapper')[0]; clanStat_div = document.createElement('ul'); clanStat_div.className = "b-context-menu-list b-clan-stat", wl_clan = nm_clan = mws_clan = wotcs_clan = replays = ""; if (wl_srv !== null) { wl_clan = "
  • WoTLabs
  • "; } if (nm_srv !== null) { nm_clan = "
  • Noobmeter
  • "; wotcs_clan = "
  • WoT-CS
  • "; } if (mws_srv !== null) { mws_clan = "
  • MyWOTStats
  • "; } if (wr_srv !== null) { replays = "
  • WoTReplays
  • "; } clanStat = wl_clan+nm_clan+mws_clan+wotcs_clan+replays; clanStat_div.innerHTML = "
  • "+locale.c01.lang+"
  • "+clanStat; sidebar_class.appendChild(clanStat_div); } // end wg_clans // helper functions // filter function filter(input, type) { var inputStr = input.toString(); switch(type) { case (1): output = parseFloat(inputStr.replace(/[^\d]/g,"")); if (isNaN(output)) {return 0;} else {return output;} // string into integer case (2): return inputStr.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1 "); // output with spaces case (3): return inputStr.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"); // output with commas case (4): return inputStr.replace(/[^\w]/g,""); // remove all symbols default: console.log("error filtering: ", input); return input; } } // colouring function colStat(input, type, dec, set, ext) { color = ""; output = input.toFixed(dec); if (type == "battles") { output = filter(input,2); } if (set == "pct") { output += "%"; } if (ext || ext == "0") { input = 100-(input+(ext*100)); } if (type !== "") { for (var i=0; i= colStatArr[i][type]) { var color = colStatArr[i].color; break; } } } if (type == "wn8") { background_div.style.background = "#"+color; } return ""+output+""; } // quick insertion of row into tables function insertNewTr(table_parent, text_td, val_td, val2_td) { var trNew = document.createElement('tr'); var tdNew_text = document.createElement('td'); tdNew_text.innerHTML = text_td; tdNew_text.className = "t-dotted_minor"; var tdNew_value = document.createElement('td'); tdNew_value.innerHTML = val_td; tdNew_value.className = "t-dotted_value"; table_parent.appendChild(trNew); trNew.appendChild(tdNew_text); trNew.appendChild(tdNew_value); if (table_parent == mb_table_cn) { tdNew_text.className = "t-dotted_class-ico t-dotted_minor__middle"; tdNew_value.className = "t-dotted_minor t-dotted_minor__middle"; } if (val2_td !== "") { var tdNew_value2 = document.createElement('td'); tdNew_value2.innerHTML = val2_td; tdNew_value2.className = "t-dotted_value"; if (table_parent == mb_table_cn) { tdNew_value2.className = "t-dotted_value t-dotted_minor__middle"; } trNew.appendChild(tdNew_value2); } return trNew; } // end helper functions // clan handler function clanHnd() { var cc_class = document.getElementById('js-clan-block-container'); cc_classCheckSeq = 0; cc_classChecker = setInterval(function() { cc_classCheckSeq += 1; ci_class = document.getElementById('js-profile-clan'); ct_class = document.getElementById('js-profile-clan-table'); vp_class = document.getElementsByClassName('b-victory-points')[0]; pn_class = document.getElementsByClassName('js-profile-name')[0]; if (ci_class !== null && ct_class == null) { // clan info cl_class = ci_class.getElementsByTagName('a')[1]; clan_id = cl_class.getAttribute('href').match(/\/(\d+)/)[1]; clan_name = cl_class.getElementsByTagName('span')[0].innerHTML.match(/[\w.+\-]+/)[0]; // move victory points if (vp_class) { pn_class.appendChild(vp_class); vp_class.style.display="inline-block"; } // clan statistic links wl_clan = nm_clan = wn_clan = mws_clan = wotcs_clan = replays = ""; if (wl_srv !== null) { wl_clan = "WoTLabs"; } if (nm_srv !== null) { nm_clan = "Noobmeter"; wotcs_clan = "WoT-CS"; } if (wn_srv !== null) { wn_clan = "Wot-news"; } if (mws_srv !== null) { mws_clan = "MyWOTStats"; } if (wr_srv !== null) { replays = ""+locale.p67.lang+"WoTReplays"; } clanstat = ""+locale.p66.lang+""+wl_clan+nm_clan+wn_clan+""+mws_clan+wotcs_clan+""+replays+""; cc_class.innerHTML += ""+clanstat+"
    "; profileName_class.parentNode.insertBefore(cc_class, profileName_class.nextSibling); clearInterval(cc_classChecker); } else if (cc_classCheckSeq == 5 || ct_class !== null) { clearInterval(cc_classChecker); } }, 2500); } // noobmeter handler function nmHnd(response) { if (response.statusText == "OK") { var nmpr = parseFloat(response.responseText); if (isNaN(nmpr)) { var nm_fmt = "No Rating"; } else { var nm_fmt = colStat(nmpr,"nm",2); } nmHnd_insert(nm_fmt, nmpr); } else { nmHnd_error(); } } function nmHnd_error() { nmHnd_insert("No Rating"); console.log("error retrieving NoobMeter data"); return null; } function nmHnd_insert(nm_fmt, nmpr) { ratingsInfo_div = document.getElementsByClassName('js-noobmeter')[1]; ratingsClip_div = document.getElementsByClassName('js-noobmeter')[0]; ratingsInfo_div.innerHTML = nm_fmt; ratingsClip_div.innerHTML += " NM: "+nmpr.toFixed(2); } // end noobmeter handler // retrieval function function gRec(doc) { var resp; GM_xmlhttpRequest({ method: "GET", url: doc.url, headers: { "Accept": "text/xml" }, onload: function(resp) { if (resp.readyState == 4) { if (resp.status == 200) { doc.handler(resp); } } }, onerror: function() { doc.onerror(); } }); } // global functions inserted into head // clipboard helper function copyClipboard() { text = document.getElementsByClassName('ratingsClip-holder')[0].innerHTML; locale = document.getElementsByClassName('ratingsClip-holder')[1].innerHTML; window.prompt(locale, text); } // end global functions // end script