Does Agility Actually Increase Your Defenses?
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
Does Agility Actually Increase Your Defenses?
The UESP isnt quite clear on this. The in game descriptions says it does, but the UESP only mentions the formula for chance to hit.
- Interkarma
- Posts: 7249
- Joined: Sun Mar 22, 2015 1:51 am
Re: Does Agility Actually Increase Your Defenses?
Agility is factored in as a modifier when calculating chance to hit. The modifier to hit is equal to difference between attacker and target divided by 10. Here's the code.
So from the player's perspective, a high AGI will lower the chance a monster will hit you, effectively increasing your defense.
Luck is also factored in much the same way. So a player with a high AGI and LCK will avoid hits more than one with a high AGI alone.
Conversely, a low AGI and LCK will make the player more prone to hits by virtue of being a clumsy, luckless oaf.
Code: Select all
// Apply agility modifier.
chanceToHitMod += (attacker.Stats.LiveAgility - target.Stats.LiveAgility) / 10;
Luck is also factored in much the same way. So a player with a high AGI and LCK will avoid hits more than one with a high AGI alone.
Code: Select all
// Apply luck modifier.
chanceToHitMod += (attacker.Stats.LiveLuck - target.Stats.LiveLuck) / 10;
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
Re: Does Agility Actually Increase Your Defenses?
Ah good to know. I think I will update the UESP with more clear info on this. Gonna plaguerize you a bit
- Interkarma
- Posts: 7249
- Joined: Sun Mar 22, 2015 1:51 am
Re: Does Agility Actually Increase Your Defenses?
Something I find really satisfying about this is that is works based on the difference between target and attacker. A theoretical monster with perfect AGI and LCK will turn the tables even on a fairly dashing swashbuckler of a player. It just has a nice RPG feel to it.
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
Re: Does Agility Actually Increase Your Defenses?
Now that I know this, I feel much more confident in playing a naked monk character with high AGI and LCK. Although, it doesnt seem quite fair that someone wearing heavy armor can still get the full benefits of that (including dodge skill) with no penalty for being encumbered...Interkarma wrote: ↑Thu Apr 15, 2021 2:28 am Something I find really satisfying about this is that is works based on the difference between target and attacker. A theoretical monster with perfect AGI and LCK will turn the tables even on a fairly dashing swashbuckler of a player. It just has a nice RPG feel to it.