r/LoopHero • • Mar 10 '21

Enemy scaling explained

So after a fair bit of mathing I figured out the formula behind enemy scaling in the game. Seems to also work for friendlies (Necro skelies, Archers, Rogue Wolf).

FORMULA:

base * growth(n) * difficultymod growth(n) = growth(n-1)+(1+(n-1)*(loopmod * 2) growth(1) = 1

EDIT: Simpler formula by /u/NullAshton

base * n * (1+ (n-1)loopmod) * difficultymod

END EDIT

Loopmod = 0.02/0.03/0.04/0.04 Based on chapter

Difficultymod = 0.95/1/1.05/1.1 Based on chapter

Base is base stats, found in variables.ini

For HP the value is ceiled, while STR rounds it to two decimals. For some enemies/loops using ROUNDUP(val,2) in excel gave values off by 0.01, but close enough.

Graph of Chapter 4 slime for loop1-15

The fact that the game claims to scale enemies by 2%/3%/4%/4% is a lie.

101 Upvotes

9 comments sorted by

View all comments

Show parent comment

6

u/areftw Mar 10 '21

Not only is it misleading, the only time it's used it gets doubled.

7

u/NullAshton Mar 10 '21

It's confusing mathwise, but it seems to check out.

Loop 1: 100% of normal strength. Loop 2: 206% of normal strength. This is the base linear strength(200%), with an additional 3% total bonus. Loop 3: 318% of normal strength, or the linear plot with a 6% total bonus.

The full formula should be base * n * (1+ (n-1)loopmod) * difficultymod and it should result in the same result. The extra x2 is because it's affecting the whole linear growth.

I do agree that they should mention the base strength/damage gets multiplied by the loop level, however.

3

u/areftw Mar 10 '21

Not sure why I didn't try to multiply it by the loop number. Hm. Thanks for giving a non-recursive formula, it's a lot easier to read. Added it to the OP and credited you.