示例#1
0
 public static Character GetKnight(int index, BehaviorType bh)
 {
     Character c = new Character(bh);
     c.BasicSkills = new BasicSkills(5, 3, 6, 3, 4, 4, 4, 6, 8, 2);
     c.CC_weapon = new Sword();
     c.Armor = FullPlate();
     if (index == 0)
         c.SetImage("Square1.png");
     else
         c.SetImage("Square2.png");
     return c;
 }
示例#2
0
 public static Character GetPeasant(int index, BehaviorType bh)
 {
     Character c = new Character(bh);
     c.BasicSkills = new BasicSkills(4, 2, 2, 2, 2, 2, 2, 1, 1, 1);
     c.CC_weapon = new Axe();
     c.Armor = None();
     if (index == 0)
         c.SetImage("Square1.png");
     else
         c.SetImage("Square2.png");
     return c;
 }
示例#3
0
 public static Character GetCommoner(int index)
 {
     Character c = new Character();
     c.BasicSkills = new BasicSkills(5, 2, 3, 3, 3, 3, 3, 2, 2, 1);
     c.CC_weapon = new Sword();
     c.Armor = GetShield();
     if (index == 0)
         c.SetImage("Square1.png");
     else
         c.SetImage("Square2.png");
     return c;
 }
示例#4
0
 public static Character GetWarrior(int index)
 {
     Character c = new Character();
     c.BasicSkills = new BasicSkills(6, 3, 4, 3, 4, 4, 4, 4, 6, 2);
     c.CC_weapon = new Sword();
     c.Armor = FullPlate();
     if (index == 0)
         c.SetImage("Square1.png");
     else
         c.SetImage("Square2.png");
     return c;
 }