Table of Contents

Class StatToStatModifier

Namespace
ElectricDrill.AstraRpgFramework.Stats
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

A ScriptableObject that defines how one stat can scale upon another stat basing on a percentage. Used to create relationships between different stats in the RPG system.

public class StatToStatModifier : ScriptableObject
Inheritance
object
StatToStatModifier

Properties

Percentage

Gets the percentage of the source stat value that will be applied to the target stat.

public Percentage Percentage { get; }

Property Value

Percentage

SourceStat

Gets the stat that provides the value for the modification calculation.

public StatSO SourceStat { get; }

Property Value

StatSO

TargetStat

Gets the stat that will be modified by the source stat.

public StatSO TargetStat { get; }

Property Value

StatSO