Class StatToStatModifier
- Namespace
- ElectricDrill.SoapRpgFramework.Stats
- Assembly
- com.electricdrill.soap-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
-
objectStatToStatModifier
Properties
Percentage
Gets the percentage of the source stat value that will be applied to the target stat.
public Percentage Percentage { get; }
Property Value
SourceStat
Gets the stat that provides the value for the modification calculation.
public Stat SourceStat { get; }
Property Value
TargetStat
Gets the stat that will be modified by the source stat.
public Stat TargetStat { get; }