Example #1
0
        private void FollowerSetup()
        {
            skillCooldown = new Dictionary <FollowerAttackName, float>();
            float metabolism = baseFeedee.GetStat(FeedeeStat.Metabolism);

            attackSpeed       = baseStats.GetStat(Stat.AttackSpeed);
            cooldownReduction = baseStats.GetStat(Stat.CooldownReduction);
            actionRecovery    = attackSpeed * metabolism / 100;
            digestSpeed       = metabolism / 24;
            manaConversion    = metabolism * baseStats.GetStat(Stat.Spirit) / 10000;

            AssignHungerStats();
            StartCoroutine(BuildConsumableList());
            isFoodListUpdated = true;

            // Add basic buffs to queue
            StartingAttackQueue();
        }
 private float GetInitialFullness()
 {
     return(feedeeStats.GetStat(FeedeeStat.Capacity));
 }