HOCO Unity SDK 0.0.15-Alpha
A Web3 SDK provided by HoneyComb
Loading...
Searching...
No Matches
SecondaryStats

The Secondary Stats for the game world that are calculated from the Primary Stats. More...

Inheritance diagram for SecondaryStats:
[legend]

Public Member Functions

 SecondaryStats ()
 
 SecondaryStats (Dictionary< string, float > stats)
 
- Public Member Functions inherited from BaseStats
 BaseStats (Dictionary< string, float > stats)
 
float GetStat (string name)
 
void SetStat (string name, float value)
 

Static Public Attributes

const float k_healthRegenMultiplier = 10f
 
const string k_healthRegenModifier = nameof(PrimaryStats.Endurance)
 
const float k_maxHealthMultiplier = 5f
 
const string k_maxHealthModifier = nameof(PrimaryStats.Endurance)
 

Properties

float HealthRegen [get, set]
 Use as the Base value for adding health over time to characters when out of combat.
 
float MaxHealth [get, set]
 The max the Health can regen to from Healing Skills or HPS.
 
float ManaRegen [get, set]
 Use as the Base value for adding mana over time to characters when out of combat.
 
float MaxMana [get, set]
 The max the Mana can regen to.
 
float StaminaRegen [get, set]
 Use as the Base value for adding stamina over time to characters when out of combat.
 
float MaxStamina [get, set]
 The max the Stamina can regen to.
 
float CritChance [get, set]
 Make this a value between 0 and 100 to rep a percentage.
 
float CritPower [get, set]
 A Hard multiplier against output power for Damage Buffs and Healing.
 
- Properties inherited from BaseStats
Dictionary< string, float > Stats = new Dictionary<string, float>() [get, protected set]
 

Detailed Description

The Secondary Stats for the game world that are calculated from the Primary Stats.

Constructor & Destructor Documentation

◆ SecondaryStats() [1/2]

SecondaryStats ( )
inline

References BaseStats.Stats.

◆ SecondaryStats() [2/2]

SecondaryStats ( Dictionary< string, float > stats)
inline

References BaseStats.Stats.

Member Data Documentation

◆ k_healthRegenMultiplier

const float k_healthRegenMultiplier = 10f
static

◆ k_healthRegenModifier

const string k_healthRegenModifier = nameof(PrimaryStats.Endurance)
static

◆ k_maxHealthMultiplier

const float k_maxHealthMultiplier = 5f
static

◆ k_maxHealthModifier

const string k_maxHealthModifier = nameof(PrimaryStats.Endurance)
static

Property Documentation

◆ HealthRegen

float HealthRegen
getset

Use as the Base value for adding health over time to characters when out of combat.

◆ MaxHealth

float MaxHealth
getset

The max the Health can regen to from Healing Skills or HPS.

◆ ManaRegen

float ManaRegen
getset

Use as the Base value for adding mana over time to characters when out of combat.

◆ MaxMana

float MaxMana
getset

The max the Mana can regen to.

◆ StaminaRegen

float StaminaRegen
getset

Use as the Base value for adding stamina over time to characters when out of combat.

◆ MaxStamina

float MaxStamina
getset

The max the Stamina can regen to.

◆ CritChance

float CritChance
getset

Make this a value between 0 and 100 to rep a percentage.

◆ CritPower

float CritPower
getset

A Hard multiplier against output power for Damage Buffs and Healing.