We have temporarily disabled Baermar Uraz's Ugly Sweater Cosmetic (all queues) due to issues affecting gameplay.

Visit the Kill Switch Master List for more information on this and other current known issues: https://forums.bhvr.com/dead-by-daylight/kb/articles/299-kill-switch-master-list
It's stats time! Sign up for our newsletter with your BHVR account by January 13 to receive your personalized 2024 Dead by Daylight stats!

Get all the details on our forums: https://forums.bhvr.com/dead-by-daylight/discussion/436478/sign-up-now-to-receive-a-recap-of-your-2024-dead-by-daylight-stats/p1?new=1

Stacking Question for the Devs (Math Stuff)

AntiJelly
AntiJelly Member Posts: 1,155
edited May 2019 in General Discussions

So, how do perks and add-ons stack?

For example, you're using "Brutal Strength" and "Shadow Dance - Blood" on Wraith, and you're kicking a Generator.

Kicking a generator requires 2 charges, and default kicking is 1 charge per second.

"Brutal Strength" adds +0.20 charges, and "SD-B" adds somewhere around +0.50 charges.

How would the equation look? Like this?

2.0 / (1.0 + 0.20 + 0.50) = ~1.18


Or like this?

2.0 / ((1.0 + 0.20) * (1.0 + 0.50)) = ~0.98


And again for something like "Fire Up", is the equation constantly changing itself or adding on to itself with each generator done?

Like, for breaking a pallet with two gens done:

2.6 / (1+0.08) = ~2.41


Or:

2.6 / ((1+0.04) * (1+0.04)) = ~2.40


I'm asking because I want to have a more thorough understanding of the math, and was wondering if it really matters the order of add-ons or perks in their respective slots.

Like if there's a difference between putting "Shadow Dance - Blood" in the leftmost add-on slot, and "Shadow Dance - White" in the rightmost slot, or vice versa. Or if there's a difference between putting Brutal Strength in the leftmost or rightmost perk slot.

Comments

  • Peanits
    Peanits Dev Posts: 7,555

    The first one. When your speed/rate is increased, the effects are added together (with a base of 1 CPS) and the time is divided by the total. Positive effects are additive while negative effects are multiplicative.

  • AntiJelly
    AntiJelly Member Posts: 1,155

    @Peanits Okay. I...thought so. Just making sure.

    So, do two of the same add-ons stack additively? I've always heard they're multiplicative, and it matters what order you put them in.

  • Peanits
    Peanits Dev Posts: 7,555

    It depends on the add-on. If it's doing something positive (e.g. increasing cooldown recovery) it will be added together and then calculated. If it's negative (e.g. reducing healing speed) it will be multiplied together.

    For example:

    Say you have add-ons and perks that increase pallet break speed. I'm pulling these numbers out of nowhere, these aren't actual numbers for all I know.

    2.6 / (1 + 0.2 + 0.5 + 0.25) ~= 1.33s


    Or if you are reducing the speed of healing speed, for instance (using coulrophobia and sloppy butcher in this example):

    16 / (1 * (1 - 0.5) * (1 - 0.2)) = 40


    McLean explained it a bit here: https://forum.deadbydaylight.com/en/discussion/comment/178984/#Comment_178984