''' For all of the armor listed on this site, the provided armor ratings are the base armor ratings. The actual protection your character will receive from the armor is dependent upon your skill in that armor type and any relevant perks that you have unlocked. The rating can also be improved by using smithing to change the armor's quality to "Fine", "Superior", "Exquisite", "Flawless", "Epic", or "Legendary". The armor rating only reduces physical damage, not magical damage. Each point of armor rating reduces damage by 0.12%. Approximate formulas: Item Armor rating = CEILING[ (base armor rating + item quality) × (1 + 0.4 × (skill + skill effect)/100) ] × (1 + unison perk† ) × (1 + Matching Set) × (1 + armor perk‡) Shield rating = CEILING[ (base shield rating + item quality) × (1 + 0.4 × (skill + skill effect)/100) ] × (1 + unison perk† ) × (1 + Matching Set) Displayed armor rating = SUM(item armor rating) + shield rating + armor effects Hidden armor rating = 25 per piece worn, including shields Damage reduction percentage = (displayed armor rating + hidden armor rating) × 0.12 † Custom Fit for light armor or Well Fitted for heavy armor ‡ Agile Defender for light armor or Juggernaut for heavy armor Clothing and robes do not benefit from the hidden armor rating bonus. For NPCs the skill coefficient is 1.5 instead of 0.4. Note the difference between skill effects (e.g. Fortify Light/Heavy Armor equipment, Ancient Knowledge) and armor effects (e.g. Oakflesh, The Lord Stone). Your durability against physical attacks (i.e. the amount of raw damage you can sustain) is proportional to 100/(100 − damage reduction percentage). This results in hyperbolic growth in your physical durability, up to the cap of 80% damage reduction giving a ×5 multiplier to your physical durability. Thus, the more armor rating you have, the more each additional point of armor rating is worth. The graph displayed shows the multiplier to your physical durability relative to no armor based on the displayed armor rating, assuming you are wearing all four pieces of armor (+100 hidden armor rating) and have no other effects. ''' def itemArmorRating(base = 1, quality = 0, skill = 15, unison = 1.0, match = 1.0, perk = 1.0): return 1 print (7/3)
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question