Modifiers
All modifiers for your weapons
Modifiers are used in Attachment to modify the stats of the affected weapon. Arguments here take advantage of the DoubleModifier and the IntModifier. When using Mechanics
, you can replace the config key with Replace_Mechanics
to override all previous mechanics. The mechanics will be added to the base list if you use Mechanics
.
DoubleModifier
We use the double modifier to modify the existing value without replacing it. Uses the format <Operation> <decimal>
. This is different than the IntModifier
because it allows decimals.
Here are valid operations:
ADD
-> Adds the decimal to the existing valueMULTIPLY
-> Multiplies the existing value by the decimalSET
-> Replaces the existing value with the decimal
IntModifier
We use the double modifier to modify the existing value without replacing it. Uses the format <Operation> <integer>
. This differs from the DoubleModifier
because it does not allow decimals.
Here are valid operations:
ADD
-> Adds the integer to the existing valueMULTIPLY
-> Multiplies the existing value by the integerSET
-> Replaces the existing value with the integer
Modifier
Last updated