Exemplo n.º 1
0
        //Base class for each individual class!
        protected PlayerClass()
        {
            Hotbar.RefreshHotbar();
            Hotbar.RefreshPassives();

            Skill healthPotionSkill = new DrinkHealthPotion();
            healthPotionSkill.Initialize();
            Skill.CreateSkillLogicConditions(ref healthPotionSkill);
            HealthPotionAbility = (DrinkHealthPotion)healthPotionSkill;

            Equipment.RefreshEquippedItemsList();

            Hotbar.OnSkillsChanged += HotbarSkillsChangedHandler;

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