Daggerfall Mod:Daggerfall Unity/Bible/Luck

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Daggerfall Unity: Luck[edit]

Note: as always, the content in this article reflects an unmodded DFU. Mods can change any of the statements made here.

Luck has the following two effects.

  • Luck adds a bonus of between 0 and 10% to your climbing chances, no bonus at 0 Luck and 10% bonus at maximum Luck. The relevant formulae are as follows:

float luckFactor = Mathf.Lerp(0, 10, luck * 0.01f);

int chance = (int) (Mathf.Lerp(basePercentSuccess, 100, skill * .01f) + luckFactor);

  • Luck grants a bonus or penalty to combat odds as follows: ((Your luck - enemy luck) / 10)%. Therefore, if you have 100 luck and an enemy had 0, you would gain 10% additional to-hit chance on every swing. If you had 20 luck and your enemy had 80, you would have a penalty of -6% to-hit chance on every swing. The luck effect in combat is coded as follows in FormulaHelper.cs:

chanceToHitMod += (attacker.Stats.LiveLuck - target.Stats.LiveLuck) / 10

For more information, see the Combat Formula page.

Luck does not affect what monsters the game creates for you, what loot the game spawns, what quests you get, or what rewards you get for quests, or anything other than the two effects listed above.