public CreatureStats(EmployeeClass creatureClass, int level) { CanSleep = false; CanEat = false; FullName = ""; CurrentClass = creatureClass; LevelIndex = level; XP = creatureClass.Levels[level].XP; Dexterity = Math.Max(Dexterity, CurrentLevel.BaseStats.Dexterity); Constitution = Math.Max(Constitution, CurrentLevel.BaseStats.Constitution); Strength = Math.Max(Strength, CurrentLevel.BaseStats.Strength); Wisdom = Math.Max(Wisdom, CurrentLevel.BaseStats.Wisdom); Charisma = Math.Max(Charisma, CurrentLevel.BaseStats.Charisma); Intelligence = Math.Max(Intelligence, CurrentLevel.BaseStats.Intelligence); StatBuffs = new StatNums() { Charisma = 0, Constitution = 0, Dexterity = 0, Intelligence = 0, Size = 0, Strength = 0, Wisdom = 0 }; }
public CreatureStats(EmployeeClass creatureClass, int level) { CanSleep = false; CanEat = false; CanGetBored = false; FullName = ""; CurrentClass = creatureClass; AllowedTasks = CurrentClass.Actions; LevelIndex = level; XP = creatureClass.Levels[level].XP; Dexterity = Math.Max(Dexterity, CurrentLevel.BaseStats.Dexterity); Constitution = Math.Max(Constitution, CurrentLevel.BaseStats.Constitution); Strength = Math.Max(Strength, CurrentLevel.BaseStats.Strength); Wisdom = Math.Max(Wisdom, CurrentLevel.BaseStats.Wisdom); Charisma = Math.Max(Charisma, CurrentLevel.BaseStats.Charisma); Intelligence = Math.Max(Intelligence, CurrentLevel.BaseStats.Intelligence); StatBuffs = new StatNums() { Charisma = 0, Constitution = 0, Dexterity = 0, Intelligence = 0, Size = 0, Strength = 0, Wisdom = 0 }; Age = (int)Math.Max(MathFunctions.RandNormalDist(30, 15), 10); RandomSeed = MathFunctions.RandInt(int.MinValue, int.MaxValue); }
public CreatureStats() { CanSleep = false; CanEat = false; CanGetBored = false; FullName = ""; CurrentClass = new WorkerClass(); AllowedTasks = CurrentClass.Actions; LevelIndex = 0; XP = 0; IsMigratory = false; StatBuffs = new StatNums() { Charisma = 0, Constitution = 0, Dexterity = 0, Intelligence = 0, Size = 0, Strength = 0, Wisdom = 0 }; Age = (int)Math.Max(MathFunctions.RandNormalDist(30, 15), 10); RandomSeed = MathFunctions.RandInt(int.MinValue, int.MaxValue); VoicePitch = 1.0f; }
public CreatureStats() { CanSleep = false; CanEat = false; FullName = ""; CurrentClass = new WorkerClass(); LevelIndex = 0; XP = 0; StatBuffs = new StatNums() { Charisma = 0, Constitution = 0, Dexterity = 0, Intelligence = 0, Size = 0, Strength = 0, Wisdom = 0 }; }
public CreatureStats() { CanSleep = false; CanEat = false; FullName = ""; CurrentClass = new WorkerClass(); LevelIndex = 0; XP = 0; StatBuffs = new StatNums() { Charisma = 0, Constitution = 0, Dexterity = 0, Intelligence = 0, Size = 0, Strength = 0, Wisdom = 0 }; }
public CreatureStats(EmployeeClass creatureClass, int level) { CanSleep = false; CanEat = false; FullName = ""; CurrentClass = creatureClass; LevelIndex = level; XP = creatureClass.Levels[level].XP; Dexterity = Math.Max(Dexterity, CurrentLevel.BaseStats.Dexterity); Constitution = Math.Max(Constitution, CurrentLevel.BaseStats.Constitution); Strength = Math.Max(Strength, CurrentLevel.BaseStats.Strength); Wisdom = Math.Max(Wisdom, CurrentLevel.BaseStats.Wisdom); Charisma = Math.Max(Charisma, CurrentLevel.BaseStats.Charisma); Intelligence = Math.Max(Intelligence, CurrentLevel.BaseStats.Intelligence); StatBuffs = new StatNums() { Charisma = 0, Constitution = 0, Dexterity = 0, Intelligence = 0, Size = 0, Strength = 0, Wisdom = 0 }; }