Item Stat Modifiers

## Description

In 7 days to die, Weapons, Tools, and Armor have various statistics such as Entity Damage, Block Damage, Durability, Attack Speed, Stamina Loss, Magazine Size, and Weapon Handling. This page aims to disambiguate how Mods, Quality, Stealth, Block Material, Difficulty and other modifiers affect the final statistic in practice.

## Mod Power

For each mod added to a Weapon, it's power (what stats?) increases by 10% regardless of whether the mod itself has a direct effect on damage. The formula is:

M
o
d
P
o
w
e
# r
0.1
×
N
u
m
O
f
M
o
d
s

{\displaystyle ModPower = 0.1 \times NumOfMods}

At a Mod Power of 0.4, 40% of the base damage will be added to the final damage.

## Quality

Each Quality level generally has an equal amount of distance between each grade, disregarding RNG.

### Durability

For example, a Wooden Club has a fixed durability of 60 at Q1 and 110 at Q6. To find the distance, use the following formula:

(
M
a
x
−
M
i
n
)
÷
# 5
D
i
s
t
a
n
c
e

{\displaystyle (Max - Min)\div 5 = Distance}

In this case,

(
110
−
60
)
÷
# 5
D
i
s
t
a
n
c
e

{\displaystyle (110 - 60) \div 5 = Distance}

50
÷
# 10
D
i
s
t
a
n
c
e

{\displaystyle 50 \div 5 = 10 = Distance}

For this example, each club has a distance of 10 between each grade. A Q1 club starts at 70, A Q2 club will have 80 durability, a Q3 will have 90, so on and so forth. It is important to note that these calculations only apply to the base values which can be found in items.xml. Other items, such as the SMG-5 will have RNG percentage modifiers applied to the base values, making these calculations more difficult.

For the sake of simplicity, this formula should work without having to think about it.

(
Q
u
a
l
i
t
y
−
1
)
×
D
i
s
t
a
n
c
# e
Q
u
a
l
i
t
y
D
u
r
a
b
i
l
i
t
y
M
o
d

{\displaystyle (Quality - 1) \times Distance = QualityDurabilityMod}

so for a Q6 club:

(6 - 1) x 10 = 50

add 50 to base (50 + 60) = 110

### Entity Damage and Block Damage

Entity Damage and Block damage are treated differently, instead opting for a +10% modifier each quality level.

## Stealth

The initial stealth multiplier is 1.5x. Each level of Hidden Strike increases the multiplier by 0.5 up to 4x. Additionally, Crossbows and bows get a special 2x flat multiplier added for their weapon class, while knives get a 4x multiplier. making the highest bow multiplier possible 6x and the highest knife multiplier 8x.

S
t
e
a
l
t
# h
1.5

{\displaystyle Stealth = 1.5}

else:

S
t
e
a
l
t
# h
0.5
×
H
i
d
d
e
n
S
t
r
i
k
e
L
e
v
e
l
3
B
o
w
M
o
d
i
f
i
e
r
K
n
i
f
e
M
o
d
i
f
i
e
r

{\displaystyle Stealth = 0.5 \times HiddenStrikeLevel+3+BowModifier+KnifeModifier}

so for hidden strike 5: 0.5 \* 8 = 4 If bow, add 2 = 6. If Knife, add 4 = 8.

it must be remembered that it is still a modification of the base value rather than a flat multiplication. Each modifier is evaluated using the base value first before entering the final damage equation:

S
t
e
a
l
t
h
M
o
# d
B
a
s
e
×
S
t
e
a
l
t
h

{\displaystyle StealthMod = Base \times Stealth}

## Durability

On top of Quality, Durability is affected by RNG and DegradationPerUse. The only items with an abnormal DegradationPerUse are the Robotic Sledge, the Robotic Turret, and the Robotic Drone, set at 0.35 rather than 1.

D
u
r
a
b
i
l
i
t
# y
Q
u
a
l
i
t
y
D
u
r
a
b
i
l
i
t
y
M
o
d
R
N
G

{\displaystyle Durability = QualityDurabilityMod + RNG}

U
s
e
# s
D
u
r
a
b
i
l
i
t
y
÷
D
e
g
r
a
d
a
t
i
o
n
P
e
r
U
s
e

{\displaystyle Uses = Durability \div DegradationPerUse}

### Equation With all modifiers

insert equation with quality + RNG + Degperuse

## RNG

RNG is a random percentage assigned within a specific range defined in items.xml. It can be positive or negative relative to the base value.

R
N
# G
R
×
b
a
s
e

{\displaystyle RNG = R \times base }

 where R is a random number within the range as specified in RNG

For example: an SMG-5 has an entity damage modifier of ±15%. Assuming Q1, it has a base entity damage of 32 with normal ammo.

Assuming the maximum roll of +15%: RNG = 0.15 x 32 = 4.8

the final damage of the Q1 SMG will be 32 + 4.8 = 36.8

## Entity Damage

equation with all possible modifiers goes here

## Block Damage

equation with all possible modifiers goes here.

## Equations

B
a
s
e
Q
u
a
l
i
t
y
D
u
r
a
b
i
l
i
t
y
M
o
d
i
f
i
e
r
R
N
# G
F
i
n
a
l
D
u
r
a
b
i
l
i
t
y

{\displaystyle Base + QualityDurabilityModifier + RNG = Final Durability}

Q
u
a
l
i
t
y
D
a
m
a
g
e
M
o
# d
(
Q
u
a
l
i
t
y

/

10
)
−
0.1

{\displaystyle QualityDamageMod = (Quality / 10) - 0.1}

(entity and block damage "tier bonus")

B
a
s
e
Q
u
a
l
i
t
y
D
a
m
a
g
e
M
o
d
R
N
G
M
o
d
P
o
w
e
r
A
d
d
i
t
i
o
n
a
l
M
o
d
i
f
i
e
r
# s
F
i
n
a
l
D
a
m
a
g
e

{\displaystyle Base + QualityDamageMod + RNG + ModPower + Additional Modifiers = Final Damage}

(further testing required, equations need touching up for accuracy)

## Notes

* AP rounds have a commented out value that would add 30% more Degradation Per Use
* Admin Tools have a Degradation Per Use value of 0