What is the formula for the chance to pickpocket and to steal (or fail to steal) items in the stores? The question is both about Daggerfall and DFU.
Regarding vanilla Daggerfall UESP points to strange formula which implies that chance to steal item depends positively on the weight and value. https://en.uesp.net/wiki/Daggerfall:Pickpocket
There is a formula from DF Chronicles, which looks like that: chance caught = (100 - pickpocket) + store level + total weight + number items. Bounded by 5% min and 95% max. Which one is correct, if any?
Pickpocket formulas
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Pickpocket formulas
I'm not good with C# or math, so if you can figure out the formula, it's here https://github.com/Interkarma/daggerfal ... er.cs#L260
- Ralzar
- Posts: 2211
- Joined: Mon Oct 07, 2019 4:11 pm
- Location: Norway
Re: Pickpocket formulas
Jay_H wrote: ↑Wed Jan 08, 2020 9:39 pm I'm not good with C# or math, so if you can figure out the formula, it's here https://github.com/Interkarma/daggerfal ... er.cs#L260
Code: Select all
// Calculate chance of being caught shoplifting items
int chance = 100 - player.Skills.GetLiveSkillValue(DFCareer.Skills.Pickpocket);
chance += shopQuality + weightAndNumItems;
return Mathf.Clamp(chance, 5, 95);
chance caught = (100 - pickpocket) + store level + total weight + number items. Bounded by 5% min and 95% max.
-
- Posts: 227
- Joined: Tue Dec 31, 2019 7:53 pm
- Location: Moscow, Russia
Re: Pickpocket formulas
Now it's clear, thanks!