Tanking Points

== History & uses ==
* Addon: []
== Values ==
TankPoints Formulas
===TankPoints===
tankPoints = playerHealth / (1 - totalReduction)
===Melee Total Reduction===
totalReduction[MELEE] = 1 - ((mobCritChance * (1 + mobCritBonus) * mobCritDamageMod) + (mobCrushChance * 1.5) + (1 - mobCrushChance - mobCritChance - blockChance * blockedMod - parryChance - dodgeChance - mobMissChance)) * (1 - armorReduction) * meleeTakenMod
===Spell Total Reduction===
totalReduction[SCHOOL] = 1 - ((mobSpellCritChance * (1 + mobSpellCritBonus) * mobSpellCritDamageMod) + (1 - mobSpellCritChance - mobSpellMissChance)) * (1 - schoolReduction[SCHOOL]) * spellTakenMod
===Armor Reduction===
levelModifier = attackerLevel
 if ( levelModifier > 59 ) then
 levelModifier = levelModifier + (4.5 * (levelModifier - 59))
 end
 armorReductionTemp = armor / ((85 * levelModifier) + 400)
 armorReduction = armorReductionTemp / (armorReductionTemp + 1)
 if armorReduction > 0.75 then
 armorReduction = 0.75
 end
 if armorReduction < 0 then
 armorReduction = 0
 end
===Defense Effect===
defenseEffect = (defense - attackerLevel * 5) * 0.04 * 0.01
===Block Value From Strength===
blockValueFromStrength = (strength * 0.5) - 1
===Block Value===
blockValue = floor(blockValueFromStrength) + floor((blockValueFromItems + blockValueFromShield) * blockValueMod)
===Mob Damage (default formula)===
mobDamage = (levelModifier * 55) * meleeTakenMod * (1 - armorReduction)
===Resilience Effect===
resilienceEffect = ReverseRating(resilience, playerLevel) * 0.01
===Mob Crit Chance===
mobCritChance = max(0, 0.05 - defenseEffect - resilienceEffect)
===Mob Crit Bonus===
mobCritBonus = 1
===Mob Miss Chance===
mobMissChance = max(0, 0.05 + defenseEffect)
===Mob Crush Chance===
:(if mobLevel is +4 or more)
mobCrushChance = (mobLevel - playerLevel) * 0.1 - 0.15
===Mob Crit Damage Mod===
mobCritDamageMod = max(0, 1 - resilienceEffect * 2)
===Blocked Mod===
blockedMod = min(1, blockValue / mobDamage)
===Mob Spell Crit Chance===
mobSpellCritChance = max(0, 0 - resilienceEffect)
===Mob Spell Crit Bonus===
mobSpellCritBonus = 0.5
===Mob Spell Miss Chance===
mobSpellMissChance = 0
===Mob Spell Crit Damage Mod===
mobSpellCritDamageMod = max(0, 1 - resilienceEffect * 2)
===Resistance Reduction===
schoolReduction[SCHOOL] = 0.75 * (resistance[SCHOOL] / (mobLevel * 5))
==See also==
* Combat rating system
* AEP, HAP
* Item level
Category:Formulas and game mechanics