Parry Block and Dodge stat
This i took sometime long ago from another OG to track my stat of parry block and tank.
Enjoy
|
|
| Quick Facts |
|---|
This i took sometime long ago from another OG to track my stat of parry block and tank.
Enjoy
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"s": "4.2.4",
"m": "d",
"d": {
"arcLength": 360,
"borderBackdrop": "None",
"wagoID": "a548yZn4z",
"authorOptions": [],
"yOffset": -219.61,
"sortHybridTable": {
"Stats": false
},
"fullCircle": true,
"rowSpace": 1,
"url": "https:\/\/wago.io\/tankadin\/65",
"actions": {
"start": [],
"init": [],
"finish": []
},
"triggers": [
{
"trigger": {
"debuffType": "HELPFUL",
"type": "aura2",
"spellIds": [],
"subeventSuffix": "_CAST_START",
"subeventPrefix": "SPELL",
"names": [],
"event": "Health",
"unit": "player"
},
"untrigger": []
}
],
"columnSpace": 1,
"internalVersion": 53,
"selfPoint": "LEFT",
"align": "CENTER",
"desc": "Go to \"Custom Options\" to choose which stats you want to display. Tankadin is now part of the Itankadin Collection, https:\/\/wago.io\/itankadin. Here you will find additional modules for use with Tankadin. Be sure to check it out!",
"rotation": 0,
"version": 65,
"subRegions": [],
"xOffset": -1031.7,
"radius": 200,
"load": {
"talent": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"multi": []
},
"size": {
"multi": []
}
},
"space": 2,
"backdropColor": [
1,
1,
1,
0.5
],
"borderColor": [
1,
1,
1,
1
],
"animate": false,
"gridType": "RD",
"scale": 1,
"uid": "wlF7f7NnLLx",
"border": true,
"borderEdge": "1 Pixel",
"regionType": "dynamicgroup",
"borderSize": 1,
"limit": 5,
"anchorPoint": "CENTER",
"anchorFrameFrame": "PaperDollFrame",
"gridWidth": 5,
"sort": "none",
"constantFactor": "RADIUS",
"animation": {
"start": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"main": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
}
},
"borderOffset": 7,
"semver": "3.0.1",
"tocversion": 30300,
"id": "Itankadin",
"borderInset": 1,
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"grow": "RIGHT",
"config": [],
"source": "import",
"groupIcon": "135919",
"stagger": 0,
"conditions": [],
"information": [],
"useLimit": false
},
"c": [
{
"authorOptions": [
{
"useName": true,
"type": "header",
"text": "Visual Settings",
"noMerge": false,
"width": 2
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"desc": "Toggle all % signs on or off.",
"key": "ps",
"useDesc": true,
"name": "Show Percentage Signs",
"width": 1
},
{
"type": "toggle",
"default": true,
"desc": "Crit cap, Crush cap & Shear cap.",
"key": "sc",
"useDesc": true,
"name": "Show total required amounts",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "color",
"default": [
0.93333,
0.5098,
0.93333,
1
],
"key": "totals",
"useDesc": false,
"name": "Avoidance Color",
"width": 1
},
{
"type": "color",
"default": [
0.47843,
0.70196,
0.93725,
1
],
"key": "values",
"useDesc": false,
"name": "Values Color",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 3,
"width": 2,
"useHeight": false
},
{
"useName": true,
"type": "header",
"text": "Main Settings",
"noMerge": false,
"width": 2
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"desc": "",
"key": "show_ehp",
"useDesc": false,
"name": "Effective Hit Points",
"width": 1
},
{
"type": "toggle",
"default": true,
"desc": "",
"key": "show_dr",
"useDesc": false,
"name": "Damage reduction",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": false,
"desc": "Shows 100% HP",
"key": "show_max_hp",
"useDesc": true,
"name": "Hit Points",
"width": 1
},
{
"type": "toggle",
"default": false,
"key": "show_armor",
"useDesc": false,
"name": "Armor",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"desc": "Defense + Resilience",
"key": "show_crit",
"useDesc": true,
"name": "Crit",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"useName": true,
"type": "header",
"text": "Shield Settings",
"noMerge": false,
"width": 2
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"desc": "Block rating",
"key": "show_block",
"useDesc": true,
"name": "Block",
"width": 0.6
},
{
"type": "toggle",
"default": true,
"desc": "Shield Block Value",
"key": "show_bv",
"useDesc": true,
"name": "Shield Block Value",
"width": 0.65
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"desc": "Select between %, whole number or hide the value",
"type": "select",
"values": [
"Hide",
"Percentage",
"Integer"
],
"default": 2,
"key": "sd_dropdown",
"useDesc": true,
"name": "Shield Durability",
"width": 1.25
},
{
"type": "space",
"variableWidth": true,
"height": 3,
"width": 2,
"useHeight": true
},
{
"useName": true,
"type": "header",
"text": "Avoidance Settings",
"noMerge": false,
"width": 2
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"key": "show_dodge",
"useDesc": false,
"name": "Dodge",
"width": 0.65
},
{
"type": "toggle",
"default": true,
"desc": "Boss Miss Chance",
"key": "show_miss",
"useDesc": true,
"name": "Miss",
"width": 0.65
},
{
"type": "toggle",
"default": true,
"key": "show_parry",
"useDesc": false,
"name": "Parry",
"width": 0.65
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"desc": "Avoidance: miss + dodge + parry",
"key": "show_avoid",
"useDesc": true,
"name": "Avoidance",
"width": 0.65
},
{
"type": "toggle",
"default": false,
"desc": "Chance of taking a hit that bypasses your dodge, block, parry or miss",
"key": "show_bypass",
"useDesc": true,
"name": "Bypassed hit",
"width": 0.65
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"useName": true,
"type": "header",
"text": "Offensive Settings",
"noMerge": false,
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": true,
"desc": "Accounts for gear and Draenei racial",
"key": "show_hit",
"useDesc": true,
"name": "Hit",
"width": 0.65
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"desc": "Select between %, whole number or hide the value",
"type": "select",
"values": [
"Hide",
"Percentage",
"Integer"
],
"default": 2,
"key": "exp_dropdown",
"useDesc": true,
"name": "Expertise",
"width": 1.7
},
{
"type": "space",
"variableWidth": true,
"height": 3,
"width": 2,
"useHeight": true
},
{
"useName": true,
"type": "header",
"text": "Resistance Settings",
"noMerge": false,
"width": 2
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": false,
"key": "show_arcane",
"useDesc": false,
"name": "Arcane Resistance",
"width": 1
},
{
"type": "toggle",
"default": false,
"key": "show_fire",
"useDesc": false,
"name": "Fire Resistance",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": false,
"key": "show_frost",
"useDesc": false,
"name": "Frost Resistance",
"width": 1
},
{
"type": "toggle",
"default": false,
"key": "show_nature",
"useDesc": false,
"name": "Nature Resistance",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
},
{
"type": "toggle",
"default": false,
"key": "show_shadow",
"useDesc": false,
"name": "Shadow Resistance",
"width": 1
},
{
"type": "space",
"variableWidth": true,
"height": 3,
"width": 2,
"useHeight": true
},
{
"type": "description",
"text": "Red < 244\nGreen >= 244 and < 365\nPurple >= 365\n\n\nAt 244 resistance you never take a full damage hit from a level 73.\n\n365 resistance is the cap against level 73.\n",
"fontSize": "small",
"width": 2
},
{
"type": "space",
"variableWidth": true,
"height": 1,
"width": 2,
"useHeight": false
}
],
"displayText_format_c4_format": "none",
"displayText_format_c28_format": "none",
"anchorPoint": "CENTER",
"displayText_format_p_time_format": 0,
"url": "https:\/\/wago.io\/tankadin\/65",
"actions": {
"start": {
"do_loop": false,
"sound_repeat": 5,
"do_message": false,
"do_glow": false,
"sound_path": "\/script PlaySound(1510)",
"do_sound": false,
"sound_kit_id": "8072",
"sound": " KitID",
"do_custom": false,
"sound_channel": "SFX"
},
"init": {
"do_custom": false
},
"finish": {
"stop_sound": false
}
},
"useTooltip": false,
"displayText_format_c8_format": "none",
"selfPoint": "CENTER",
"displayText_format_c15_format": "none",
"displayText_format_c5_format": "none",
"desc": "Mathematical formulas.",
"font": "Friz Quadrata TT",
"displayText_format_c26_format": "none",
"displayText_format_c1Dodge_format": "none",
"load": {
"use_talentknown": true,
"ingroup": [],
"use_never": true,
"use_ignoreNameRealm": false,
"class": {
"single": "PALADIN",
"multi": {
"PALADIN": true
}
},
"spec": {
"multi": []
},
"use_encounterid": false,
"use_mysticenchantactive": false,
"use_spellknown": false,
"talentknown": 16542,
"use_alive": true,
"encounterid": "619, 620, 621, 622, 601, 602, 604, 605, 606, 607, 608, 609, 724, 725,726, 727, 728, 729",
"mysticenchantactive": 977727,
"talent": {
"multi": {
"39": true,
"47": true
}
},
"size": {
"multi": []
}
},
"displayText_format_c9_format": "none",
"displayText_format_c24_format": "none",
"shadowXOffset": 1,
"displayText_format_c32_format": "none",
"displayText_format_c1_color": true,
"displayText_format_c31_format": "none",
"displayText_format_c11c10_format": "none",
"tocversion": 30300,
"displayText_format_c16_format": "none",
"uid": "QwxmWfkU7JS",
"displayText_format_c20_format": "none",
"fixedWidth": 200,
"outline": "OUTLINE",
"displayText_format_c25_format": "none",
"displayText_format_c1_big_number_format": "AbbreviateNumbers",
"wagoID": "a548yZn4z",
"color": [
1,
0.90196,
0.79216,
1
],
"displayText_format_c21_format": "none",
"shadowYOffset": -1,
"displayText_format_c1_abbreviate": false,
"displayText_format_20_format": "none",
"customTextUpdate": "event",
"automaticWidth": "Auto",
"triggers": {
"1": {
"trigger": {
"use_armorrating": false,
"custom_type": "event",
"custom_hide": "timed",
"subeventPrefix": "SPELL",
"event": "Character Stats",
"use_unit": true,
"names": [],
"events": "PLAYER_EQUIPMENT_CHANGED, UNIT_AURA \"player\", SKILL_LINES_CHANGED, UNIT_STATS_CHANGED, COMBAT_RATING_UPDATE, PLAYER_DAMAGE_DONE_MODS",
"spellIds": [],
"unit": "player",
"check": "event",
"subeventSuffix": "_CAST_START",
"type": "unit",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"2": {
"trigger": {
"unit": "player",
"type": "custom",
"events": "COMBAT_RATING_UPDATE, PLAYER_DAMAGE_DONE_MODS, PLAYER_EQUIPMENT_CHANGED, SKILL_LINES_CHANGED, UNIT_STATS, UNIT_AURA:player, UPDATE_INVENTORY_DURABILITY, PLAYER_TARGET_CHANGED",
"custom_type": "stateupdate",
"check": "event",
"custom_hide": "timed",
"custom": "function()\n return true\nend",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"disjunctive": "any",
"activeTriggerMode": -10
},
"displayText_format_c14_format": "none",
"internalVersion": 53,
"displayText_format_c13_format": "none",
"animation": {
"start": {
"type": "none",
"easeType": "none",
"easeStrength": 3,
"preset": "fade",
"duration_type": "seconds"
},
"main": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
}
},
"wordWrap": "WordWrap",
"displayText_format_c2_format": "none",
"customText": "function ()\n local function round(num, idp)\n local multi = 10 ^ (idp or 0);\n return math.floor(num * multi + 0.5) \/ multi;\n end\n \n local lvl = UnitLevel(\"Target\")\n local plvl = UnitLevel(\"Player\")\n local def = GetDodgeBlockParryChanceFromDefense()\n local defskill = math.floor(GetCombatRatingBonus(2)+UnitDefense(\"player\"))\n \n local umiss = def + 5\n local miss = 5 + ((defskill - (lvl*5)) * 0.04)\n if lvl == 0 then miss = def + 5\n elseif lvl == -1 then miss = 5 + ((defskill - (73*5)) * 0.04)\n end\n \n local udodge = GetDodgeChance() \n local dodge = GetDodgeChance() + ((plvl - lvl)*5 * 0.04)\n if lvl == 0 then dodge = GetDodgeChance()\n elseif lvl == -1 then dodge = GetDodgeChance() - 0.6\n end\n \n local uparry = GetParryChance() \n local parry = GetParryChance() + ((plvl - lvl)*5 * 0.04)\n if lvl == 0 then parry = GetParryChance()\n elseif lvl == -1 then parry = GetParryChance() - 0.6\n end\n \n local ublock = GetBlockChance()\n local block = GetBlockChance() + ((plvl - lvl)*5 * 0.04)\n if lvl == 0 then block = GetBlockChance()\n elseif lvl == -1 then block = GetBlockChance() - 0.6\n end\n \n local sbv = GetShieldBlock()\n local avoidance = miss + dodge + parry\n local resil = GetCombatRatingBonus(15)\n local crit = round((-1)*(5.6-(def + resil)), 2)\n local bossavoidance = round(avoidance + block, 2)\n local hsa = WA_GetUnitBuff(\"player\", \"Holy Shield\")\n local hs = 30 if hsa then hs = 0 end\n \n local bypasscalc = (umiss + udodge + uparry + ublock + hs)\n local bypass = bypasscalc if bypasscalc >= 102.4 then bypass = 0 elseif bypasscalc < 102.4 then bypass = 102.4 - bypasscalc end\n \n local critcolor = \"|cffff0000\"..crit..\"|r\" \n if crit >= 0 then critcolor = \"|cff00ff00\"..crit..\"|r\"\n end\n \n local divpro = WA_GetUnitBuff(\"player\", 498)\n local maxHP = UnitHealthMax(\"player\")\n local pain = WA_GetUnitBuff(\"player\", 33206)\n local armor = select(2, UnitArmor(\"player\"))\n local rf = WA_GetUnitBuff(\"player\", 25780)\n local impRF = select(5, GetTalentInfo(2,7))\n local bosanc = WA_GetUnitBuff(\"player\", 20911)\n local dp = WA_GetUnitBuff(\"player\", 54428)\n local sott = select(5, GetTalentInfo(2,24))\n local gbtl = select(5, GetTalentInfo(2,23))\n \n --[[local dr = min(armor\/((467.5 * 73 - 22167.5)+armor),0.75)\n if lvl == 72 then dr = min(armor\/((467.5 * 72 - 22167.5)+armor),0.75)\n elseif lvl == 71 then dr = min(armor\/((467.5 * 71 - 22167.5)+armor),0.75)\n elseif lvl == 70 then dr = min(armor\/((467.5 * 70 - 22167.5)+armor),0.75)\n end]]\n \n local dr = min(armor\/((467.5 * lvl - 22167.5)+armor),0.75)\n if lvl == 0 then dr = min(armor\/((467.5 * 73 - 22167.5)+armor),0.75)\n elseif lvl == -1 then dr = min(armor\/((467.5 * 73 - 22167.5)+armor),0.75)\n end\n \n if rf then dr = 1-(1-dr)*(1-(0.02*impRF))\n end\n if bosanc then dr = 1-(1-dr)*(1-0.03)\n end\n if dp then dr = 1-(1-dr)*(1-0.03)\n end\n if pain then dr = 1-(1-dr)*(1-0.4)\n end \n if divpro then dr = 1-(1-dr)*(1-0.5)\n end\n local drd = dr*100\n \n \n -- Resistance \n local fireres = select(2, UnitResistance(\"player\", 2))\n local firecolor = \"|cffff0000\"..fireres..\"|r\" \n if fireres >= 365 then firecolor = \"|cffa335ee\"..fireres..\"|r\" \n elseif fireres >= 244 then firecolor = \"|cff00ff00\"..fireres..\"|r\"\n end\n local natureres = select(2, UnitResistance(\"player\", 3))\n local naturecolor = \"|cffff0000\"..natureres..\"|r\" \n if natureres >= 365 then naturecolor = \"|cffa335ee\"..natureres..\"|r\" \n elseif natureres >= 244 then naturecolor = \"|cff00ff00\"..natureres..\"|r\"\n end\n local frostres = select(2, UnitResistance(\"player\", 4))\n local frostcolor = \"|cffff0000\"..frostres..\"|r\" \n if frostres >= 365 then frostcolor = \"|cffa335ee\"..frostres..\"|r\" \n elseif frostres >= 244 then frostcolor = \"|cff00ff00\"..frostres..\"|r\"\n end\n local shadowres = select(2, UnitResistance(\"player\", 5))\n local shadowcolor = \"|cffff0000\"..shadowres..\"|r\" \n if shadowres >= 365 then shadowcolor = \"|cffa335ee\"..shadowres..\"|r\" \n elseif shadowres >= 244 then shadowcolor = \"|cff00ff00\"..shadowres..\"|r\"\n end\n local arcaneres = select(2, UnitResistance(\"player\", 6))\n local arcanecolor = \"|cffff0000\"..arcaneres..\"|r\" \n if arcaneres >= 365 then arcanecolor = \"|cffa335ee\"..arcaneres..\"|r\" \n elseif arcaneres >= 244 then arcanecolor = \"|cff00ff00\"..arcaneres..\"|r\"\n end\n \n -- Expertise \n local exp = GetExpertise()\n local expp = exp * 0.25\n local expcolor = \"|cffff0000\"..exp..\"|r\"\n if exp >= 26 then expcolor = \"|cff00ff00\"..exp..\"|r\"\n end\n local exppcolor = \"|cffff0000\"..expp..\"|r\"\n if exp >= 26 then exppcolor = \"|cff00ff00\"..expp..\"|r\"\n end\n \n -- Hit\n local insp = WA_GetUnitBuff(\"player\", 28878)\n local herp = WA_GetUnitBuff(\"player\", \"Heroic Presence\")\n local hitCalc = herp and 1 or 0\n local hit = round(GetCombatRatingBonus(6) + hitCalc, 2)\n local hitcolor = \"|cffff0000\"..hit..\"|r\" if hit >= 8 then hitcolor = \"|cff00ff00\"..hit..\"|r\" end\n \n local agi = select(2, UnitStat(\"player\", 2))\n local agiDeci = agi*0.1 - math.floor(agi*0.1)\n local ehp = maxHP \/ (1-dr)\n \n -- Shield Durability\n local scur, smax = GetInventoryItemDurability(17) if scur == nil then scur = 0 end if smax == nil then smax = 1 end\n local sdp = round((scur\/smax)*100, 2)\n local sdpcolor = \"|cffffff00\"..sdp..\"|r\"\n if sdp > 25 then sdpcolor = \"|cff00ff00\"..sdp..\"|r\"\n elseif sdp < 5 then sdpcolor = \"|cffff0000\"..sdp..\"|r\"\n end\n local sdicolor = \"|cffffff00\"..scur..\"|r\"\n if sdp > 25 then sdicolor = \"|cff00ff00\"..scur..\"|r\"\n elseif sdp < 5 then sdicolor = \"|cffff0000\"..scur..\"|r\"\n end\n \n local function cs(custom_opt)\n local a = aura_env.config[custom_opt]\n return \"|c\" .. string.format(\"%x\", a[4]*255) .. string.format(\"%x\", a[1]*255) .. string.format(\"%x\", a[2]*255) .. string.format(\"%x\", a[3]*255)\n end\n \n local function sc(cap_value)\n local a = \"\"\n if aura_env.config.sc then a = \" \/ \" .. string.format(\"%.1f\", cap_value) .. \"\" end\n return a\n end\n \n local function sc1(cap_value)\n local a = \"\"\n if aura_env.config.sc then a = \" \/ \" .. string.format(\"%.0f\", cap_value) .. \"\" end\n return a\n end\n \n local function ps()\n local a = \"\"\n if aura_env.config.ps then a = \" %\" end\n return a\n end\n \n local miss_display = \"\"\n if aura_env.config.show_miss then miss_display = \"Miss: \"..cs(\"values\")..string.format(\"%.2f\", miss)..\"|r\"..ps()..\"\\n\"\n end -- %c1\n \n local dodge_display = \"\"\n if aura_env.config.show_dodge then dodge_display = \"Dodge: \"..cs(\"values\")..string.format(\"%.2f\", dodge)..\"|r\"..ps()..\"\\n\"\n end -- %c2\n \n local parry_display = \"\"\n if aura_env.config.show_parry then parry_display = \"Parry: \"..cs(\"values\")..string.format(\"%.2f\", parry)..\"|r\"..ps()..\"\\n\"\n end -- %c3\n \n local avoid_display = \"\"\n if aura_env.config.show_avoid then avoid_display = \"Avoid: \"..cs(\"totals\")..string.format(\"%.2f\", avoidance)..\"|r\"..ps()..\"\\n\"\n end -- %c4\n \n local block_display = \"\"\n if aura_env.config.show_block then block_display = \"Block: \"..cs(\"values\")..string.format(\"%.2f\", block)..\"|r\"..ps()..\"\\n\"\n end -- %c5\n \n local crit_display = \"\"\n if aura_env.config.show_crit then crit_display = \"Crit: \"..critcolor..ps()..\"\\n\"\n end -- %c6\n \n local dr_display = \"\"\n if aura_env.config.show_dr then dr_display = \"DR: \"..cs(\"values\")..string.format(\"%.2f\", drd)..\"|r\"..ps()..\"\\n\"\n end -- %c7\n \n local ehp_display = \"\"\n if aura_env.config.show_ehp then ehp_display = \"EHP: \"..cs(\"values\")..string.format(\"%.0f\", ehp)..\"|r\"..\"\\n\"\n end -- %c8\n \n local armor_display = \"\"\n if aura_env.config.show_armor then armor_display = \"Armor: \"..cs(\"values\")..string.format(\"%.0f\", armor)..\"|r\"..\"\\n\"\n end -- %c9\n \n local max_hp_display = \"\"\n if aura_env.config.show_max_hp then max_hp_display = \"HP: \"..cs(\"values\")..string.format(\"%.0f\", maxHP)..\"|r\"..\"\\n\"\n end -- %c10\n \n local block_value_display = \"\"\n if aura_env.config.show_bv then block_value_display = \"Block Value: \"..cs(\"values\")..string.format(\"%.0f\", sbv)..\"|r\"..\"\\n\\n\"\n end -- %c11\n \n local hit_display = \"\"\n if aura_env.config.show_hit then hit_display = \"\\nHit: \"..hitcolor..sc1(8)..ps()..\"\\n\"\n end --%c12\n \n local exp_display = \"\"\n if aura_env.config.exp_dropdown == 1 then\n exp_display = \"\"\n elseif aura_env.config.exp_dropdown == 2 then\n exp_display = \"Exp: \"..exppcolor..sc(6.5)..ps()..\"\\n\\n\"\n elseif aura_env.config.exp_dropdown == 3 then\n exp_display = \"Exp: \"..expcolor..sc1(26)..\"\\n\\n\"\n end -- %c13\n \n local arcaneres_display = \"\"\n if aura_env.config.show_arcane then arcaneres_display = \"|cffe6f2f3\"..string.format(\"A: \")..\"|r\"..arcanecolor..\"|r\"\n end -- %c14 \n \n local fireres_display = \"\"\n if aura_env.config.show_fire then fireres_display = \"|cffff6400\"..string.format(\" Fi: \")..\"|r\"..firecolor..\"|r\"\n end -- %c15\n \n local frostres_display = \"\"\n if aura_env.config.show_frost then frostres_display = \"|cff00e4ff\"..string.format(\" Fr: \")..\"|r\"..frostcolor..\"|r\"\n end -- %c16\n \n local natureres_display = \"\"\n if aura_env.config.show_nature then natureres_display = \"|cff37c04d\"..string.format(\" N: \")..\"|r\"..naturecolor..\"|r\"\n end -- %c17\n \n local shadowres_display = \"\"\n if aura_env.config.show_shadow then shadowres_display = \"|cff9b00ff\"..string.format(\" S: \")..\"|r\"..shadowcolor..\"|r\"\n end -- %c18\n \n local sdur_display = \"\"\n if aura_env.config.sd_dropdown == 1 then\n sdur_display = \"\"\n elseif aura_env.config.sd_dropdown == 2 then\n sdur_display = \"\\nSD: \"..sdpcolor..ps()..\"\\n\"\n elseif aura_env.config.sd_dropdown == 3 then\n sdur_display = \"\\nSD: \"..sdicolor..(\" \/ \")..smax..\"\\n\"\n end -- %c19\n \n local bypass_display = \"\"\n if aura_env.config.show_bypass then bypass_display = \"Bypass: \"..cs(\"values\")..string.format(\"%.2f\", bypass)..\"|r\"..ps()..\"\\n\"\n end -- %c20\n \n \n \n return miss_display, dodge_display, parry_display, avoid_display, block_display, crit_display, dr_display, ehp_display, armor_display, max_hp_display, block_value_display, hit_display, exp_display, arcaneres_display, fireres_display, frostres_display, natureres_display, shadowres_display, sdur_display, bypass_display\nend",
"config": {
"show_arcane": true,
"sd_dropdown": 2,
"show_miss": true,
"show_dodge": true,
"show_dr": true,
"totals": [
0.93333,
0.5098,
0.93333,
1
],
"ps": true,
"show_avoid": true,
"show_hit": true,
"show_crit": true,
"values": [
0.47843,
0.70196,
0.93725,
1
],
"show_bypass": false,
"show_nature": true,
"show_ehp": true,
"show_block": true,
"show_bv": true,
"show_frost": true,
"show_max_hp": false,
"sc": true,
"exp_dropdown": 1,
"show_parry": true,
"show_shadow": true,
"show_fire": true,
"show_armor": false
},
"shadowColor": [
0,
0,
0,
1
],
"version": 65,
"subRegions": [
{
"type": "subbackground"
}
],
"displayText_format_c7_format": "none",
"displayText_format_c12_format": "none",
"displayIcon": 135962,
"regionType": "text",
"fontSize": 12,
"source": "import",
"displayText_format_c1_realm_name": "never",
"anchorFrameType": "SCREEN",
"displayText_format_c1_decimal_precision": 1,
"displayText_format_p_time_dynamic_threshold": 60,
"yOffset": 0,
"displayText_format_c23_format": "none",
"semver": "3.0.1",
"displayText_format_c1_format": "none",
"displayText_format_c18_format": "none",
"displayText_format_p_format": "timed",
"xOffset": 0,
"displayText_format_p_time_precision": 1,
"displayText_format_c10_format": "none",
"displayText_format_c17_format": "none",
"displayText_format_c29_format": "none",
"justify": "LEFT",
"displayText_format_c1_abbreviate_max": 8,
"id": "Stats",
"displayText": "%c6%c7%c8%c10%c9%c19%c5%c11%c1%c3%c2%c4%c20%c12%c13%c14%c15%c16%c17%c18",
"frameStrata": 1,
"displayText_format_c3_format": "none",
"displayText_format_c27_format": "none",
"displayText_format_c11_format": "none",
"displayText_format_c30_format": "none",
"displayText_format_c22_format": "none",
"displayText_format_c6_format": "none",
"conditions": [],
"information": [],
"displayText_format_c19_format": "none"
}
],
"v": 1421
}