Scaling Health

Scaling Health

23M Downloads

Rolling area difficulties

SirCaptainCaleb opened this issue ยท 0 comments

commented

Version

  • 1.x

What Should Be Added or Changed?

It would be nice if the difficulties felt a little more random. This could be toggled on/off by a flag in the config. I think a great formula to implement the randomizing area difficulty is the following formula:

difficulty_multiplier(x,y) = 0.5*((m+d) +(m-d)*cos(x/(pi*f))*sin(y/(pi*f)))

  • x and y: Coordinates.
  • f: The number of blocks separating the center of a high difficulty area and that of a low difficulty area.
  • d: The minimum difficulty multiplier. Areas of "safety" are at least this dangerous.
  • m: The maximum difficulty multiplier. Areas of "danger" are at most this dangerous.

I recommend a default value of maybe 1000 for f, 0.3, for d, 1.7 for m.