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: 3135
 Joined: Tue Aug 25, 2015 1:54 am
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
Come join Lysandus' Tomb, a Daggerfall Unity fan Discord.
See the Daggerfall Unity Wiki on the UESP.
See the Daggerfall Unity Wiki on the UESP.
 Ralzar
 Posts: 813
 Joined: Mon Oct 07, 2019 4:11 pm
 Location: Norway
Re: Pickpocket formulas
Jay_H wrote: ↑Wed Jan 08, 2020 9:39 pmI'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.
My released mods
"I feel like Ralzar specifically wrote those mods for me and then said "Use them". Just so he could watch me die more."
FuzzyBeanPlays
"I feel like Ralzar specifically wrote those mods for me and then said "Use them". Just so he could watch me die more."
FuzzyBeanPlays

 Posts: 198
 Joined: Tue Dec 31, 2019 7:53 pm
 Location: Moscow, Russia
Re: Pickpocket formulas
Now it's clear, thanks!