HOCO Unity SDK 0.0.15-Alpha
A Web3 SDK provided by HoneyComb
|
Public Member Functions | |
ItemStats () | |
ItemStats (PrimaryStats primaryStats, SecondaryStats secondaryStats) | |
float | GetCompoundSecondaryStat (string name, string statModifier, float statMultiplier) |
This version of GetStat(string) is used to easily calculate stats based on other stats, for example, HealthRegen is calculated from Endurance. | |
Properties | |
PrimaryStats | PrimaryStats = new PrimaryStats() [get, protected set] |
SecondaryStats | SecondaryStats = new SecondaryStats() [get, protected set] |
float | CompoundSecondary_HealthRegen [get] |
An example on how calculate HealthRegen from Endurance. | |
float | CompoundSecondary_MaxHealth [get] |
An example on how calculate MaxHealth from Endurance. | |
|
inline |
References ItemStats.PrimaryStats, and ItemStats.SecondaryStats.
|
inline |
|
inline |
This version of GetStat(string) is used to easily calculate stats based on other stats, for example, HealthRegen is calculated from Endurance.
name | |
statModifier | The name of the value to use to modify the stat |
statMultiplier | The multiplier of that value to add to the result |
References BaseStats.GetStat().
|
getprotected set |
Referenced by ItemStats.ItemStats().
|
getprotected set |
Referenced by ItemStats.ItemStats().
|
get |
An example on how calculate HealthRegen from Endurance.
|
get |
An example on how calculate MaxHealth from Endurance.