DPB2Class ยท Utilities and settings

MathEx

Provides math ex data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public static class MathExView DPB1 version โ†’

Members and overloads

1 results
Show all members

GenerateRandomNormalDistributed

MethodLink โ†—
public static double MathEx.GenerateRandomNormalDistributed(double min, double max, bool isInteger = false)

Generates a random number from a normal distribution within specified bounds.

mindouble
The minimum value (inclusive) of the desired range.
maxdouble
The maximum value (inclusive) of the desired range.
isIntegerbool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: A random number from the normal distribution within the specified range.

DPB2 0.4.5.88 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.