Attribute Modifier Operation (Overwrite)

Data Type

A String used to specify the operation used by Attribute Modifiers.

Note

The listed values are ordered based on the order of priority; with add_base_early being applied before the other modifiers and set_total being applied last.

Warning

This command is originally an Origins/Apoli data type, but has been modified by Origins: Math to add extra functionality to it. You can find the additions created by Origins: Math along with the old values below.

Tip

For any modifiers with the apoli namespace, you may omit it when you type in the value. For example, apoli:add_base_early can also be typed as add_base_early.

Values

Value Description
apoli:add_base_early Adds the modifier value to the base value. (NewBaseValue = BaseValue + ModifierValue)
origins-math:standard_multiply_base Multiplies the current base value by the modifier value. (NewBaseValue = BaseValue * ModifierValue)
origins-math:standard_divide_base Divides the current base value by the modifier value. (NewBaseValue = BaseValue / ModifierValue)
apoli:multiply_base_additive Adds the base value multiplied by the modifier value to the current base value. (NewBaseValue = BaseValue + (BaseValue * ModifierValue))
apoli:multiply_base_multiplicative Multiplies the current base value by the modifier value + 1. (NewBaseValue = BaseValue * (1 + ModifierValue))
apoli:add_base_late Adds the modifier value to the base value. (NewBaseValue = BaseValue + ModifierValue)
apoli:min_base Sets the bigger value between the base value and the modifier value as the new base value. (NewBaseValue = (BaseValue > ModifierValue ? BaseValue : ModifierValue))
apoli:max_base Sets the smaller value between the base value and the modifier value as the new base value. (NewBaseValue = (BaseValue < ModifierValue ? BaseValue : ModifierValue))
apoli:set_base Sets the modifier value as the new base value. (NewBaseValue = ModifierValue)
origins-math:standard_multiply_total Multiplies the current total value by the modifier value. (NewTotalValue = TotalValue * ModifierValue)
origins-math:standard_divide_total Divides the current total value by the modifier value. (NewTotalValue = TotalValue / ModifierValue)
apoli:multiply_total_additive Multiplies the total value by the current total value multiplied by the modifier value. (NewTotalValue = TotalValue * (TotalValue * ModifierValue))
apoli:multiply_total_multiplicative Multiplies the total value by the modifier value + 1. (NewTotalValue = TotalValue * (1 + ModifierValue))
apoli:min_total Sets the bigger value between the total value and the modifier value as the new total value. (NewTotalValue = (TotalValue > ModifierValue ? TotalValue : ModifierValue))
apoli:max_total Sets the smaller value between the total value and the modifier value as the new total value. (NewTotalValue = (TotalValue < ModifierValue ? TotalValue : ModifierValue))
apoli:set_total Sets the modifier value as the new total value. (NewTotalValue = ModifierValue)