Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
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
     };
 }
Exemplo n.º 3
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
     };
 }