Class UnitStats
Object stats/properties instance.
Inheritance
System.Object
UnitStats
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Oasys.Common.dll
Syntax
Constructors
UnitStats(Int32)
Declaration
public UnitStats(int instanceOffset)
Parameters
Type |
Name |
Description |
System.Int32 |
instanceOffset |
|
Properties
AbilityHaste
Gets the unit's ability haste.
Declaration
public float AbilityHaste { get; }
Property Value
Type |
Description |
System.Single |
|
Armor
Declaration
public float Armor { get; }
Property Value
Type |
Description |
System.Single |
|
ArmorPercentPentration
Gets the unit's armor pentration in percentage.
Declaration
public float ArmorPercentPentration { get; }
Property Value
Type |
Description |
System.Single |
|
AttackRange
Gets the unit's attack range.
Declaration
public float AttackRange { get; }
Property Value
Type |
Description |
System.Single |
|
AttackSpeedMod
Gets the unit's attack speed modifier.
Declaration
public float AttackSpeedMod { get; }
Property Value
Type |
Description |
System.Single |
|
AttackSpeedModRaw
Gets the unit's true/raw attack speed modifier.
Declaration
public float AttackSpeedModRaw { get; }
Property Value
Type |
Description |
System.Single |
|
BaseAbilityDamage
Gets the unit's base ability damage.
Declaration
public float BaseAbilityDamage { get; }
Property Value
Type |
Description |
System.Single |
|
BaseAttackDamage
Gets the unit's base attack damage.
Declaration
public float BaseAttackDamage { get; }
Property Value
Type |
Description |
System.Single |
|
BaseAttackDamageSansPercentScale
Gets the unit's base attack damage in percentage.
Declaration
public float BaseAttackDamageSansPercentScale { get; }
Property Value
Type |
Description |
System.Single |
|
BaseHPRegenRate
Gets the unit's base health regeneration rate.
Declaration
public float BaseHPRegenRate { get; }
Property Value
Type |
Description |
System.Single |
|
BonusArmor
Gets the unit's bonus armor.
Declaration
public float BonusArmor { get; }
Property Value
Type |
Description |
System.Single |
|
BonusAttackDamage
Gets the unit's bonus attack damage.
Declaration
public float BonusAttackDamage { get; }
Property Value
Type |
Description |
System.Single |
|
BonusMagicResist
Gets the unit's bonus magic resist.
Declaration
public float BonusMagicResist { get; }
Property Value
Type |
Description |
System.Single |
|
CooldownReductionPercent
Gets the unit's calculated cooldown reduction in percentage.
Declaration
public float CooldownReductionPercent { get; }
Property Value
Type |
Description |
System.Single |
|
Crit
Gets the unit's critical.
Declaration
public float Crit { get; }
Property Value
Type |
Description |
System.Single |
|
CritBonusPerc
Gets the unit's critical bonus in percentage.
Declaration
public float CritBonusPerc { get; }
Property Value
Type |
Description |
System.Single |
|
Dodge
Declaration
public float Dodge { get; }
Property Value
Type |
Description |
System.Single |
|
FlatArmorPenetration
Gets the unit's armor penetration.
Declaration
public float FlatArmorPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
FlatBaseAttackDamageMod
Gets the unit's base attack damage modifier.
Declaration
public float FlatBaseAttackDamageMod { get; }
Property Value
Type |
Description |
System.Single |
|
FlatCastRangeMod
Gets the unit's attack cast range modifier.
Declaration
public float FlatCastRangeMod { get; }
Property Value
Type |
Description |
System.Single |
|
FlatMagicDamageMod
Gets the unit's magic damage modifier in int.
Declaration
public float FlatMagicDamageMod { get; }
Property Value
Type |
Description |
System.Single |
|
FlatMagicPenetration
Gets the unit's magic penetration.
Declaration
public float FlatMagicPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
FlatMagicReduction
Gets the unit's magic reduction in int.
Declaration
public float FlatMagicReduction { get; }
Property Value
Type |
Description |
System.Single |
|
FlatPhysicalDamageMod
Gets the unit's base physical damage modifier.
Declaration
public float FlatPhysicalDamageMod { get; }
Property Value
Type |
Description |
System.Single |
|
HPRegenRate
Gets the unit's health regeneration rate.
Declaration
public float HPRegenRate { get; }
Property Value
Type |
Description |
System.Single |
|
MagicLethality
Gets the unit's magic lethality.
Declaration
public float MagicLethality { get; }
Property Value
Type |
Description |
System.Single |
|
MagicPercentPenetration
Gets the unit's magic penetration in percentage.
Declaration
public float MagicPercentPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
MagicResist
Gets the unit's magic resist.
Declaration
public float MagicResist { get; }
Property Value
Type |
Description |
System.Single |
|
MoveSpeed
Gets the unit's movement speed.
Declaration
public float MoveSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
PassiveCooldownEndTime
Gets the unit's passive cooldown end time.
Declaration
public float PassiveCooldownEndTime { get; }
Property Value
Type |
Description |
System.Single |
|
PassiveCooldownTotalTime
Gets the unit's total passive cooldown time
Declaration
public float PassiveCooldownTotalTime { get; }
Property Value
Type |
Description |
System.Single |
|
PercentAttackSpeedMod
GEts the unit's attack speed modifier in percentage scale.
Declaration
public float PercentAttackSpeedMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentBaseAttackDamageMod
Gets the unit's base attack damage modifier in percentage.
Declaration
public float PercentBaseAttackDamageMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentBasePhysicalDamageAsFlatBonusMod
Declaration
public float PercentBasePhysicalDamageAsFlatBonusMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentBonusArmorPenetration
Gets the unit's bonus armor penetration in percentage.
Declaration
public float PercentBonusArmorPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
PercentBonusMagicPenetration
Gets the unit's bonus magic penetration in percentage.
Declaration
public float PercentBonusMagicPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
PercentCCReduction
Gets the unit's crowd control reduction in percentage.
Declaration
public float PercentCCReduction { get; }
Property Value
Type |
Description |
System.Single |
|
PercentCooldownCapMod
Gets the unit's basic attack cooldown cap/max modifier in percentage.
Declaration
public float PercentCooldownCapMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentCooldownMod
Gets the unit's basic attack cooldown modifier in percentage.
Declaration
public float PercentCooldownMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentCritBonusArmorPenetration
Gets the unit's critical bonus armor penetration in percentage.
Declaration
public float PercentCritBonusArmorPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
PercentCritTotalArmorPenetration
Gets the unit's crtical total armor penetration in percentage.
Declaration
public float PercentCritTotalArmorPenetration { get; }
Property Value
Type |
Description |
System.Single |
|
PercentLifeStealMod
Gets the unit's life steam modifier in percentage.
Declaration
public float PercentLifeStealMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentMagicDamageMod
Gets the unit's magic damage modifier in percentage.
Declaration
public float PercentMagicDamageMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentMagicReduction
Gets the unit's magic reduction in percentage.
Declaration
public float PercentMagicReduction { get; }
Property Value
Type |
Description |
System.Single |
|
PercentPhysicalDamageMod
Gets the unit's physical damage modifier in percentage.
Declaration
public float PercentPhysicalDamageMod { get; }
Property Value
Type |
Description |
System.Single |
|
PercentSpellVampMod
Gets the unit's spell vamp modifier in percentage.
Declaration
public float PercentSpellVampMod { get; }
Property Value
Type |
Description |
System.Single |
|
PhysicalLethality
Gets the unit's physical lethality.
Declaration
public float PhysicalLethality { get; }
Property Value
Type |
Description |
System.Single |
|
ScaleSkinCoef
Declaration
public float ScaleSkinCoef { get; }
Property Value
Type |
Description |
System.Single |
|
TotalAbilityPower
Gets the unit's total ability power.
Declaration
public float TotalAbilityPower { get; }
Property Value
Type |
Description |
System.Single |
|
TotalAttackDamage
Gets the unit's total attack damage.
Declaration
public float TotalAttackDamage { get; }
Property Value
Type |
Description |
System.Single |
|
TotalMagicDamage
Gets the unit's total magic damage.
Declaration
public float TotalMagicDamage { get; }
Property Value
Type |
Description |
System.Single |
|
TrueAttackSpeedMod
Gets the unit's true attack speed modifier.
Declaration
[Obsolete("TrueAttackSpeedMod is deprecated, please use AttackSpeedModRaw instead.")]
public float TrueAttackSpeedMod { get; }
Property Value
Type |
Description |
System.Single |
|
Extension Methods