示例#1
0
 //boss monster
 public Ogre(ContentManager content, int x, int y)
 {
     level        = 6;
     baseAp       = 2;
     baseHp       = 60;
     maxHp        = baseHp;
     hp           = baseHp;
     meleeAttack  = 10;
     texture      = content.Load <Texture2D>(@"Textures\Sprites\Monsters\Ogre");
     equipment[0] = new MonsterWpn();
     pos.X        = x;
     pos.Y        = y;
 }
示例#2
0
 //boss monster
 //3 heads > 3ap
 public Hydra()
 {
     moveCost           = 2;
     level              = 10;
     baseAp             = 3;
     baseHp             = 100;
     meleeAttack        = 10;
     rangedAttack       = 6;
     equipment[0]       = new MonsterWpn();
     equipment[0].range = 5;
     equipment[1]       = new MonsterWpn();
     equipment[1].range = 2;
 }
示例#3
0
 public Imp(ContentManager content, int x, int y)
 {
     level        = 1;
     baseAp       = 4;
     baseHp       = 4;
     maxHp        = baseHp;
     hp           = baseHp;
     meleeAttack  = 2;
     rangedAttack = 1;
     texture      = content.Load <Texture2D>(@"Textures\Sprites\Monsters\Imp");
     equipment[0] = new MonsterWpn();
     pos.X        = x;
     pos.Y        = y;
 }
示例#4
0
 public SkeletonArcher(ContentManager content, int x, int y)
 {
     level              = 1;
     baseAp             = 3;
     baseHp             = 8;
     maxHp              = baseHp;
     hp                 = baseHp;
     meleeAttack        = 1;
     rangedAttack       = 2;
     texture            = content.Load <Texture2D>(@"Textures\Sprites\Monsters\Skeleton");
     equipment[0]       = new MonsterWpn();
     equipment[0].range = 3;
     pos.X              = x;
     pos.Y              = y;
 }