MULTIPLY_TOTAL

Multiplies the base by each value + 1.

For example, with a base of 3 and 2 modifiers with values 2 and 4 respectively, the total would be 45, as 3 * (1 + 2) * (1 + 4) = 45.

Functions

Link copied to clipboard
open override fun apply(base: Double, modifiers: Collection<AttributeModifier>): Double

Applies this operation to the given base value, modifying it with the given modifiers, and returns the result.

Properties

Link copied to clipboard
Link copied to clipboard