Description
Panel version of my [Wotlk] Tank Stats (see at the end of description).
Shows hit, armor, avoidance, expertise and crit reduction.
Used primarily for tanks.
If you want more offensive stats you can install my other WA [Wotlk] Melee Stats at the bottom of this description. (no panel version)
Formula used for Avoidance (vs lvl 80)
<div style="background-color: dimgrey; margin: 0 3% 0 3%; padding: 1%; border-radius: 8px;">
enemyMissCoef = 0.956; <span style="font-style: italic; color: lawngreen">-- 0.972 for bears</span><br />
baseMissChance = 5 - (UnitLevel("player") * 5 - select(1, UnitDefense("player"))) * 0.04; <span style="font-style: italic; color: lawngreen">-- vs lvl 80</span><br />
enemyMissChance = baseMissChance + 1 / (0.0625 + enemyMissCoef / (defense * 0.04));<br />
defense = math.floor(GetCombatRatingBonus(CR_DEFENSE_SKILL));<br />
dodgeChance = GetDodgeChance();<br />
blockChance = GetBlockChance(); <span style="font-style: italic; color: lawngreen">-- optional, see options</span><br />
parryChance = GetParryChance();<br />
<br />
avoidance = dodgeChance + blockChance + parryChance + neRacial + enemyMissChance;
</div>
neRacial represents the Night Elf racial. If player is Night Elf, it is equal to 2, otherwise it's equal to 0.
Formula used for EHP
<div style="background-color: dimgrey; margin: 0 3% 0 3%; padding: 1%; border-radius: 8px;">
otherDR = classDR * buffDR;<br />
<br />
ehp = (playerMaxHealth / (1 - armorDR)) / otherDR;
</div>
classDR is the damage reduction from the talent of your class. For example, as a prot warrior, it will check if you have defensive stance active and if so add 10% of damage reduction.
buffDR is the damage reduction from the buffs. For example, Blessing of Sanctuary reduces damage taken by 3%.
<details>
<summary style="cursor: pointer; font-size: 16px; font-weight: bold; color: #3FC7EB;">DR Details (click me)</summary>
<div style="border: 2px solid dimgrey; margin-top: 1%; border-radius: 8px;">
<div style="margin-top: 0 3% 0 3%; padding: 1%;">
<span style="color: #C41E3A; font-size: 15px; font-weight: bold;">
<img src="https://wow.zamimg.com/images/wow/icons/medium/class_deathknight.jpg" style="border-radius: 50%; margin-right: 0.5rem;" />
Death Knight
</span><br />
<ul>
<li><a href="https://www.wowhead.com/wotlk/spell=55226/blade-barrier" style="color: #67BCFF">[Blood Barrier]</a> talent is taken into account by default (if player has spent points) and can provide up to 5% damage reduction (DR).</li>
<li>The <a href="https://www.wowhead.com/wotlk/spell=48263/frost-presence" style="color: #67BCFF">[Frost Presence]</a> provides 8% DR with an addition of up to 2% DR from <a href="https://www.wowhead.com/wotlk/spell=50385/improved-frost-presence" style="color: #67BCFF">[Improved Frost Presence]</a>.</li>
<li>While channeling <a href="https://www.wowhead.com/wotlk/spell=42650/army-of-the-dead" style="color: #67BCFF">[Army of the Dead]</a>, dodge and parry as damage reduction is taken into account.</li>
<li><a href="https://www.wowhead.com/wotlk/spell=48792/icebound-fortitude" style="color: #67BCFF">[Icebound Fortitude]</a> provides 30% DR (with added DR from Defense) while the buff is active. If player has <a href="https://www.wowhead.com/wotlk/spell=58625/glyph-of-icebound-fortitude" style="color: #67BCFF">[Glyph of Icebound Fortitude]</a>, the buff provides at least 40% DR.</li>
</ul>
<span style="color: #F48CBA; font-size: 15px; font-weight: bold;">
<img src="https://wow.zamimg.com/images/wow/icons/medium/class_paladin.jpg" style="border-radius: 50%; margin-right: 0.5rem;" />
Paladin
</span><br />
<ul>
<li><a href="https://www.wowhead.com/wotlk/spell=53711/shield-of-the-templar" style="color: #67BCFF">[Shield of the Templar]</a> talent can provide up to 3% DR.</li>
<li><a href="https://www.wowhead.com/wotlk/spell=20470/improved-righteous-fury" style="color: #67BCFF">[Improved Righteous Fury]</a> talent can provide up to 6% DR if player has the <a href="'https://www.wowhead.com/wotlk/spell=25780/righteous-fury" style="color: #67BCFF">[Righteous Fury]</a> buff.</li>
<li><a href="https://www.wowhead.com/wotlk/spell=63223/glyph-of-divine-plea" style="color: #67BCFF">[Glyph of Divine Plea]</a> can provide 3% DR if player has the <a href="'https://www.wowhead.com/wotlk/spell=54428/divine-plea" style="color: #67BCFF">[Divine Plea]</a> buff.</li>
</ul>
<span style="color: #C69B6D; font-size: 15px; font-weight: bold;">
<img src="https://wow.zamimg.com/images/wow/icons/medium/class_warrior.jpg" style="border-radius: 50%; margin-right: 0.5rem;" />
Warrior
</span><br />
<ul>
<li>The <a href="https://www.wowhead.com/wotlk/spell=71/defensive-stance" style="color: #67BCFF">[Defensive Stance]</a> provides 10% DR.</li>
</ul>
<span style="color: #FF7C0A; font-size: 15px; font-weight: bold;">
<img src="https://wow.zamimg.com/images/wow/icons/medium/class_druid.jpg" style="border-radius: 50%; margin-right: 0.5rem;" />
Druid
</span><br />
<ul>
<li>While in bear form, <a href="https://www.wowhead.com/wotlk/spell=57877/protector-of-the-pack" style="color: #67BCFF">[Protector of the Pack]</a> talent can provide up to 12% DR.</li>
</ul>
<span style="font-size: 15px; font-weight: bold;">
<img src="https://wow.zamimg.com/images/wow/icons/medium/inv_misc_head_dragon_01.jpg" style="border-radius: 50%; margin-right: 0.5rem;" />
Buffs
</span><br />
<ul>
<li><a href="https://www.wowhead.com/wotlk/spell=20911/blessing-of-sanctuary" style="color: #67BCFF">[Blessing of Sanctuary]</a> can provide 3% DR.</li>
<li><a href="https://www.wowhead.com/wotlk/spell=50720/vigilance" style="color: #67BCFF">[Vigilance]</a> can provide 3% DR.</li>
</ul>
</div>
</div>
</details>
Options
If you don't want to see a certain stat, you can either uncheck it in the group custom options or remove the aura corresponding to the stat.
You can choose whether to show Expertise or expertise rating in the custom options (Expertise by default).
You can also choose if you want to use a color for the labels, and which color to use.
Arms expertise talent is for taking into account the <a href="https://www.wowhead.com/wotlk/spell=20505/weapon-mastery" style="color: #67BCFF">[Weapon Mastery]</a> arms warrior talent that reduces your chances to get dodged by 2%, which is equivalent to 2 / 0.25 = 8 Expertise.
What is Crit reduction / Defense equivalence ?
"Crit reduction" is the percentage reduction in the chance of being hit by a critical strike. The cap is 5.6% for bosses. The formula is:
<div style="background-color: dimgrey; margin: 0 3% 0 3%; padding: 1%; border-radius: 8px;">
_ , armorDefense = UnitDefense("player");<br />
resilienceBonus = GetCombatRatingBonus(CR_RESILIENCE_CRIT_TAKEN);<br />
<br />
critReduction = armorDefense * 0.04 + resilienceBonus;
</div>
Feral druids also have their talent <a href="https://www.wowhead.com/wotlk/spell=33856/survival-of-the-fittest" style="color: #67BCFF">[Survival of the Fittest]</a> which can provide up to 6% crit reduction.
"Defense equivalence" (DefEq) is the representation of (defense + resilience) converted to defense. The formula is:
<div style="background-color: dimgrey; margin: 0 3% 0 3%; padding: 1%; border-radius: 8px;">
local baseDefense = UnitDefense("player");<br />
<br />
defEq = baseDefense + math.floor(critReduction / 0.04 * 100) / 100;
</div>
1 Defense = 0.04% crit reduction
1 Resilience = 0.022% crit reduction
Other
Wotlk Tank version
Wotlk Melee version
Wotlk Hunter version
Wotlk Spell version
Big thanks to <span style="color: #C69B6D; font-weight: bold;">magey</span> and <span style="color: #C69B6D; font-weight: bold;">GroxEmpire</span> from Fight Club discord for their help/verifications.
Credit for the frame system goes to triss90#2140 and his Tankadin Stats.
Please report any bug/suggestion/request in the comments. |
1、在门户里发表的文章仅代表作者本人的观点,与本网站立场无关。
2、门户的所有内容都不保证其准确性,有效性,时间性。阅读本站内容因误导等因素而造成的损失本站不承担连带责任。
3、当政府机关依照法定程序要求披露信息时,论坛均得免责。
4、若因线路及非本站所能控制范围的故障导致暂停服务期间造成的一切不便与损失,论坛不负任何责任。
5、注册会员通过任何手段和方法针对论坛进行破坏,我们有权对其行为作出处理。并保留进步追究其责任的权利。
|