Example #1
0
 public Companion(string name,
                  int ac,
                  string hitDice,
                  int hp,
                  int currentHP,
                  string speed,
                  int strength,
                  int dexterity,
                  int constitution,
                  int intelligence,
                  int wisdom,
                  int charisma,
                  int perception,
                  string senses,
                  Pair attack,
                  Pair type,
                  Pair atkBonus,
                  Pair damage,
                  PresetPair dmgType,
                  Pair reach,
                  Pair notes)
 {
     Name         = name;
     AC           = ac;
     HitDice      = hitDice;
     HP           = hp;
     CurrentHP    = currentHP;
     Speed        = speed;
     Strength     = strength;
     Dexterity    = dexterity;
     Constitution = constitution;
     Intelligence = intelligence;
     Wisdom       = wisdom;
     Charisma     = charisma;
     Perception   = perception;
     Senses       = senses;
     Attack       = attack.Copy();
     Type         = type.Copy();
     AtkBonus     = atkBonus.Copy();
     Damage       = damage.Copy();
     DmgType      = dmgType.Copy();
     Reach        = reach.Copy();
     Notes        = notes.Copy();
 }