Table of Contents

Namespace ElectricDrill.SoapRpgFramework.Scaling

Classes

ScalingComponent

Abstract base class for all scaling components. A scaling component calculates a value based on an entity's properties.

ScalingFormula

Represents a formula to calculate a value based on values returned by several scaling components. The calculation of each scaling component can either be based on the "self" entity (the entity that owns the formula) or the "target" entity (the entity that will be targeted by the action). For example, a scaling formula for an attack that deals the more damage the higher the enemy's armor is, can use the "self" entity to calculate the damage based on the attacker's stats and the "target" entity to calculate additional damage based on the target's armor. The final damage will be the sum of the value returned by the two scaling components.

ScalingFormulaMenuItems

Provides a menu item in the Unity Editor to create a ScalingFormula asset.

SoSetScalingComponentBase<SetType, KeyType>

Abstract base class for scaling components that work with ScriptableObject-based sets.