Example #1
0
    private protected virtual void UpdateBaseMasteryStatsValue()
    {
        Debug.Log("Warning! " + gameObject.name + " changed his BaseMasteryStats Value!");

        criticalMultiplier.ChangeBaseValue(BaseCriticalMultiplier + (mastery.GetValue() * criticalMultiplierForMastery));
        criticalChance.ChangeBaseValue(BaseCriticalChance + (mastery.GetValue() * criticalChanceForMastery));
    }
Example #2
0
    private protected virtual void UpdateBaseAgilityStatsValue()
    {
        Debug.Log("Warning! " + gameObject.name + " changed his BaseAgilityStats Value!");

        movementSpeed.ChangeBaseValue(BaseMovementSpeed + (strength.GetValue() * movementSpeedForStrenght) + (agility.GetValue() * movementSpeedForAgility));
        rotationSpeed.ChangeBaseValue(BaseRotationSpeed + (strength.GetValue() * rotationSpeedForStrenght) + (agility.GetValue() * rotationSpeedForAgility));

        attackDamage.ChangeBaseValue(BaseAttackDamage + (strength.GetValue() * attackDamageForStrenght) + (agility.GetValue() * attackDamageForAgility));

        attackSpeed.ChangeBaseValue(BaseAttackSpeed + (strength.GetValue() * attackSpeedForStrenght) + (agility.GetValue() * attackSpeedForAgility));

        armor.ChangeBaseValue(agility.GetValue() * armorForAgility);
        evasionChance.ChangeBaseValue(agility.GetValue() * evasionForAgility);
    }