
// Сессионная статистика
// Session statistic
"sessionStatistic": {
	
	// Сообщение на случай отсутствия проведенных боев за сессию.
	// Message in case of absence spent battles for session.
	"noBattles": {
		
		// Иконка сообщения, путь к изображению.
		// Message icon, path to an image.
		"icon": "",
		
		// Подложка сообщения, путь к изображению.
		// Message background, path to an image.
		"background": "{{config}}skins/armagomen/images/head.png",
		
		// Заготовка сообщения. Поддержка только двух макросов (PlayerName, CurrentVersion). Нет поддержки цветов. Нет поддержки пользовательских макросов.
		// Message text. Supports only two macros (PlayerName, CurrentVersion). No color support. No support for custom macros.
		"message": "<p align='center'>\n<font size='18' color='#FFFF00'><b>Sessional statistics PMOD </b></font>\nSkin - <font size='16' color='#FFFFFF'>Armagomen - changed by RaidenSLO \n at 28.02.2017</font>\nPMOD ver. - <font size='16' color='#FFFFFF'>{{CurrentVersion}}</font>\n\nUpdates on site:\n raidenslo.wordpress.com \n\nHi <font color='#FFFF00'>{{PlayerName}}</font>,to reflect the changes you need to spend at least one fight!</p>"
	},
	
	"pages": [
		
		{
			
			// Идентификатор страницы
			// Page identificator
			"pageName": "overalStatistic",
			
			// Набор макросов
			// Macroses List 
			"macroses": "overal",
			
			// Подложка сообщения
			// Message background.
			"messageBackground": {
				
				// true - Использовать подложку
				// true - Use a substrate
				"enable": true,
				
				// Путь к изображению с поддержкой макросов (сыгран хотя бы один бой)
				// Path to an image with support for macros (played at least one fight)
				"path": "{{config}}skins/armagomen/images/head.png"
			},
			
			// Иконка сообщения.
			// Message icon.
			"messageIcon": {

				// true - Использовать иконку
				// true - Use a icon
				"enable" : true, 
				
				// Путь к изображению с поддержкой макросов (сыгран хотя бы один бой)
				// Path to an image with support for macros (played at least one fight)
				"path": "../maps/icons/library/PersonalAchievementsIcon-1.png"
			},
			
			// Отображаемые кнопки
			// Display button
			"buttons" : [
			
			
				{
					// true - Отображать кнопку
					// true - Display button
					"enable": true,
					
					// Надпись на кнопке
					// Button text
					"label": "!!! RESET !!!",
					
					// Цвет кнопки
					// standart - стандартный, black - чёрный
					// Button color
					// standart, black
					"type": "black",
					
					// Действие кнопки
					// Button action
					"action": "resetStatistic",
					
					// Ширина кнопки
					// Button width
					"width": 200
				}
			
			],
			
			// Основная обёртка сообщения
			// General message wrapp
			"templateWrapper": "<font size='14' color='#C0C0C0'>{{items}}</font>",
			
			// Заготовка сообщения. Список макросов смотрите в файле readme. Также можно использовать пользовательские макросы
			// The blank message. List of macros watch in readme file. You can also use users macros
			"templateItem": [
				"<textformat tabstops='[87, 165]' leading='1'>",
				"<b><font size='16'>WN8•<font color='{{c:WN8}}'>{{WN8}}</font><tab>EFF•<font color='{{c:EFF}}'>{{EFF}}</font><tab>Lvl•<font color='{{c:AvgTierLevel}}'>{{AvgTierLevel}}</font></font></b>{{line_hard}}",
				"</textformat>",
				"<textformat tabstops='[76,94,167,181]' leading='-2'>",
				"<br>Winrate<tab>{{ico_winrate}} <tab><font color='#60FF00'>{{Wins}}</font> / <font color='#C0C0C0'>{{Battles}}</font> <tab>{{arrow_winrate}}<tab><font color='{{c:WinRate}}'>{{WinRate}}%</font>{{line_soft}}",
				"Exp<tab>{{image_xp}}<tab><font color='#C0C0C0'>{{XP}}</font><tab>{{arrow_xp}}<tab><font color='{{c:AvgXP}}'>{{AvgXP}}</font>{{line_soft}}",
				"Free exp<tab>{{image_free_xp}}<tab><font color='#C0C0C0'>{{FreeXP}}</font><tab>{{arrow_free_xp}}<tab><font color='{{c:AvgFreeXP}}'>{{AvgFreeXP}}</font>{{line_soft}}",
				"Damage<tab>{{image_damage}}<tab><font color='{{c:AvgDamageDealt}}'>{{DamageDealt}}</font><tab>{{arrow_damage_dealt}}<tab><font color='{{c:DiffAvgDamageDealt}}'>{{AvgDamageDealt}}</font>{{line_soft}}",
				"Assist dmg<tab>{{image_assist}}<tab><font color='#C0C0C0'>{{DamageAssisted}}</font><tab> <tab><font color='#C0C0C0'>{{AvgDamageAssisted}}</font>{{line_soft}}",
				"Hit ratio<tab>{{image_shots}}<tab><font color='{{c:EffHitsRate}}'>{{Piercings}}</font>/<font color='{{c:HitsRate}}'>{{Hits}}</font><tab>{{arrow_hitsrate}}<tab><font color='{{c:HitsRate}}'>{{HitsRate}}%</font>{{line_soft}}",
				"Spotted<tab>{{image_found}}<tab><font color='{{c:AvgSpottedEnemies}}'>{{SpottedEnemies}}</font><tab>{{arrow_spotted_enemies}}<tab><font color='{{c:DiffAvgSpottedEnemies}}'>{{AvgSpottedEnemies}}</font>{{line_soft}}",
				"Destroyed<tab>{{image_destr}}<tab><font color='{{c:AvgFrags}}'>{{Frags}}</font><tab>{{arrow_frags}}<tab><font color='{{c:DiffAvgFrags}}'>{{AvgFrags}}</font>{{line_soft}}",
				"Base attack<tab>{{image_base_attak}}<tab><font color='#C0C0C0'>{{CapturePoints}}</font><tab>{{arrow_capture}}<tab><font color='{{c:DiffAvgCapturePoints}}'>{{AvgCapturePoints}}</font>{{line_soft}}",
				"Base defense<tab>{{image_base_def}}<tab><font color='#C0C0C0'>{{DroppedCapturePoints}}</font><tab>{{arrow_dropped_capture}}<tab><font color='{{c:DiffAvgDroppedCapturePoints}}'>{{AvgDroppedCapturePoints}}</font>",
				"</textformat>",
				"<textformat tabstops='[16,74,90,160,174]' leading='1'>",
				"\n{{line_hard}}{{image_free_xp}}<tab><font color='{{c:AccountFreeXP}}'>{{AccountFreeXP}}</font><tab>{{image_credits}}<tab><font color='{{c:AccountCredits}}'>{{AccountCredits}}</font><tab>{{image_gold}}<tab><font color='{{c:AccountGold}}'>{{AccountGold}}</font>",
				"</textformat>"
			],

			// Список цветовых подстановок. "название_макроса": [{"value": значение,  "color": "#код_цвета"}, {"value": значение,  "color": "#код_цвета"}]
			// List of color permutations. "macro_name": [{"value": value,  "color": "#color_code"}, {"value": value,  "color": "#color_code"}]
			"colors": {
				"WN8":						[{"value": 360,  "color": "#FE0E00"}, {"value": 825,  "color": "#FE7903"}, {"value": 1385, "color": "#F8F400"}, {"value": 2055, "color": "#60FF00"}, {"value": 2675, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"EFF": 						[{"value": 610,  "color": "#FE0E00"}, {"value": 835,  "color": "#FE7903"}, {"value": 1210, "color": "#F8F400"}, {"value": 1615, "color": "#60FF00"}, {"value": 1950, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"WinRate": 					[{"value": 46, "color": "#FE0E00"}, {"value": 48, "color": "#FE7903"}, {"value": 51, "color": "#F8F400"}, {"value": 56, "color": "#60FF00"}, {"value": 64, "color": "#02C9B3"}, {"value": 101,   "color": "#D042F3"}],
				"AvgDamageDealt": 			[{"value": 500,  "color": "#FE0E00"}, {"value": 800,  "color": "#FE7903"}, {"value": 1200, "color": "#F8F400"}, {"value": 1800, "color": "#60FF00"}, {"value": 2500, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"AvgFrags":					[{"value": 0.6,  "color": "#FE0E00"}, {"value": 0.8,  "color": "#FE7903"}, {"value": 1,    "color": "#F8F400"}, {"value": 1.3,  "color": "#60FF00"}, {"value": 2,    "color": "#02C9B3"}, {"value": 15,    "color": "#D042F3"}],
				"AvgSpottedEnemies": 		[{"value": 0.6,  "color": "#FE0E00"}, {"value": 1,    "color": "#FE7903"}, {"value": 1.5,  "color": "#F8F400"}, {"value": 2,    "color": "#60FF00"}, {"value": 5,    "color": "#02C9B3"}, {"value": 15,    "color": "#D042F3"}],
				"AvgXP": 					[{"value": 401,  "color": "#FE0E00"}, {"value": 601,  "color": "#FE7903"}, {"value": 1201, "color": "#F8F400"}, {"value": 1601, "color": "#60FF00"}, {"value": 2201, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"AvgFreeXP": 				[{"value": 20,   "color": "#FE0E00"}, {"value": 35,   "color": "#FE7903"}, {"value": 50,   "color": "#F8F400"}, {"value": 60,   "color": "#60FF00"}, {"value": 75,   "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"HitsRate": 				[{"value": 45,   "color": "#FE0E00"}, {"value": 55,   "color": "#FE7903"}, {"value": 65,   "color": "#F8F400"}, {"value": 80,   "color": "#60FF00"}, {"value": 90,   "color": "#02C9B3"}, {"value": 101,   "color": "#D042F3"}],
				"EffHitsRate": 				[{"value": 45,   "color": "#FE0E00"}, {"value": 55,   "color": "#FE7903"}, {"value": 65,   "color": "#F8F400"}, {"value": 80,   "color": "#60FF00"}, {"value": 90,   "color": "#02C9B3"}, {"value": 101,   "color": "#D042F3"}],
				"EffShotsRate": 			[{"value": 45,   "color": "#FE0E00"}, {"value": 55,   "color": "#FE7903"}, {"value": 65,   "color": "#F8F400"}, {"value": 80,   "color": "#60FF00"}, {"value": 90,   "color": "#02C9B3"}, {"value": 101,   "color": "#D042F3"}],
				"AvgTierLevel": 			[{"value": 2,    "color": "#FE0E00"}, {"value": 3,    "color": "#FE7903"}, {"value": 5,    "color": "#F8F400"}, {"value": 7,    "color": "#60FF00"}, {"value": 9,    "color": "#02C9B3"}, {"value": 11,    "color": "#D042F3"}],
				"AvgBattleLevel": 			[{"value": 2,    "color": "#FE0E00"}, {"value": 3,    "color": "#FE7903"}, {"value": 5,    "color": "#F8F400"}, {"value": 7,    "color": "#60FF00"}, {"value": 9,    "color": "#02C9B3"}, {"value": 11,    "color": "#D042F3"}],
				"DiffWinrate": 				[{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffHitsRate": 		    [{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffAvgDamageDealt": 		[{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffAvgFrags": 			[{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffAvgSpottedEnemies": 	[{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffAvgXP": 				[{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"AccountFreeXP": 			[{"value": 0.1, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffAvgCapturePoints": 	[{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"DiffAvgDroppedCapturePoints": [{"value": 0, "color": "#C0C0C0"}, {"value": 9999999, "color": "#60FF00"}],
				"AccountCredits": 			[{"value": 0, "color": "#FE0E00"}, {"value": 9999999, "color": "#60FF00"}],
				"AccountGold": 				[{"value": -1, "color": "#FE0E00"}, {"value": 1, "color": "#F8F400"}, {"value": 9999999, "color": "#60FF00"}]
			},

			// Пользовательские макросы
			// Custom macros
			"userMacros": {
				"line_hard":             "\n<img src='img://{{config}}skins/armagomen/images/line2.png' height='1' width='219' vspace='0'/>\n",
				"line_soft":             "\n<img src='img://{{config}}skins/armagomen/images/line1.png' height='1' width='219' vspace='0' />\n",
				"image_damage":          "<img src='img://{{config}}skins/armagomen/images/damage.png' width='14' height='13' vspace='-2' />",
				"image_base_def":        "<img src='img://{{config}}skins/armagomen/images/base_def.png' width='14' height='13' vspace='-2' />",
				"image_base_attak":      "<img src='img://{{config}}skins/armagomen/images/base_attak.png' width='14' height='13' vspace='-2' />",
				"image_assist":          "<img src='img://{{config}}skins/armagomen/images/assist.png' width='13' height='13' vspace='-2' />",
				"image_found":           "<img src='img://{{config}}skins/armagomen/images/found.png' width='15' height='15' vspace='-3' />",
				"image_shots":           "<img src='img://{{config}}skins/armagomen/images/hits.png' width='14' height='13' vspace='-3' />",
				"ico_winrate":           "<img src='img://{{config}}skins/armagomen/images/{{c:DiffWinrate}}_ico.png' width='11' height='10' vspace='2' />",
				"image_destr":           "<img src='img://{{config}}skins/armagomen/images/destr.png' width='15' height='12' vspace='-1' />",
				"image_credits":         "<img src='img://{{config}}skins/armagomen/images/Credits.png' width='13' height='13' vspace='-1' />",
				"image_gold":            "<img src='img://{{config}}skins/armagomen/images/Gold.png' width='13' height='13' vspace='-2' />",
				"image_xp":              "<img src='img://{{config}}skins/armagomen/images/exp.png' width='13' height='13' vspace='-1' />",
				"image_free_xp":         "<img src='img://{{config}}skins/armagomen/images/freexp.png' width='13' height='13'   vspace='-1' />",
				"arrow_hitsrate":        "<img src='img://{{config}}skins/armagomen/images/{{c:DiffHitsRate}}.png' width='11' height='11' vspace='0' />",
				"arrow_winrate":         "<img src='img://{{config}}skins/armagomen/images/{{c:DiffWinrate}}.png' width='11' height='11' vspace='0' />",
				"arrow_xp":              "<img src='img://{{config}}skins/armagomen/images/{{c:DiffAvgXP}}.png' width='11' height='11' vspace='0' />",
				"arrow_free_xp":         "<img src='img://{{config}}skins/armagomen/images/{{c:AccountFreeXP}}.png' width='11' height='11' vspace='0' />",
				"arrow_damage_dealt":    "<img src='img://{{config}}skins/armagomen/images/{{c:DiffAvgDamageDealt}}.png' width='11' height='11' vspace='0' />",
				"arrow_spotted_enemies": "<img src='img://{{config}}skins/armagomen/images/{{c:DiffAvgSpottedEnemies}}.png' width='11' height='11' vspace='0' />",
				"arrow_frags":           "<img src='img://{{config}}skins/armagomen/images/{{c:DiffAvgFrags}}.png' width='11' height='11' vspace='0' />",
				"arrow_capture":         "<img src='img://{{config}}skins/armagomen/images/{{c:DiffAvgCapturePoints}}.png' width='11' height='11' vspace='0' />",
				"arrow_dropped_capture": "<img src='img://{{config}}skins/armagomen/images/{{c:DiffAvgDroppedCapturePoints}}.png' width='11' height='11' vspace='0' />"
			}
		
		}
		
	]
}
