Example #1
0
        //Base class for each individual class!
        protected PlayerClass()
        {
            HotBar.RefreshHotbar();
            HotBar.RefreshPassives();
            HotBar.UpdateRepeatAbilityTimes();

            Skill healthPotionSkill = new DrinkHealthPotion();

            AbilityLogicConditions.CreateAbilityLogicConditions(ref healthPotionSkill);
            HealthPotionAbility = (DrinkHealthPotion)healthPotionSkill;

            LastUsedAbility = DefaultAttack;
            PowerPrime      = DefaultAttack;
            Logger.DBLog.InfoFormat("[Funky] Finished Creating Player Class");
        }