Search Results for

    Show / Hide Table of Contents

    Class StatBonus

    Stat bonuses to grant to an entity. Stat values can be edited on the fly after being applied to an entity.

    Edited stat bonuses will be reflected on the entity next frame.

    Inheritance
    object
    StatBonus
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [Serializable]
    public class StatBonus

    Properties

    abilityHasteFlat

    Declaration
    public float abilityHasteFlat { get; set; }
    Property Value
    Type Description
    float

    abilityHastePercentage

    Declaration
    public float abilityHastePercentage { get; set; }
    Property Value
    Type Description
    float

    abilityPowerFlat

    Declaration
    public float abilityPowerFlat { get; set; }
    Property Value
    Type Description
    float

    abilityPowerPercentage

    Declaration
    public float abilityPowerPercentage { get; set; }
    Property Value
    Type Description
    float

    armorFlat

    Declaration
    public float armorFlat { get; set; }
    Property Value
    Type Description
    float

    armorPercentage

    Declaration
    public float armorPercentage { get; set; }
    Property Value
    Type Description
    float

    attackDamageFlat

    Declaration
    public float attackDamageFlat { get; set; }
    Property Value
    Type Description
    float

    attackDamagePercentage

    Declaration
    public float attackDamagePercentage { get; set; }
    Property Value
    Type Description
    float

    attackRangeFlat

    Declaration
    public float attackRangeFlat { get; set; }
    Property Value
    Type Description
    float

    attackRangePercentage

    Declaration
    public float attackRangePercentage { get; set; }
    Property Value
    Type Description
    float

    attackSpeedPercentage

    Declaration
    public float attackSpeedPercentage { get; set; }
    Property Value
    Type Description
    float

    coldEffectAmpFlat

    Declaration
    public float coldEffectAmpFlat { get; set; }
    Property Value
    Type Description
    float

    critAmpFlat

    Declaration
    public float critAmpFlat { get; set; }
    Property Value
    Type Description
    float

    critAmpPercentage

    Declaration
    public float critAmpPercentage { get; set; }
    Property Value
    Type Description
    float

    critChanceFlat

    Declaration
    public float critChanceFlat { get; set; }
    Property Value
    Type Description
    float

    critChancePercentage

    Declaration
    public float critChancePercentage { get; set; }
    Property Value
    Type Description
    float

    darkEffectAmpFlat

    Declaration
    public float darkEffectAmpFlat { get; set; }
    Property Value
    Type Description
    float

    everyFourAttackStartIndexFlat

    Declaration
    public int everyFourAttackStartIndexFlat { get; set; }
    Property Value
    Type Description
    int

    fireEffectAmpFlat

    Declaration
    public float fireEffectAmpFlat { get; set; }
    Property Value
    Type Description
    float

    healthRegenFlat

    Declaration
    public float healthRegenFlat { get; set; }
    Property Value
    Type Description
    float

    healthRegenPercentage

    Declaration
    public float healthRegenPercentage { get; set; }
    Property Value
    Type Description
    float

    lightEffectAmpFlat

    Declaration
    public float lightEffectAmpFlat { get; set; }
    Property Value
    Type Description
    float

    manaRegenFlat

    Declaration
    public float manaRegenFlat { get; set; }
    Property Value
    Type Description
    float

    manaRegenPercentage

    Declaration
    public float manaRegenPercentage { get; set; }
    Property Value
    Type Description
    float

    maxHealthFlat

    Declaration
    public float maxHealthFlat { get; set; }
    Property Value
    Type Description
    float

    maxHealthPercentage

    Declaration
    public float maxHealthPercentage { get; set; }
    Property Value
    Type Description
    float

    maxManaFlat

    Declaration
    public float maxManaFlat { get; set; }
    Property Value
    Type Description
    float

    maxManaPercentage

    Declaration
    public float maxManaPercentage { get; set; }
    Property Value
    Type Description
    float

    movementSpeedPercentage

    Declaration
    public float movementSpeedPercentage { get; set; }
    Property Value
    Type Description
    float

    tenacityFlat

    Declaration
    public float tenacityFlat { get; set; }
    Property Value
    Type Description
    float

    tenacityPercentage

    Declaration
    public float tenacityPercentage { get; set; }
    Property Value
    Type Description
    float

    Methods

    Add(StatBonus)

    Declaration
    public void Add(StatBonus bonus)
    Parameters
    Type Name Description
    StatBonus bonus

    Clone()

    Declaration
    public StatBonus Clone()
    Returns
    Type Description
    StatBonus

    Multiply(float)

    Multiplies all stat bonuses by the given multiplier. Useful for scaling bonuses based on level, rarity, or other factors.

    Declaration
    public void Multiply(float multiplier)
    Parameters
    Type Name Description
    float multiplier

    The value to multiply all stat bonuses by

    Operators

    explicit operator BonusStats(StatBonus)

    Declaration
    public static explicit operator BonusStats(StatBonus bonus)
    Parameters
    Type Name Description
    StatBonus bonus
    Returns
    Type Description
    BonusStats
    In This Article
    Back to top Shape of Dreams API Documentation