Anonymous

Thieving: Difference between revisions

From Melvor Idle
667 bytes added ,  6 November 2021
Add calculation examples for success/doubling/unique item chance
(→‎Stealth and Perception: Fix formulas that I cocked up the other day)
(Add calculation examples for success/doubling/unique item chance)
Line 53: Line 53:


==== Success Rate ====
==== Success Rate ====
The chance of success is <math>min\left(1, \tfrac{100 + \text{Stealth}}{100 + \text{Perception}}\right)</math>, resulting in a guaranteed success once the player's stealth is the same or greater than the NPC's perception. Some NPCs have a perception that is greater than the maximum possible stealth, therefore it is not always possible to guarantee each pickpocket attempt will succeed.
The chance of success is <math>min\left(1, \tfrac{100 + \text{Stealth}}{100 + \text{Perception}}\right)</math>, resulting in a guaranteed success once the player's stealth is the same or greater than the NPC's perception.
 
For example, a player who has stealth of 200 while pickpocketing the {{Icon|Bandit Thug|type=thieving}} will have a chance of success equal to <math>min\left(1, \tfrac{100 + 200}{100 + 220}\right) = 0.9375 = 93.75\%</math>.
 
Some NPCs have a perception that is greater than the maximum possible stealth, therefore it is not always possible to guarantee each pickpocket attempt will succeed.


==== Item Doubling ====
==== Item Doubling ====
The additional chance to double items due to stealth is <math>min\left(1, \tfrac{\text{Stealth}}{4 \times \text{Perception}}\right)</math>, double items can therefore be guaranteed from stealth alone if the player's stealth is at least four times the NPC's perception. This is additive with the chance to double items provided by other [[#Skill Boosts|Thieving specific]] and [[Double Loot|global]] sources (up to a maximum of 100%), and multiplicative with the 35% chance of quadruple items from the {{ItemIcon|Leprechaun}} and {{ItemIcon|Devil}} [[Summoning#Synergies|synergy]], for a potential 8x multiplier to items received from Thieving.
The additional chance to double items due to stealth is <math>min\left(1, \tfrac{\text{Stealth}}{4 \times \text{Perception}}\right)</math>, double items can therefore be guaranteed from stealth alone if the player's stealth is at least four times the NPC's perception.
 
For example, a player who has stealth of 330 while pickpocketing the {{Icon|Bandit Thug|type=thieving}} will have a chance to double equal to <math>min\left(1, \tfrac{330}{4 \times 220}\right) = 0.3750 = 37.50\%</math>.
 
This is additive with the chance to double items provided by other [[#Skill Boosts|Thieving specific]] and [[Double Loot|global]] sources (up to a maximum of 100%), and multiplicative with the 35% chance of quadruple items from the {{ItemIcon|Leprechaun}} and {{ItemIcon|Devil}} [[Summoning#Synergies|synergy]], for a potential 8x multiplier to items received from Thieving.


The item multiplier applies to all possible item drops, being: NPC common drops, general rare drops, [[#Thieving Targets|NPC unique drops]], and [[#Areas|area unique drops]].
The item multiplier applies to all possible item drops, being: NPC common drops, general rare drops, [[#Thieving Targets|NPC unique drops]], and [[#Areas|area unique drops]].


==== NPC Unique Item Chance ====
==== NPC Unique Item Chance ====
The chance to receive an NPC's unique item upon a successful pickpocket attempt is <math>\tfrac{100 + \text{Stealth}}{10000 \times \text{Perception}}</math>.
The chance to receive an NPC's unique item upon a successful pickpocket attempt is <math>\tfrac{100 + \text{Stealth}}{10\,000 \times \text{Perception}}</math>.
 
For example, a player who has stealth of 800 while pickpocketing the {{Icon|Merchant|type=thieving}} will have a unique item drop chance equal to <math>\tfrac{100 + 800}{10\,000 \times 300} = 0.0003 = 0.03\%</math>.


=== Loot ===
=== Loot ===