示例#1
0
 public void MakeSkill(Class @class, int @skillLevelReq, int @skillLevel, string @skillName, string @skillDescription,
     int @baseDamageValue, int @baseDamageScale, bool @passive = false)
 {
     Class = @class;
     SkillLevelReq = @skillLevelReq;
     SkillLevel = @skillLevel;
     SkillName = @skillName;
     SkillDescription = @skillDescription;
     BaseDamageValue = @baseDamageValue;
     BaseDamageScale = @baseDamageScale;
     Passive = @passive;
 }
示例#2
0
        public void AssignClass(Class @class)
        {
            CharacterClass = @class;

            Strength += CharacterClass.Strength;
            Dexterity += CharacterClass.Dexterity;
            Intelligence += CharacterClass.Intelligence;
            Vitality += CharacterClass.Vitality;

            ImagePath = CharacterClass.ImagePath;
        }