namespace StatHub;

[GlobalClass, Icon("res://addons/StatHub/Assets/SimpleModifier.png")]
public partial class SimpleModifier : StatModifier

A modifier that has two basic additive modification methods.

Enums:

ModificationOptions

public enum ModificationOptions
{
	FLAT_ADDITIVE = 0,
	PERCENT_ADDITIVE = 1,
}

Defines methods for applying the base modification amount to an input.

Members:

BaseModificationAmount

[Export]
public float BaseModificationAmount { get; private set; }

The base amount used to modify stats, depending on the selected ModificationOption.

This is multiplied by the level for the final value, giving linear level scaling.

ModificationOption

[Export]
public ModificationOptions ModificationOption { get; private set; }

Defines how the base modification amount is applied to an input.