Day 。 9 我来个初级的文字游戏《魔兽世界。巫妖王之怒》

   1 using System;
   2 using System.Collections.Generic;
   3 using System.Linq;
   4 using System.Collections;
   5 using System.Text;
   6 
   7 namespace 魔兽世界巫妖王之怒
   8 {
   9     class Program
  10     {
  11         struct 战士
  12         {
  13             public int HP;
  14             public int armor;
  15             public int hurt;
  16         }
  17         struct 战士装备
  18         {
  19             public string name;
  20             public int damage;
  21 
  22         }
  23         struct 战士技能
  24         {
  25             public string name;
  26             public int damage;
  27         }
  28         struct 猎人
  29         {
  30             public int HP;
  31             public int armor;
  32             public int hurt;
  33         }
  34         struct 猎人装备
  35         {
  36             public string name;
  37             public int damage;
  38 
  39         }
  40         struct 猎人技能
  41         {
  42             public string name;
  43             public int damage;
  44 
  45         }
  46         struct 萨满
  47         {
  48             public int HP;
  49             public int armor;
  50             public int hurt;
  51         }
  52         struct 萨满装备
  53         {
  54             public string name;
  55             public int damage;
  56 
  57         }
  58         struct 萨满技能
  59         {
  60             public string name;
  61             public int damage;
  62         }
  63         struct 盗贼
  64         {
  65             public int HP;
  66             public int armor;
  67             public int hurt;
  68         }
  69         struct 盗贼装备
  70         {
  71             public string name;
  72             public int damage;
  73         }
  74         struct 盗贼技能
  75         {
  76             public string name;
  77             public int damage;
  78         }
  79         struct 法师
  80         {
  81             public int HP;
  82             public int armor;
  83             public int hurt;
  84         }
  85         struct 法师装备
  86         {
  87             public string name;
  88             public int damage;
  89 
  90         }
  91         struct 法师技能
  92         {
  93             public string name;
  94             public int damage;
  95         }
  96         struct 德鲁伊
  97         {
  98             public int HP;
  99             public int armor;
 100             public int hurt;
 101         }
 102         struct 德鲁伊装备
 103         {
 104             public string name;
 105             public int damage;
 106         }
 107         struct 德鲁伊技能
 108         {
 109             public string name;
 110             public int damage;
 111         }
 112         struct 巫妖王
 113         {
 114             public int HP;
 115             public int armor;
 116             public int hurt;
 117         }
 118         struct 巫妖王装备
 119         {
 120             public string name;
 121             public int damage;
 122         }
 123         struct 巫妖王技能
 124         {
 125             public string name;
 126             public int damage;
 127         }
 128 
 129         static void Main(string[] args)
 130         {
 131             #region 选择英雄
 132             Console.WriteLine("选择英雄:战士/猎人/萨满/盗贼/法师/德鲁伊");
 133             string choose = Console.ReadLine();
 134             #endregion
 135             #region  战士
 136 
 137             if (choose == "战士")
 138             {
 139 
 140                 Random x = new Random();
 141 
 142 
 143                 #region  角色定义
 144                 List<战士> role = new List<战士>();
 145                 战士 a = new 战士();
 146                 a.HP = 10000;
 147                 a.hurt = 220;
 148                 a.armor = 180;
 149 
 150                 List<战士装备> equipment = new List<战士装备>();
 151                 战士装备 zb1 = new 战士装备();
 152                 zb1.name = "提布的炽装备炎长剑";
 153                 zb1.damage = 300;
 154                 战士装备 zb2 = new 战士装备();
 155                 zb2.name = "奥伯莱恩.裂魂之剑";
 156                 zb2.damage = 400;
 157                 战士装备 zb3 = new 战士装备();
 158                 zb3.name = "辛洛斯.诸界的毁灭者";
 159                 zb3.damage = 600;
 160                 战士装备 zb4 = new 战士装备();
 161                 zb3.name = "斯多姆卡.灭战者";
 162                 zb3.damage = 1200;
 163                 equipment.Add(zb1);
 164                 equipment.Add(zb2);
 165                 equipment.Add(zb3);
 166                 equipment.Add(zb4);
 167 
 168                 //获得武器!!
 169                 int wq = 0;
 170                 int xxx = x.Next(1, 15);
 171                 if (xxx <= 4)
 172                 { wq = 0; }
 173                 else if (xxx > 4 && xxx <= 8)
 174                 { wq = 1; }
 175                 else if (xxx > 8 && xxx <= 12)
 176                 { wq = 2; }
 177                 else if (xxx > 12)
 178                 { wq = 3; }
 179                 a.hurt = a.hurt + equipment[wq].damage;
 180                 Console.WriteLine("战士获得武器:" + "  " + equipment[wq].name + "  " + "!");
 181                 Console.WriteLine("战士的状态属性为:" + "  " + "血量:" + a.HP + "  " + "攻击力:" + "  " + a.hurt + "  " + "防御:" + "  " + a.armor);
 182 
 183                 List<战士技能> skills = new List<战士技能>();
 184                 战士技能 jn1 = new 战士技能();
 185                 jn1.name = "冲锋";
 186                 jn1.damage = 300;
 187                 战士技能 jn2 = new 战士技能();
 188                 jn2.name = "英勇打击";
 189                 jn2.damage = 400;
 190                 战士技能 jn3 = new 战士技能();
 191                 jn3.name = "旋风斩";
 192                 jn3.damage = 600;
 193                 战士技能 jn4 = new 战士技能();
 194                 jn4.name = "天神下凡";
 195                 jn3.damage = 1200;
 196                 skills.Add(jn1);
 197                 skills.Add(jn2);
 198                 skills.Add(jn3);
 199                 skills.Add(jn4);
 200                 Console.ReadLine();
 201                 #endregion
 202 
 203 
 204                 #region BOSS定义
 205                 List<巫妖王> boss = new List<巫妖王>();
 206                 巫妖王 b = new 巫妖王();
 207                 b.HP = 10000;
 208                 b.hurt = 220;
 209                 b.armor = 180;
 210 
 211                 List<巫妖王装备> equipmentboss = new List<巫妖王装备>();
 212                 巫妖王装备 bosszb1 = new 巫妖王装备();
 213                 bosszb1.name = "黑锋重剑";
 214                 bosszb1.damage = 300;
 215                 巫妖王装备 bosszb2 = new 巫妖王装备();
 216                 bosszb2.name = "末日决战";
 217                 bosszb2.damage = 400;
 218                 巫妖王装备 bosszb3 = new 巫妖王装备();
 219                 bosszb3.name = "堕落的灰烬使者";
 220                 bosszb3.damage = 600;
 221                 巫妖王装备 bosszb4 = new 巫妖王装备();
 222                 bosszb4.name = "霜之哀伤";
 223                 bosszb4.damage = 1200;
 224                 equipmentboss.Add(bosszb1);
 225                 equipmentboss.Add(bosszb2);
 226                 equipmentboss.Add(bosszb3);
 227                 equipmentboss.Add(bosszb4);
 228 
 229                 //巫妖王武器获得
 230                 int bosswq = 0;
 231                 int bbb = x.Next(1, 15);
 232                 if (bbb <= 4)
 233                 { bosswq = 0; }
 234                 else if (bbb > 4 && bbb <= 8)
 235                 { bosswq = 1; }
 236                 else if (bbb > 8 && bbb <= 12)
 237                 { bosswq = 2; }
 238                 else
 239                 { bosswq = 3; }
 240                 b.hurt = b.hurt + equipmentboss[bosswq].damage;
 241                 Console.WriteLine("巫妖王获得武器:" + "  " + equipmentboss[bosswq].name + "  " + "!");
 242                 Console.WriteLine("巫妖王属性:" + "  " + "血量:" + b.HP + "  " + "攻击:" + "  " + b.hurt + "  " + "防御:" + "  " + b.armor);
 243 
 244 
 245                 List<巫妖王技能> skillsboss = new List<巫妖王技能>();
 246                 巫妖王技能 bossjn1 = new 巫妖王技能();
 247                 bossjn1.name = "凛风冲击";
 248                 bossjn1.damage = 300;
 249                 巫妖王技能 bossjn2 = new 巫妖王技能();
 250                 bossjn2.name = "暗影打击";
 251                 bossjn2.damage = 400;
 252                 巫妖王技能 bossjn3 = new 巫妖王技能();
 253                 bossjn3.name = "湮灭";
 254                 bossjn3.damage = 600;
 255                 巫妖王技能 bossjn4 = new 巫妖王技能();
 256                 bossjn4.name = "亡灵天灾";
 257                 bossjn4.damage = 1200;
 258                 skillsboss.Add(bossjn1);
 259                 skillsboss.Add(bossjn2);
 260                 skillsboss.Add(bossjn3);
 261                 skillsboss.Add(bossjn4);
 262                 Console.ReadLine();
 263 
 264 
 265                 //伤害统计
 266                 a.hurt = a.hurt + equipment[wq].damage - b.armor;
 267                 b.hurt = b.hurt + equipmentboss[bosswq].damage - a.armor;
 268                 Console.ReadLine();
 269                 #endregion
 270 
 271 
 272                 #region  战前准备
 273                 Console.ForegroundColor = ConsoleColor.Yellow;
 274                 Console.WriteLine("提里奥弗丁:我们会给你一个速死的,阿尔萨斯。为了千千万万被你折磨和奴役的灵魂,已经没什么好多说的了!就这样吧!勇士们!进攻!圣光,给我最后的祝福吧!赐予我力量来粉碎这些镣铐……不会再有了,阿萨斯!不会再有生命会再次因为你的怨恨而牺牲了!巫妖王~必~须~死!");
 275                 Console.ReadLine();
 276                 Console.ForegroundColor = ConsoleColor.Red;
 277                 Console.WriteLine("巫妖王:就这样?圣光所鼓吹的正义终于到来了!我应该放下霜之哀伤,然后恳求得到怜悯?当我完成一切的时候,你会直接得到这些的,你会祈求得到我的怜悯,然后我会狠狠地拒绝你(= =#).你痛苦的呼喊,将是我无尽力量的证明!我会让你活着,目击一切的终结,弗丁,我不想让圣光下最伟大的勇士错过这个可悲世界的重塑——按照我的意愿的重塑。");
 278                 Console.ReadLine();
 279                 Console.ForegroundColor = ConsoleColor.Green;
 280                 Console.ReadLine();
 281                 Console.WriteLine("勇士!准备好面对巫妖王的怒火了吗?(按任意键继续)");
 282                 Console.ForegroundColor = ConsoleColor.White;
 283                 Console.ReadLine();
 284                 Console.WriteLine("战斗开始!");
 285 
 286                 #endregion
 287 
 288 
 289                 #region  战斗
 290 
 291                 while (true)
 292                 {
 293 
 294                     Console.WriteLine("========================战斗中============================");
 295                     #region 你的回合
 296                     //技能触发
 297                     int missb = x.Next(1, 15);
 298                     if (missb < 12)
 299                     {
 300                         int qqq = 0;
 301                         int ccc = x.Next(1, 3);
 302                         if (ccc == 1)
 303                         {
 304                             int m = 0;
 305                             m = x.Next(1, 15);
 306                             if (m <= 4)
 307                             { qqq = 0; Console.ForegroundColor = ConsoleColor.Green; }
 308                             else if (m > 4 && m <= 8)
 309                             { qqq = 1; Console.ForegroundColor = ConsoleColor.Magenta; }
 310                             else if (m > 8 && m <= 12)
 311                             { qqq = 2; Console.ForegroundColor = ConsoleColor.Gray; }
 312                             else
 313                             { qqq = 3; Console.ForegroundColor = ConsoleColor.Red; }
 314                             int rs = a.hurt + skills[qqq].damage;
 315                             b.HP = b.HP - rs;
 316                             Console.WriteLine("身为勇士的你发动" + skills[qqq].name + "对巫妖王造成" + rs + "点伤害!");
 317                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
 318                             Console.ForegroundColor = ConsoleColor.White;
 319                         }
 320                         else if (ccc == 2)
 321                         {
 322                             b.HP = b.HP - a.hurt;
 323                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
 324                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
 325                         }
 326                     }
 327                     else
 328                     {
 329                         Console.ForegroundColor = ConsoleColor.DarkMagenta;
 330                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击");
 331                         Console.ForegroundColor = ConsoleColor.White;
 332                     }
 333                     System.Threading.Thread.Sleep(1000);
 334                     #endregion
 335 
 336                     #region 巫妖王回合
 337                     int missr = x.Next(1, 15);
 338                     if (missr < 12)
 339                     {
 340                         int www = 0;
 341                         int ddd = x.Next(1, 3);
 342                         if (ddd == 1)
 343                         {
 344                             int n = 0;
 345                             n = x.Next(1, 15);
 346                             if (n <= 4)
 347                             {
 348                                 www = 0;
 349                                 Console.ForegroundColor = ConsoleColor.Green;
 350                             }
 351                             else if (n > 4 && n <= 8)
 352                             {
 353                                 www = 1;
 354                                 Console.ForegroundColor = ConsoleColor.Magenta;
 355                             }
 356                             else if (n > 8 && n <= 12)
 357                             {
 358                                 www = 2;
 359                                 Console.ForegroundColor = ConsoleColor.Gray;
 360                             }
 361                             else
 362                             {
 363                                 www = 3;
 364                                 Console.ForegroundColor = ConsoleColor.Red;
 365                             }
 366                             //伤害计算,判定你剩余血量
 367                             int bs = b.hurt + skillsboss[www].damage;
 368                             a.HP = a.HP - b.hurt;
 369 
 370                             Console.WriteLine("巫妖王你发动" + skillsboss[www].name + "对你造成" + bs + "点伤害!");
 371                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
 372                             Console.ForegroundColor = ConsoleColor.White;
 373                         }
 374                         else if (ddd == 2)
 375                         {
 376                             a.HP = a.HP - b.hurt;
 377                             Console.WriteLine("巫妖王你发动" + "普通攻击" + "对你造成" + b.hurt + "点伤害!");
 378                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
 379                         }
 380 
 381                     }
 382                     else
 383                     {
 384                         Console.ForegroundColor = ConsoleColor.White;
 385                         Console.WriteLine("你巧妙的躲过了巫妖王的攻击!");
 386                         Console.ForegroundColor = ConsoleColor.White;
 387                     }
 388                     System.Threading.Thread.Sleep(1000);
 389                     #endregion
 390 
 391                     #region 看谁先死
 392                     if (a.HP < 0 && b.HP < 0)
 393                     {
 394                         Console.ForegroundColor = ConsoleColor.Yellow;
 395                         Console.Write("为身为勇士的你,高喊着:为了艾泽拉斯!!选择和巫妖王同归于尽,你的事迹流传在艾泽拉斯的每一个角落。");
 396                         break;
 397                     }
 398                     else if (a.HP > 0 && b.HP < 0)
 399                     {
 400                         Console.ForegroundColor = ConsoleColor.Magenta;
 401                         Console.WriteLine("挥动着你手中的武器,坚定着为了艾泽拉斯的信念,这一刻无数的艾泽拉斯生灵和你的信念合二为一,你斩断了巫妖王的武器,无数得到解脱灵魂含怒对巫妖王发动了最后一击,巫妖王倒下了。。。你的智慧,勇敢,无畏传遍了艾泽拉斯!");
 402                         break;
 403                     }
 404                     else if (a.HP < 0 && b.HP > 0)
 405                     {
 406                         Console.ForegroundColor = ConsoleColor.Red;
 407                         Console.WriteLine("经过一番艰苦卓绝的战斗,你倒在了巫妖王的剑下,你失败了,艾泽拉斯的生灵在巫妖王的剑下瑟瑟发抖。。");
 408                         break;
 409                     }
 410 
 411                     #endregion
 412                 }
 413                 #endregion
 414             }
 415             #endregion
 416             #region 猎人
 417 
 418             if (choose == "猎人")
 419             {
 420 
 421                 Random x = new Random();
 422 
 423 
 424                 #region  角色定义
 425                 List<猎人> role = new List<猎人>();
 426                 猎人 a = new 猎人();
 427                 a.HP = 10000;
 428                 a.hurt = 220;
 429                 a.armor = 180;
 430 
 431                 List<猎人装备> equipment = new List<猎人装备>();
 432                 猎人装备 zb1 = new 猎人装备();
 433                 zb1.name = "天火鹰弓";
 434                 zb1.damage = 300;
 435                 猎人装备 zb2 = new 猎人装备();
 436                 zb2.name = "奎尔萨拉斯金弓";
 437                 zb2.damage = 400;
 438                 猎人装备 zb3 = new 猎人装备();
 439                 zb3.name = "索达利尔.群星之怒";
 440                 zb3.damage = 600;
 441                 猎人装备 zb4 = new 猎人装备();
 442                 zb3.name = "萨斯多拉.风行者的遗产";
 443                 zb3.damage = 1200;
 444                 equipment.Add(zb1);
 445                 equipment.Add(zb2);
 446                 equipment.Add(zb3);
 447                 equipment.Add(zb4);
 448 
 449                 //获得武器!!
 450                 int wq = 0;
 451                 int xxx = x.Next(1, 15);
 452                 if (xxx <= 4)
 453                 { wq = 0; }
 454                 else if (xxx > 4 && xxx <= 8)
 455                 { wq = 1; }
 456                 else if (xxx > 8 && xxx <= 12)
 457                 { wq = 2; }
 458                 else if (xxx > 12)
 459                 { wq = 3; }
 460                 //伤害统计
 461                 a.hurt = a.hurt + equipment[wq].damage ;
 462             
 463                 Console.WriteLine("猎人获得武器:" + "  " + equipment[wq].name + "  " + "!");
 464                 Console.WriteLine("猎人的状态属性为:" + "  " + "血量:" + a.HP + "  " + "攻击力:" + "  " + a.hurt + "  " + "防御:" + "  " + a.armor);
 465 
 466                 List<猎人技能> skills = new List<猎人技能>();
 467                 猎人技能 jn1 = new 猎人技能();
 468                 jn1.name = "震荡射击";
 469                 jn1.damage = 300;
 470                 猎人技能 jn2 = new 猎人技能();
 471                 jn2.name = "奥术射击";
 472                 jn2.damage = 400;
 473                 猎人技能 jn3 = new 猎人技能();
 474                 jn3.name = "杀戮命令";
 475                 jn3.damage = 600;
 476                 猎人技能 jn4 = new 猎人技能();
 477                 jn4.name = "万兽奔腾";
 478                 jn3.damage = 1200;
 479                 skills.Add(jn1);
 480                 skills.Add(jn2);
 481                 skills.Add(jn3);
 482                 skills.Add(jn4);
 483                 Console.ReadLine();
 484                 #endregion
 485 
 486 
 487                 #region BOSS定义
 488                 List<巫妖王> boss = new List<巫妖王>();
 489                 巫妖王 b = new 巫妖王();
 490                 b.HP = 10000;
 491                 b.hurt = 220;
 492                 b.armor = 180;
 493 
 494                 List<巫妖王装备> equipmentboss = new List<巫妖王装备>();
 495                 巫妖王装备 bosszb1 = new 巫妖王装备();
 496                 bosszb1.name = "黑锋重剑";
 497                 bosszb1.damage = 300;
 498                 巫妖王装备 bosszb2 = new 巫妖王装备();
 499                 bosszb2.name = "末日决战";
 500                 bosszb2.damage = 400;
 501                 巫妖王装备 bosszb3 = new 巫妖王装备();
 502                 bosszb3.name = "堕落的灰烬使者";
 503                 bosszb3.damage = 600;
 504                 巫妖王装备 bosszb4 = new 巫妖王装备();
 505                 bosszb4.name = "霜之哀伤";
 506                 bosszb4.damage = 1200;
 507                 equipmentboss.Add(bosszb1);
 508                 equipmentboss.Add(bosszb2);
 509                 equipmentboss.Add(bosszb3);
 510                 equipmentboss.Add(bosszb4);
 511 
 512                 //巫妖王武器获得
 513                 int bosswq = 0;
 514                 int bbb = x.Next(1, 15);
 515                 if (bbb <= 4)
 516                 { bosswq = 0; }
 517                 else if (bbb > 4 && bbb <= 8)
 518                 { bosswq = 1; }
 519                 else if (bbb > 8 && bbb <= 12)
 520                 { bosswq = 2; }
 521                 else
 522                 { bosswq = 3; }
 523                 b.hurt = b.hurt + equipmentboss[bosswq].damage;
 524                 Console.WriteLine("巫妖王获得武器:" + "  " + equipmentboss[bosswq].name + "  " + "!");
 525                 Console.WriteLine("巫妖王属性:" + "  " + "血量:" + b.HP + "  " + "攻击:" + "  " + b.hurt + "  " + "防御:" + "  " + b.armor);
 526                 List<巫妖王技能> skillsboss = new List<巫妖王技能>();
 527                 巫妖王技能 bossjn1 = new 巫妖王技能();
 528                 bossjn1.name = "凛风冲击";
 529                 bossjn1.damage = 300;
 530                 巫妖王技能 bossjn2 = new 巫妖王技能();
 531                 bossjn2.name = "暗影打击";
 532                 bossjn2.damage = 400;
 533                 巫妖王技能 bossjn3 = new 巫妖王技能();
 534                 bossjn3.name = "湮灭";
 535                 bossjn3.damage = 600;
 536                 巫妖王技能 bossjn4 = new 巫妖王技能();
 537                 bossjn4.name = "亡灵天灾";
 538                 bossjn4.damage = 1200;
 539                 skillsboss.Add(bossjn1);
 540                 skillsboss.Add(bossjn2);
 541                 skillsboss.Add(bossjn3);
 542                 skillsboss.Add(bossjn4);
 543 
 544 
 545 
 546                 //伤害统计
 547                 a.hurt = a.hurt + equipment[wq].damage - b.armor;
 548                 b.hurt = b.hurt + equipmentboss[bosswq].damage - a.armor;
 549                 Console.ReadLine();
 550                 #endregion
 551 
 552 
 553                 #region  战前准备
 554                 Console.ForegroundColor = ConsoleColor.Yellow;
 555                 Console.WriteLine("提里奥弗丁:我们会给你一个速死的,阿尔萨斯。为了千千万万被你折磨和奴役的灵魂,已经没什么好多说的了!就这样吧!勇士们!进攻!圣光,给我最后的祝福吧!赐予我力量来粉碎这些镣铐……不会再有了,阿萨斯!不会再有生命会再次因为你的怨恨而牺牲了!巫妖王~必~须~死!");
 556                 Console.ReadLine();
 557                 Console.ForegroundColor = ConsoleColor.Red;
 558                 Console.WriteLine("巫妖王:就这样?圣光所鼓吹的正义终于到来了!我应该放下霜之哀伤,然后恳求得到怜悯?当我完成一切的时候,你会直接得到这些的,你会祈求得到我的怜悯,然后我会狠狠地拒绝你(= =#).你痛苦的呼喊,将是我无尽力量的证明!我会让你活着,目击一切的终结,弗丁,我不想让圣光下最伟大的勇士错过这个可悲世界的重塑——按照我的意愿的重塑。");
 559                 Console.ReadLine();
 560                 Console.ForegroundColor = ConsoleColor.Green;
 561                 Console.ReadLine();
 562                 Console.WriteLine("勇士!准备好面对巫妖王的怒火了吗?(按任意键继续)");
 563                 Console.ForegroundColor = ConsoleColor.White;
 564                 Console.ReadLine();
 565                 Console.WriteLine("战斗开始!");
 566 
 567                 #endregion
 568 
 569 
 570                 #region  战斗
 571 
 572                 while (true)
 573                 {
 574 
 575                     Console.WriteLine("========================回合开始============================");
 576                     #region 你的回合
 577                     //技能触发
 578                     int missb = x.Next(1, 15);
 579                     if (missb < 12)
 580                     {
 581                         int qqq = 0;
 582                         int ccc = x.Next(1, 3);
 583                         if (ccc == 1)
 584                         {
 585                             int m = 0;
 586                             m = x.Next(1, 15);
 587                             if (m <= 4)
 588                             { qqq = 0; Console.ForegroundColor = ConsoleColor.Green; }
 589                             else if (m > 4 && m <= 8)
 590                             { qqq = 1; Console.ForegroundColor = ConsoleColor.Magenta; }
 591                             else if (m > 8 && m <= 12)
 592                             { qqq = 2; Console.ForegroundColor = ConsoleColor.Gray; }
 593                             else
 594                             { qqq = 3; Console.ForegroundColor = ConsoleColor.Red; }
 595                             int rs = a.hurt + skills[qqq].damage;
 596                             b.HP = b.HP - rs;
 597                             Console.WriteLine("身为勇士的你发动" + skills[qqq].name + "对巫妖王造成" + rs + "点伤害!");
 598                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
 599                             Console.ForegroundColor = ConsoleColor.White;
 600                         }
 601                         else if (ccc == 2)
 602                         {
 603                             b.HP = b.HP - a.hurt;
 604                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
 605                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
 606                         }
 607                     }
 608                     else
 609                     {
 610                         Console.ForegroundColor = ConsoleColor.DarkMagenta;
 611                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击");
 612                         Console.ForegroundColor = ConsoleColor.White;
 613                     }
 614                     System.Threading.Thread.Sleep(1000);
 615                     #endregion
 616 
 617                     #region 巫妖王回合
 618                     int missr = x.Next(1, 15);
 619                     if (missr < 12)
 620                     {
 621                         int www = 0;
 622                         int ddd = x.Next(1, 3);
 623                         if (ddd == 1)
 624                         {
 625                             int n = 0;
 626                             n = x.Next(1, 15);
 627                             if (n <= 4)
 628                             {
 629                                 www = 0;
 630                                 Console.ForegroundColor = ConsoleColor.Green;
 631                             }
 632                             else if (n > 4 && n <= 8)
 633                             {
 634                                 www = 1;
 635                                 Console.ForegroundColor = ConsoleColor.Magenta;
 636                             }
 637                             else if (n > 8 && n <= 12)
 638                             {
 639                                 www = 2;
 640                                 Console.ForegroundColor = ConsoleColor.Gray;
 641                             }
 642                             else
 643                             {
 644                                 www = 3;
 645                                 Console.ForegroundColor = ConsoleColor.Red;
 646                             }
 647                             //伤害计算,判定你剩余血量
 648                             int bs = b.hurt + skillsboss[www].damage;
 649                             a.HP = a.HP - b.hurt;
 650 
 651                             Console.WriteLine("巫妖王你发动" + skillsboss[www].name + "对你造成" + bs + "点伤害!");
 652                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
 653                             Console.ForegroundColor = ConsoleColor.White;
 654                         }
 655                         else if (ddd == 2)
 656                         {
 657                             a.HP = a.HP - b.hurt;
 658                             Console.WriteLine("巫妖王你发动" + "普通攻击" + "对你造成" + b.hurt + "点伤害!");
 659                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
 660                         }
 661 
 662                     }
 663                     else
 664                     {
 665                         Console.ForegroundColor = ConsoleColor.White;
 666                         Console.WriteLine("你巧妙的躲过了巫妖王的攻击!");
 667                         Console.ForegroundColor = ConsoleColor.White;
 668                     }
 669                     System.Threading.Thread.Sleep(1000);
 670                     #endregion
 671 
 672                     #region 看谁先死
 673                     if (a.HP < 0 && b.HP < 0)
 674                     {
 675                         Console.ForegroundColor = ConsoleColor.Yellow;
 676                         Console.Write("为身为勇士的你,高喊着:为了艾泽拉斯!!选择和巫妖王同归于尽,你的事迹流传在艾泽拉斯的每一个角落。");
 677                         break;
 678                     }
 679                     else if (a.HP > 0 && b.HP < 0)
 680                     {
 681                         Console.ForegroundColor = ConsoleColor.Magenta;
 682                         Console.WriteLine("挥动着你手中的武器,坚定着为了艾泽拉斯的信念,这一刻无数的艾泽拉斯生灵和你的信念合二为一,你斩断了巫妖王的武器,无数得到解脱灵魂含怒对巫妖王发动了最后一击,巫妖王倒下了。。。你的智慧,勇敢,无畏传遍了艾泽拉斯!");
 683                         break;
 684                     }
 685                     else if (a.HP < 0 && b.HP > 0)
 686                     {
 687                         Console.ForegroundColor = ConsoleColor.Red;
 688                         Console.WriteLine("经过一番艰苦卓绝的战斗,你倒在了巫妖王的剑下,你失败了,艾泽拉斯的生灵在巫妖王的剑下瑟瑟发抖。。");
 689                         break;
 690                     }
 691 
 692                     #endregion
 693                 }
 694                 #endregion
 695             }
 696             #endregion
 697             #region 萨满
 698 
 699             if (choose == "萨满")
 700             {
 701 
 702                 Random x = new Random();
 703 
 704 
 705                 #region  角色定义
 706                 List<萨满> role = new List<萨满>();
 707                 萨满 a = new 萨满();
 708                 a.HP = 10000;
 709                 a.hurt = 220;
 710                 a.armor = 180;
 711 
 712                 List<萨满装备> equipment = new List<萨满装备>();
 713                 萨满装备 zb1 = new 萨满装备();
 714                 zb1.name = "挖掘者之炬";
 715                 zb1.damage = 300;
 716                 萨满装备 zb2 = new 萨满装备();
 717                 zb2.name = "洛卡米尔·伊洛曼希斯";
 718                 zb2.damage = 400;
 719                 萨满装备 zb3 = new 萨满装备();
 720                 zb3.name = "米瑟里奥斯,铜须的遗产";
 721                 zb3.damage = 600;
 722                 萨满装备 zb4 = new 萨满装备();
 723                 zb3.name = "毁灭之锤";
 724                 zb3.damage = 1200;
 725                 equipment.Add(zb1);
 726                 equipment.Add(zb2);
 727                 equipment.Add(zb3);
 728                 equipment.Add(zb4);
 729 
 730                 //获得武器!!
 731                 int wq = 0;
 732                 int xxx = x.Next(1, 15);
 733                 if (xxx <= 4)
 734                 { wq = 0; }
 735                 else if (xxx > 4 && xxx <= 8)
 736                 { wq = 1; }
 737                 else if (xxx > 8 && xxx <= 12)
 738                 { wq = 2; }
 739                 else if (xxx > 12)
 740                 { wq = 3; }
 741                 a.hurt = a.hurt + equipment[wq].damage;
 742                 Console.WriteLine("萨满获得武器:" + "  " + equipment[wq].name + "  " + "!");
 743                 Console.WriteLine("萨满的状态属性为:" + "  " + "血量:" + a.HP + "  " + "攻击力:" + "  " + a.hurt + "  " + "防御:" + "  " + a.armor);
 744 
 745                 List<萨满技能> skills = new List<萨满技能>();
 746                 萨满技能 jn1 = new 萨满技能();
 747                 jn1.name = "大地震击";
 748                 jn1.damage = 300;
 749                 萨满技能 jn2 = new 萨满技能();
 750                 jn2.name = "烈焰震击";
 751                 jn2.damage = 400;
 752                 萨满技能 jn3 = new 萨满技能();
 753                 jn3.name = "闪电链";
 754                 jn3.damage = 600;
 755                 萨满技能 jn4 = new 萨满技能();
 756                 jn4.name = "火元素图腾";
 757                 jn3.damage = 1200;
 758                 skills.Add(jn1);
 759                 skills.Add(jn2);
 760                 skills.Add(jn3);
 761                 skills.Add(jn4);
 762                 Console.ReadLine();
 763                 #endregion
 764 
 765 
 766                 #region BOSS定义
 767                 List<巫妖王> boss = new List<巫妖王>();
 768                 巫妖王 b = new 巫妖王();
 769                 b.HP = 10000;
 770                 b.hurt = 220;
 771                 b.armor = 180;
 772 
 773                 List<巫妖王装备> equipmentboss = new List<巫妖王装备>();
 774                 巫妖王装备 bosszb1 = new 巫妖王装备();
 775                 bosszb1.name = "黑锋重剑";
 776                 bosszb1.damage = 300;
 777                 巫妖王装备 bosszb2 = new 巫妖王装备();
 778                 bosszb2.name = "末日决战";
 779                 bosszb2.damage = 400;
 780                 巫妖王装备 bosszb3 = new 巫妖王装备();
 781                 bosszb3.name = "堕落的灰烬使者";
 782                 bosszb3.damage = 600;
 783                 巫妖王装备 bosszb4 = new 巫妖王装备();
 784                 bosszb4.name = "霜之哀伤";
 785                 bosszb4.damage = 1200;
 786                 equipmentboss.Add(bosszb1);
 787                 equipmentboss.Add(bosszb2);
 788                 equipmentboss.Add(bosszb3);
 789                 equipmentboss.Add(bosszb4);
 790 
 791                 //巫妖王武器获得
 792                 int bosswq = 0;
 793                 int bbb = x.Next(1, 15);
 794                 if (bbb <= 4)
 795                 { bosswq = 0; }
 796                 else if (bbb > 4 && bbb <= 8)
 797                 { bosswq = 1; }
 798                 else if (bbb > 8 && bbb <= 12)
 799                 { bosswq = 2; }
 800                 else
 801                 { bosswq = 3; }
 802                 b.hurt = b.hurt + equipmentboss[bosswq].damage;
 803                 Console.WriteLine("巫妖王获得武器:" + "  " + equipmentboss[bosswq].name + "  " + "!");
 804                 Console.WriteLine("巫妖王属性:" + "  " + "血量:" + b.HP + "  " + "攻击:" + "  " + b.hurt + "  " + "防御:" + "  " + b.armor);
 805 
 806 
 807 
 808 
 809                 List<巫妖王技能> skillsboss = new List<巫妖王技能>();
 810                 巫妖王技能 bossjn1 = new 巫妖王技能();
 811                 bossjn1.name = "凛风冲击";
 812                 bossjn1.damage = 300;
 813                 巫妖王技能 bossjn2 = new 巫妖王技能();
 814                 bossjn2.name = "暗影打击";
 815                 bossjn2.damage = 400;
 816                 巫妖王技能 bossjn3 = new 巫妖王技能();
 817                 bossjn3.name = "湮灭";
 818                 bossjn3.damage = 600;
 819                 巫妖王技能 bossjn4 = new 巫妖王技能();
 820                 bossjn4.name = "亡灵天灾";
 821                 bossjn4.damage = 1200;
 822                 skillsboss.Add(bossjn1);
 823                 skillsboss.Add(bossjn2);
 824                 skillsboss.Add(bossjn3);
 825                 skillsboss.Add(bossjn4);
 826 
 827                 #endregion
 828 
 829 
 830                 #region  战前准备
 831 
 832                 //伤害统计
 833                 a.hurt = a.hurt + equipment[wq].damage - b.armor;
 834                 b.hurt = b.hurt + equipmentboss[bosswq].damage - a.armor;
 835                 Console.ReadLine();
 836                 Console.ForegroundColor = ConsoleColor.Yellow;
 837                 Console.WriteLine("提里奥弗丁:我们会给你一个速死的,阿尔萨斯。为了千千万万被你折磨和奴役的灵魂,已经没什么好多说的了!就这样吧!勇士们!进攻!圣光,给我最后的祝福吧!赐予我力量来粉碎这些镣铐……不会再有了,阿萨斯!不会再有生命会再次因为你的怨恨而牺牲了!巫妖王~必~须~死!");
 838                 Console.ReadLine();
 839                 Console.ForegroundColor = ConsoleColor.Red;
 840                 Console.WriteLine("巫妖王:就这样?圣光所鼓吹的正义终于到来了!我应该放下霜之哀伤,然后恳求得到怜悯?当我完成一切的时候,你会直接得到这些的,你会祈求得到我的怜悯,然后我会狠狠地拒绝你(= =#).你痛苦的呼喊,将是我无尽力量的证明!我会让你活着,目击一切的终结,弗丁,我不想让圣光下最伟大的勇士错过这个可悲世界的重塑——按照我的意愿的重塑。");
 841                 Console.ReadLine();
 842                 Console.ForegroundColor = ConsoleColor.Green;
 843                 Console.ReadLine();
 844                 Console.WriteLine("勇士!准备好面对巫妖王的怒火了吗?(按任意键继续)");
 845                 Console.ForegroundColor = ConsoleColor.White;
 846                 Console.ReadLine();
 847                 Console.WriteLine("战斗开始!");
 848 
 849                 #endregion
 850 
 851 
 852                 #region  战斗
 853 
 854                 while (true)
 855                 {
 856 
 857                     Console.WriteLine("========================回合开始============================");
 858                     #region 你的回合
 859                     //技能触发
 860                     int missb = x.Next(1, 15);
 861                     if (missb < 12)
 862                     {
 863                         int qqq = 0;
 864                         int ccc = x.Next(1, 3);
 865                         if (ccc == 1)
 866                         {
 867                             int m = 0;
 868                             m = x.Next(1, 15);
 869                             if (m <= 4)
 870                             { qqq = 0; Console.ForegroundColor = ConsoleColor.Green; }
 871                             else if (m > 4 && m <= 8)
 872                             { qqq = 1; Console.ForegroundColor = ConsoleColor.Magenta; }
 873                             else if (m > 8 && m <= 12)
 874                             { qqq = 2; Console.ForegroundColor = ConsoleColor.Gray; }
 875                             else
 876                             { qqq = 3; Console.ForegroundColor = ConsoleColor.Red; }
 877                             int rs = a.hurt + skills[qqq].damage;
 878                             b.HP = b.HP - rs;
 879                             Console.WriteLine("身为勇士的你发动" + skills[qqq].name + "对巫妖王造成" + rs + "点伤害!");
 880                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
 881                             Console.ForegroundColor = ConsoleColor.White;
 882                         }
 883                         else if (ccc == 2)
 884                         {
 885                             b.HP = b.HP - a.hurt;
 886                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
 887                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
 888                         }
 889                     }
 890                     else
 891                     {
 892                         Console.ForegroundColor = ConsoleColor.DarkMagenta;
 893                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击");
 894                         Console.ForegroundColor = ConsoleColor.White;
 895                     }
 896                     System.Threading.Thread.Sleep(1000);
 897                     #endregion
 898 
 899                     #region 巫妖王回合
 900                     int missr = x.Next(1, 15);
 901                     if (missr < 12)
 902                     {
 903                         int www = 0;
 904                         int ddd = x.Next(1, 3);
 905                         if (ddd == 1)
 906                         {
 907                             int n = 0;
 908                             n = x.Next(1, 15);
 909                             if (n <= 4)
 910                             {
 911                                 www = 0;
 912                                 Console.ForegroundColor = ConsoleColor.Green;
 913                             }
 914                             else if (n > 4 && n <= 8)
 915                             {
 916                                 www = 1;
 917                                 Console.ForegroundColor = ConsoleColor.Magenta;
 918                             }
 919                             else if (n > 8 && n <= 12)
 920                             {
 921                                 www = 2;
 922                                 Console.ForegroundColor = ConsoleColor.Gray;
 923                             }
 924                             else
 925                             {
 926                                 www = 3;
 927                                 Console.ForegroundColor = ConsoleColor.Red;
 928                             }
 929                             //伤害计算,判定你剩余血量
 930                             int bs = b.hurt + skillsboss[www].damage;
 931                             a.HP = a.HP - b.hurt;
 932 
 933                             Console.WriteLine("巫妖王你发动" + skillsboss[www].name + "对你造成" + bs + "点伤害!");
 934                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
 935                             Console.ForegroundColor = ConsoleColor.White;
 936                         }
 937                         else if (ddd == 2)
 938                         {
 939                             a.HP = a.HP - b.hurt;
 940                             Console.WriteLine("巫妖王你发动" + "普通攻击" + "对你造成" + b.hurt + "点伤害!");
 941                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
 942                         }
 943 
 944                     }
 945                     else
 946                     {
 947                         Console.ForegroundColor = ConsoleColor.White;
 948                         Console.WriteLine("你巧妙的躲过了巫妖王的攻击!");
 949                         Console.ForegroundColor = ConsoleColor.White;
 950                     }
 951                     System.Threading.Thread.Sleep(1000);
 952                     #endregion
 953 
 954                     #region 看谁先死
 955                     if (a.HP < 0 && b.HP < 0)
 956                     {
 957                         Console.ForegroundColor = ConsoleColor.Yellow;
 958                         Console.Write("为身为勇士的你,高喊着:为了艾泽拉斯!!选择和巫妖王同归于尽,你的事迹流传在艾泽拉斯的每一个角落。");
 959                         break;
 960                     }
 961                     else if (a.HP > 0 && b.HP < 0)
 962                     {
 963                         Console.ForegroundColor = ConsoleColor.Magenta;
 964                         Console.WriteLine("挥动着你手中的武器,坚定着为了艾泽拉斯的信念,这一刻无数的艾泽拉斯生灵和你的信念合二为一,你斩断了巫妖王的武器,无数得到解脱灵魂含怒对巫妖王发动了最后一击,巫妖王倒下了。。。你的智慧,勇敢,无畏传遍了艾泽拉斯!");
 965                         break;
 966                     }
 967                     else if (a.HP < 0 && b.HP > 0)
 968                     {
 969                         Console.ForegroundColor = ConsoleColor.Red;
 970                         Console.WriteLine("经过一番艰苦卓绝的战斗,你倒在了巫妖王的剑下,你失败了,艾泽拉斯的生灵在巫妖王的剑下瑟瑟发抖。。");
 971                         break;
 972                     }
 973 
 974                     #endregion
 975 
 976                 #endregion
 977                 }
 978             }
 979             #endregion
 980             #region 盗贼
 981 
 982             if (choose == "盗贼")
 983             {
 984 
 985                 Random x = new Random();
 986 
 987 
 988                 #region  角色定义
 989                 List<盗贼> role = new List<盗贼>();
 990                 盗贼 a = new 盗贼();
 991                 a.HP = 10000;
 992                 a.hurt = 220;
 993                 a.armor = 180;
 994 
 995                 List<盗贼装备> equipment = new List<盗贼装备>();
 996                 盗贼装备 zb1 = new 盗贼装备();
 997                 zb1.name = "考达拉寒风匕首";
 998                 zb1.damage = 300;
 999                 盗贼装备 zb2 = new 盗贼装备();
1000                 zb2.name = "谋杀";
1001                 zb2.damage = 400;
1002                 盗贼装备 zb3 = new 盗贼装备();
1003                 zb3.name = "泰尔萨斯,鲜血之王的匕首";
1004                 zb3.damage = 600;
1005                 盗贼装备 zb4 = new 盗贼装备();
1006                 zb3.name = "苦痛与哀伤";
1007                 zb3.damage = 1200;
1008                 equipment.Add(zb1);
1009                 equipment.Add(zb2);
1010                 equipment.Add(zb3);
1011                 equipment.Add(zb4);
1012 
1013                 //获得武器!!
1014                 int wq = 0;
1015                 int xxx = x.Next(1, 15);
1016                 if (xxx <= 4)
1017                 { wq = 0; }
1018                 else if (xxx > 4 && xxx <= 8)
1019                 { wq = 1; }
1020                 else if (xxx > 8 && xxx <= 12)
1021                 { wq = 2; }
1022                 else if (xxx > 12)
1023                 { wq = 3; }
1024                 a.hurt = a.hurt + equipment[wq].damage;
1025                 Console.WriteLine("盗贼获得武器:" + "  " + equipment[wq].name + "  " + "!");
1026                 Console.WriteLine("盗贼的状态属性为:" + "  " + "血量:" + a.HP + "  " + "攻击力:" + "  " + a.hurt + "  " + "防御:" + "  " + a.armor);
1027 
1028                 List<盗贼技能> skills = new List<盗贼技能>();
1029                 盗贼技能 jn1 = new 盗贼技能();
1030                 jn1.name = "背刺";
1031                 jn1.damage = 300;
1032                 盗贼技能 jn2 = new 盗贼技能();
1033                 jn2.name = "肾击";
1034                 jn2.damage = 400;
1035                 盗贼技能 jn3 = new 盗贼技能();
1036                 jn3.name = "剔骨";
1037                 jn3.damage = 600;
1038                 盗贼技能 jn4 = new 盗贼技能();
1039                 jn4.name = "天降杀机";
1040                 jn3.damage = 1200;
1041                 skills.Add(jn1);
1042                 skills.Add(jn2);
1043                 skills.Add(jn3);
1044                 skills.Add(jn4);
1045                 Console.ReadLine();
1046                 #endregion
1047 
1048 
1049                 #region BOSS定义
1050                 List<巫妖王> boss = new List<巫妖王>();
1051                 巫妖王 b = new 巫妖王();
1052                 b.HP = 10000;
1053                 b.hurt = 220;
1054                 b.armor = 180;
1055 
1056                 List<巫妖王装备> equipmentboss = new List<巫妖王装备>();
1057                 巫妖王装备 bosszb1 = new 巫妖王装备();
1058                 bosszb1.name = "黑锋重剑";
1059                 bosszb1.damage = 300;
1060                 巫妖王装备 bosszb2 = new 巫妖王装备();
1061                 bosszb2.name = "末日决战";
1062                 bosszb2.damage = 400;
1063                 巫妖王装备 bosszb3 = new 巫妖王装备();
1064                 bosszb3.name = "堕落的灰烬使者";
1065                 bosszb3.damage = 600;
1066                 巫妖王装备 bosszb4 = new 巫妖王装备();
1067                 bosszb4.name = "霜之哀伤";
1068                 bosszb4.damage = 1200;
1069                 equipmentboss.Add(bosszb1);
1070                 equipmentboss.Add(bosszb2);
1071                 equipmentboss.Add(bosszb3);
1072                 equipmentboss.Add(bosszb4);
1073 
1074                 //巫妖王武器获得
1075                 int bosswq = 0;
1076                 int bbb = x.Next(1, 15);
1077                 if (bbb <= 4)
1078                 { bosswq = 0; }
1079                 else if (bbb > 4 && bbb <= 8)
1080                 { bosswq = 1; }
1081                 else if (bbb > 8 && bbb <= 12)
1082                 { bosswq = 2; }
1083                 else
1084                 { bosswq = 3; }
1085                 b.hurt = b.hurt + equipmentboss[bosswq].damage;
1086                 Console.WriteLine("巫妖王获得武器:" + "  " + equipmentboss[bosswq].name + "  " + "!");
1087                 Console.WriteLine("巫妖王属性:" + "  " + "血量:" + b.HP + "  " + "攻击:" + "  " + b.hurt + "  " + "防御:" + "  " + b.armor);
1088 
1089 
1090 
1091 
1092                 List<巫妖王技能> skillsboss = new List<巫妖王技能>();
1093                 巫妖王技能 bossjn1 = new 巫妖王技能();
1094                 bossjn1.name = "凛风冲击";
1095                 bossjn1.damage = 300;
1096                 巫妖王技能 bossjn2 = new 巫妖王技能();
1097                 bossjn2.name = "暗影打击";
1098                 bossjn2.damage = 400;
1099                 巫妖王技能 bossjn3 = new 巫妖王技能();
1100                 bossjn3.name = "湮灭";
1101                 bossjn3.damage = 600;
1102                 巫妖王技能 bossjn4 = new 巫妖王技能();
1103                 bossjn4.name = "亡灵天灾";
1104                 bossjn4.damage = 1200;
1105                 skillsboss.Add(bossjn1);
1106                 skillsboss.Add(bossjn2);
1107                 skillsboss.Add(bossjn3);
1108                 skillsboss.Add(bossjn4);
1109 
1110                 #endregion
1111 
1112 
1113                 #region  战前准备
1114 
1115                 //伤害统计
1116                 a.hurt = a.hurt + equipment[wq].damage - b.armor;
1117                 b.hurt = b.hurt + equipmentboss[bosswq].damage - a.armor;
1118                 Console.ReadLine();
1119                 Console.ForegroundColor = ConsoleColor.Yellow;
1120                 Console.WriteLine("提里奥弗丁:我们会给你一个速死的,阿尔萨斯。为了千千万万被你折磨和奴役的灵魂,已经没什么好多说的了!就这样吧!勇士们!进攻!圣光,给我最后的祝福吧!赐予我力量来粉碎这些镣铐……不会再有了,阿萨斯!不会再有生命会再次因为你的怨恨而牺牲了!巫妖王~必~须~死!");
1121                 Console.ReadLine();
1122                 Console.ForegroundColor = ConsoleColor.Red;
1123                 Console.WriteLine("巫妖王:就这样?圣光所鼓吹的正义终于到来了!我应该放下霜之哀伤,然后恳求得到怜悯?当我完成一切的时候,你会直接得到这些的,你会祈求得到我的怜悯,然后我会狠狠地拒绝你(= =#).你痛苦的呼喊,将是我无尽力量的证明!我会让你活着,目击一切的终结,弗丁,我不想让圣光下最伟大的勇士错过这个可悲世界的重塑——按照我的意愿的重塑。");
1124                 Console.ReadLine();
1125                 Console.ForegroundColor = ConsoleColor.Green;
1126                 Console.ReadLine();
1127                 Console.WriteLine("勇士!准备好面对巫妖王的怒火了吗?(按任意键继续)");
1128                 Console.ForegroundColor = ConsoleColor.White;
1129                 Console.ReadLine();
1130                 Console.WriteLine("战斗开始!");
1131 
1132                 #endregion
1133 
1134 
1135                 #region  战斗
1136 
1137                 while (true)
1138                 {
1139 
1140                     Console.WriteLine("========================回合开始============================");
1141                     #region 你的回合
1142                     //技能触发
1143                     int missb = x.Next(1, 15);
1144                     if (missb < 12)
1145                     {
1146                         int qqq = 0;
1147                         int ccc = x.Next(1, 3);
1148                         if (ccc == 1)
1149                         {
1150                             int m = 0;
1151                             m = x.Next(1, 15);
1152                             if (m <= 4)
1153                             { qqq = 0; Console.ForegroundColor = ConsoleColor.Green; }
1154                             else if (m > 4 && m <= 8)
1155                             { qqq = 1; Console.ForegroundColor = ConsoleColor.Magenta; }
1156                             else if (m > 8 && m <= 12)
1157                             { qqq = 2; Console.ForegroundColor = ConsoleColor.Gray; }
1158                             else
1159                             { qqq = 3; Console.ForegroundColor = ConsoleColor.Red; }
1160                             int rs = a.hurt + skills[qqq].damage;
1161                             b.HP = b.HP - rs;
1162                             Console.WriteLine("身为勇士的你发动" + skills[qqq].name + "对巫妖王造成" + rs + "点伤害!");
1163                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1164                             Console.ForegroundColor = ConsoleColor.White;
1165                         }
1166                         else if (ccc == 2)
1167                         {
1168                             b.HP = b.HP - a.hurt;
1169                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
1170                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1171                         }
1172                     }
1173                     else
1174                     {
1175                         Console.ForegroundColor = ConsoleColor.DarkMagenta;
1176                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击");
1177                         Console.ForegroundColor = ConsoleColor.White;
1178                     }
1179                     System.Threading.Thread.Sleep(1000);
1180                     #endregion
1181 
1182                     #region 巫妖王回合
1183                     int missr = x.Next(1, 15);
1184                     if (missr < 12)
1185                     {
1186                         int www = 0;
1187                         int ddd = x.Next(1, 3);
1188                         if (ddd == 1)
1189                         {
1190                             int n = 0;
1191                             n = x.Next(1, 15);
1192                             if (n <= 4)
1193                             {
1194                                 www = 0;
1195                                 Console.ForegroundColor = ConsoleColor.Green;
1196                             }
1197                             else if (n > 4 && n <= 8)
1198                             {
1199                                 www = 1;
1200                                 Console.ForegroundColor = ConsoleColor.Magenta;
1201                             }
1202                             else if (n > 8 && n <= 12)
1203                             {
1204                                 www = 2;
1205                                 Console.ForegroundColor = ConsoleColor.Gray;
1206                             }
1207                             else
1208                             {
1209                                 www = 3;
1210                                 Console.ForegroundColor = ConsoleColor.Red;
1211                             }
1212                             //伤害计算,判定你剩余血量
1213                             int bs = b.hurt + skillsboss[www].damage;
1214                             a.HP = a.HP - b.hurt;
1215 
1216                             Console.WriteLine("巫妖王你发动" + skillsboss[www].name + "对你造成" + bs + "点伤害!");
1217                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
1218                             Console.ForegroundColor = ConsoleColor.White;
1219                         }
1220                         else if (ddd == 2)
1221                         {
1222                             a.HP = a.HP - b.hurt;
1223                             Console.WriteLine("巫妖王你发动" + "普通攻击" + "对你造成" + b.hurt + "点伤害!");
1224                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
1225                         }
1226 
1227                     }
1228                     else
1229                     {
1230                         Console.ForegroundColor = ConsoleColor.White;
1231                         Console.WriteLine("你巧妙的躲过了巫妖王的攻击!");
1232                         Console.ForegroundColor = ConsoleColor.White;
1233                     }
1234                     System.Threading.Thread.Sleep(1000);
1235                     #endregion
1236 
1237                     #region 看谁先死
1238                     if (a.HP < 0 && b.HP < 0)
1239                     {
1240                         Console.ForegroundColor = ConsoleColor.Yellow;
1241                         Console.Write("为身为勇士的你,高喊着:为了艾泽拉斯!!选择和巫妖王同归于尽,你的事迹流传在艾泽拉斯的每一个角落。");
1242                         break;
1243                     }
1244                     else if (a.HP > 0 && b.HP < 0)
1245                     {
1246                         Console.ForegroundColor = ConsoleColor.Magenta;
1247                         Console.WriteLine("挥动着你手中的武器,坚定着为了艾泽拉斯的信念,这一刻无数的艾泽拉斯生灵和你的信念合二为一,你斩断了巫妖王的武器,无数得到解脱灵魂含怒对巫妖王发动了最后一击,巫妖王倒下了。。。你的智慧,勇敢,无畏传遍了艾泽拉斯!");
1248                         break;
1249                     }
1250                     else if (a.HP < 0 && b.HP > 0)
1251                     {
1252                         Console.ForegroundColor = ConsoleColor.Red;
1253                         Console.WriteLine("经过一番艰苦卓绝的战斗,你倒在了巫妖王的剑下,你失败了,艾泽拉斯的生灵在巫妖王的剑下瑟瑟发抖。。");
1254                         break;
1255                     }
1256 
1257                     #endregion
1258                 }
1259 
1260                 #endregion
1261             }
1262             #endregion
1263             #region 法师
1264 
1265             if (choose == "法师")
1266             {
1267 
1268                 Random x = new Random();
1269 
1270 
1271                 #region  角色定义
1272                 List<法师> role = new List<法师>();
1273                 法师 a = new 法师();
1274                 a.HP = 10000;
1275                 a.hurt = 220;
1276                 a.armor = 180;
1277 
1278                 List<法师装备> equipment = new List<法师装备>();
1279                 法师装备 zb1 = new 法师装备();
1280                 zb1.name = "娅尔罗的意志";
1281                 zb1.damage = 300;
1282                 法师装备 zb2 = new 法师装备();
1283                 zb2.name = "辛多雷金杖";
1284                 zb2.damage = 400;
1285                 法师装备 zb3 = new 法师装备();
1286                 zb3.name = "埃提耶什·守护者的传说之杖";
1287                 zb3.damage = 600;
1288                 法师装备 zb4 = new 法师装备();
1289                 zb3.name = "艾露尼斯,护法者之杖";
1290                 zb3.damage = 1200;
1291                 equipment.Add(zb1);
1292                 equipment.Add(zb2);
1293                 equipment.Add(zb3);
1294                 equipment.Add(zb4);
1295 
1296                 //获得武器!!
1297                 int wq = 0;
1298                 int xxx = x.Next(1, 15);
1299                 if (xxx <= 4)
1300                 { wq = 0; }
1301                 else if (xxx > 4 && xxx <= 8)
1302                 { wq = 1; }
1303                 else if (xxx > 8 && xxx <= 12)
1304                 { wq = 2; }
1305                 else if (xxx > 12)
1306                 { wq = 3; }
1307                 a.hurt = a.hurt + equipment[wq].damage;
1308                 Console.WriteLine("法师获得武器:" + "  " + equipment[wq].name + "  " + "!");
1309                 Console.WriteLine("法师的状态属性为:" + "  " + "血量:" + a.HP + "  " + "攻击力:" + "  " + a.hurt + "  " + "防御:" + "  " + a.armor);
1310 
1311                 List<法师技能> skills = new List<法师技能>();
1312                 法师技能 jn1 = new 法师技能();
1313                 jn1.name = "寒冰箭";
1314                 jn1.damage = 300;
1315                 法师技能 jn2 = new 法师技能();
1316                 jn2.name = "冰刺";
1317                 jn2.damage = 400;
1318                 法师技能 jn3 = new 法师技能();
1319                 jn3.name = "寒冰炸弹";
1320                 jn3.damage = 600;
1321                 法师技能 jn4 = new 法师技能();
1322                 jn4.name = "彗星风暴";
1323                 jn3.damage = 1200;
1324                 skills.Add(jn1);
1325                 skills.Add(jn2);
1326                 skills.Add(jn3);
1327                 skills.Add(jn4);
1328                 Console.ReadLine();
1329                 #endregion
1330 
1331 
1332                 #region BOSS定义
1333                 List<巫妖王> boss = new List<巫妖王>();
1334                 巫妖王 b = new 巫妖王();
1335                 b.HP = 10000;
1336                 b.hurt = 220;
1337                 b.armor = 180;
1338 
1339                 List<巫妖王装备> equipmentboss = new List<巫妖王装备>();
1340                 巫妖王装备 bosszb1 = new 巫妖王装备();
1341                 bosszb1.name = "黑锋重剑";
1342                 bosszb1.damage = 300;
1343                 巫妖王装备 bosszb2 = new 巫妖王装备();
1344                 bosszb2.name = "末日决战";
1345                 bosszb2.damage = 400;
1346                 巫妖王装备 bosszb3 = new 巫妖王装备();
1347                 bosszb3.name = "堕落的灰烬使者";
1348                 bosszb3.damage = 600;
1349                 巫妖王装备 bosszb4 = new 巫妖王装备();
1350                 bosszb4.name = "霜之哀伤";
1351                 bosszb4.damage = 1200;
1352                 equipmentboss.Add(bosszb1);
1353                 equipmentboss.Add(bosszb2);
1354                 equipmentboss.Add(bosszb3);
1355                 equipmentboss.Add(bosszb4);
1356 
1357                 //巫妖王武器获得
1358                 int bosswq = 0;
1359                 int bbb = x.Next(1, 15);
1360                 if (bbb <= 4)
1361                 { bosswq = 0; }
1362                 else if (bbb > 4 && bbb <= 8)
1363                 { bosswq = 1; }
1364                 else if (bbb > 8 && bbb <= 12)
1365                 { bosswq = 2; }
1366                 else
1367                 { bosswq = 3; }
1368                 b.hurt = b.hurt + equipmentboss[bosswq].damage;
1369                 Console.WriteLine("巫妖王获得武器:" + "  " + equipmentboss[bosswq].name + "  " + "!");
1370                 Console.WriteLine("巫妖王属性:" + "  " + "血量:" + b.HP + "  " + "攻击:" + "  " + b.hurt + "  " + "防御:" + "  " + b.armor);
1371 
1372 
1373 
1374 
1375                 List<巫妖王技能> skillsboss = new List<巫妖王技能>();
1376                 巫妖王技能 bossjn1 = new 巫妖王技能();
1377                 bossjn1.name = "凛风";
1378                 bossjn1.damage = 300;
1379                 巫妖王技能 bossjn2 = new 巫妖王技能();
1380                 bossjn2.name = "暗影打击";
1381                 bossjn2.damage = 400;
1382                 巫妖王技能 bossjn3 = new 巫妖王技能();
1383                 bossjn3.name = "湮灭";
1384                 bossjn3.damage = 600;
1385                 巫妖王技能 bossjn4 = new 巫妖王技能();
1386                 bossjn4.name = "亡灵天灾";
1387                 bossjn4.damage = 1200;
1388                 skillsboss.Add(bossjn1);
1389                 skillsboss.Add(bossjn2);
1390                 skillsboss.Add(bossjn3);
1391                 skillsboss.Add(bossjn4);
1392 
1393                 #endregion
1394 
1395 
1396                 #region  战前准备
1397                 //伤害统计
1398                 a.hurt = a.hurt + equipment[wq].damage - b.armor;
1399                 b.hurt = b.hurt + equipmentboss[bosswq].damage - a.armor;
1400                 Console.ReadLine();
1401 
1402 
1403                 Console.ForegroundColor = ConsoleColor.Yellow;
1404                 Console.WriteLine("提里奥弗丁:我们会给你一个速死的,阿尔萨斯。为了千千万万被你折磨和奴役的灵魂,已经没什么好多说的了!就这样吧!勇士们!进攻!圣光,给我最后的祝福吧!赐予我力量来粉碎这些镣铐……不会再有了,阿萨斯!不会再有生命会再次因为你的怨恨而牺牲了!巫妖王~必~须~死!");
1405                 Console.ReadLine();
1406                 Console.ForegroundColor = ConsoleColor.Red;
1407                 Console.WriteLine("巫妖王:就这样?圣光所鼓吹的正义终于到来了!我应该放下霜之哀伤,然后恳求得到怜悯?当我完成一切的时候,你会直接得到这些的,你会祈求得到我的怜悯,然后我会狠狠地拒绝你(= =#).你痛苦的呼喊,将是我无尽力量的证明!我会让你活着,目击一切的终结,弗丁,我不想让圣光下最伟大的勇士错过这个可悲世界的重塑——按照我的意愿的重塑。");
1408                 Console.ReadLine();
1409                 Console.ForegroundColor = ConsoleColor.Green;
1410                 Console.ReadLine();
1411                 Console.WriteLine("勇士!准备好面对巫妖王的怒火了吗?(按任意键继续)");
1412                 Console.ForegroundColor = ConsoleColor.White;
1413                 Console.ReadLine();
1414                 Console.WriteLine("战斗开始!");
1415 
1416                 #endregion
1417 
1418 
1419                 #region  战斗
1420 
1421                 while (true)
1422                 {
1423 
1424                     Console.WriteLine("========================回合开始============================");
1425                     #region 你的回合
1426                     //技能触发
1427                     int missb = x.Next(1, 15);
1428                     if (missb < 12)
1429                     {
1430                         bool yxjn = false;
1431                         int qqq = 0;
1432                         int ccc = x.Next(1, 3);
1433                         if (ccc == 1)
1434                         {
1435                             yxjn = true;
1436 
1437 
1438                             if (yxjn == true)
1439                             {
1440                                 int m = 0;
1441                                 m = x.Next(1, 15);
1442                                 if (m <= 4)
1443                                 { qqq = 0; }
1444                                 else if (m > 4 && m <= 8)
1445                                 { qqq = 1; }
1446                                 else if (m > 8 && m <= 12)
1447                                 { qqq = 2; }
1448                                 else
1449                                 { qqq = 3; }
1450                                 a.hurt = a.hurt + skills[qqq].damage;
1451                             }
1452                             else
1453                             { a.hurt = a.hurt + 0; }
1454                         }
1455                         //伤害计算,判定巫妖王剩余血量
1456 
1457                         b.HP = b.HP - a.hurt + b.armor;
1458                         if (yxjn == true)
1459                         {
1460                             if (qqq == 0)
1461                             { Console.ForegroundColor = ConsoleColor.Green; }
1462                             else if (qqq == 1)
1463                             { Console.ForegroundColor = ConsoleColor.Magenta; }
1464                             else if (qqq == 2)
1465                             { Console.ForegroundColor = ConsoleColor.Gray; }
1466                             else
1467                             { Console.ForegroundColor = ConsoleColor.Red; }
1468                             Console.WriteLine("身为勇士的你发动" + skills[ccc].name + "对巫妖王造成" + a.hurt + "点伤害!");
1469                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1470                             Console.ForegroundColor = ConsoleColor.White;
1471                         }
1472                         else
1473                         {
1474                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
1475                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1476                         }
1477                     }
1478                     else
1479                     {
1480                         Console.ForegroundColor = ConsoleColor.White;
1481                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击!");
1482                         Console.ForegroundColor = ConsoleColor.White;
1483                     }
1484                     System.Threading.Thread.Sleep(1000);
1485                     #endregion
1486 
1487                     #region 巫妖王回合
1488                     int missb = x.Next(1, 15);
1489                     if (missb < 12)
1490                     {
1491                         int qqq = 0;
1492                         int ccc = x.Next(1, 3);
1493                         if (ccc == 1)
1494                         {
1495                             int m = 0;
1496                             m = x.Next(1, 15);
1497                             if (m <= 4)
1498                             { qqq = 0; Console.ForegroundColor = ConsoleColor.Green; }
1499                             else if (m > 4 && m <= 8)
1500                             { qqq = 1; Console.ForegroundColor = ConsoleColor.Magenta; }
1501                             else if (m > 8 && m <= 12)
1502                             { qqq = 2; Console.ForegroundColor = ConsoleColor.Gray; }
1503                             else
1504                             { qqq = 3; Console.ForegroundColor = ConsoleColor.Red; }
1505                             int rs = a.hurt + skills[qqq].damage;
1506                             b.HP = b.HP - rs;
1507                             Console.WriteLine("身为勇士的你发动" + skills[qqq].name + "对巫妖王造成" + rs + "点伤害!");
1508                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1509                             Console.ForegroundColor = ConsoleColor.White;
1510                         }
1511                         else if (ccc == 2)
1512                         {
1513                             b.HP = b.HP - a.hurt;
1514                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
1515                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1516                         }
1517                     }
1518                     else
1519                     {
1520                         Console.ForegroundColor = ConsoleColor.DarkMagenta;
1521                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击");
1522                         Console.ForegroundColor = ConsoleColor.White;
1523                     }
1524                     System.Threading.Thread.Sleep(1000);
1525                     #endregion
1526 
1527                     #region 看谁先死
1528                     if (a.HP < 0 && b.HP < 0)
1529                     {
1530                         Console.ForegroundColor = ConsoleColor.Yellow;
1531                         Console.Write("为身为勇士的你,高喊着:为了艾泽拉斯!!选择和巫妖王同归于尽,你的事迹流传在艾泽拉斯的每一个角落。");
1532                         break;
1533                     }
1534                     else if (a.HP > 0 && b.HP < 0)
1535                     {
1536                         Console.ForegroundColor = ConsoleColor.Magenta;
1537                         Console.WriteLine("挥动着你手中的武器,坚定着为了艾泽拉斯的信念,这一刻无数的艾泽拉斯生灵和你的信念合二为一,你斩断了巫妖王的武器,无数得到解脱灵魂含怒对巫妖王发动了最后一击,巫妖王倒下了。。。你的智慧,勇敢,无畏传遍了艾泽拉斯!");
1538                         break;
1539                     }
1540                     else if (a.HP < 0 && b.HP > 0)
1541                     {
1542                         Console.ForegroundColor = ConsoleColor.Red;
1543                         Console.WriteLine("经过一番艰苦卓绝的战斗,你倒在了巫妖王的剑下,你失败了,艾泽拉斯的生灵在巫妖王的剑下瑟瑟发抖。。");
1544                         break;
1545                     }
1546 
1547                     #endregion
1548                 }
1549 
1550                 #endregion
1551             }
1552             #endregion
1553             #region 德鲁伊
1554 
1555             if (choose == "德鲁伊")
1556             {
1557 
1558                 Random x = new Random();
1559 
1560 
1561                 #region  角色定义
1562                 List<德鲁伊> role = new List<德鲁伊>();
1563                 德鲁伊 a = new 德鲁伊();
1564                 a.HP = 10000;
1565                 a.hurt = 220;
1566                 a.armor = 180;
1567 
1568                 List<德鲁伊装备> equipment = new List<德鲁伊装备>();
1569                 德鲁伊装备 zb1 = new 德鲁伊装备();
1570                 zb1.name = "地狱剥夺者";
1571                 zb1.damage = 300;
1572                 德鲁伊装备 zb2 = new 德鲁伊装备();
1573                 zb2.name = "远古本能之柱";
1574                 zb2.damage = 400;
1575                 德鲁伊装备 zb3 = new 德鲁伊装备();
1576                 zb3.name = "无尽秘密法杖";
1577                 zb3.damage = 600;
1578                 德鲁伊装备 zb4 = new 德鲁伊装备();
1579                 zb3.name = "乌索克之爪";
1580                 zb3.damage = 1200;
1581                 equipment.Add(zb1);
1582                 equipment.Add(zb2);
1583                 equipment.Add(zb3);
1584                 equipment.Add(zb4);
1585 
1586                 //获得武器!!
1587                 int wq = 0;
1588                 int xxx = x.Next(1, 15);
1589                 if (xxx <= 4)
1590                 { wq = 0; }
1591                 else if (xxx > 4 && xxx <= 8)
1592                 { wq = 1; }
1593                 else if (xxx > 8 && xxx <= 12)
1594                 { wq = 2; }
1595                 else if (xxx > 12)
1596                 { wq = 3; }
1597                 a.hurt = a.hurt + equipment[wq].damage;
1598                 Console.WriteLine("德鲁伊获得武器:" + "  " + equipment[wq].name + "  " + "!");
1599                 Console.WriteLine("德鲁伊的状态属性为:" + "  " + "血量:" + a.HP + "  " + "攻击力:" + "  " + a.hurt + "  " + "防御:" + "  " + a.armor);
1600 
1601                 List<德鲁伊技能> skills = new List<德鲁伊技能>();
1602                 德鲁伊技能 jn1 = new 德鲁伊技能();
1603                 jn1.name = "熊形态:横扫";
1604                 jn1.damage = 300;
1605                 德鲁伊技能 jn2 = new 德鲁伊技能();
1606                 jn2.name = "豹形态:撕碎 ";
1607                 jn2.damage = 400;
1608                 德鲁伊技能 jn3 = new 德鲁伊技能();
1609                 jn3.name = "愤怒";
1610                 jn3.damage = 600;
1611                 德鲁伊技能 jn4 = new 德鲁伊技能();
1612                 jn4.name = "枭兽形态:卖萌~~";
1613                 jn3.damage = 1200;
1614                 skills.Add(jn1);
1615                 skills.Add(jn2);
1616                 skills.Add(jn3);
1617                 skills.Add(jn4);
1618                 Console.ReadLine();
1619                 #endregion
1620 
1621 
1622                 #region BOSS定义
1623                 List<巫妖王> boss = new List<巫妖王>();
1624                 巫妖王 b = new 巫妖王();
1625                 b.HP = 10000;
1626                 b.hurt = 220;
1627                 b.armor = 180;
1628 
1629                 List<巫妖王装备> equipmentboss = new List<巫妖王装备>();
1630                 巫妖王装备 bosszb1 = new 巫妖王装备();
1631                 bosszb1.name = "黑锋重剑";
1632                 bosszb1.damage = 300;
1633                 巫妖王装备 bosszb2 = new 巫妖王装备();
1634                 bosszb2.name = "末日决战";
1635                 bosszb2.damage = 400;
1636                 巫妖王装备 bosszb3 = new 巫妖王装备();
1637                 bosszb3.name = "堕落的灰烬使者";
1638                 bosszb3.damage = 600;
1639                 巫妖王装备 bosszb4 = new 巫妖王装备();
1640                 bosszb4.name = "霜之哀伤";
1641                 bosszb4.damage = 1200;
1642                 equipmentboss.Add(bosszb1);
1643                 equipmentboss.Add(bosszb2);
1644                 equipmentboss.Add(bosszb3);
1645                 equipmentboss.Add(bosszb4);
1646 
1647                 //巫妖王武器获得
1648                 int bosswq = 0;
1649                 int bbb = x.Next(1, 15);
1650                 if (bbb <= 4)
1651                 { bosswq = 0; }
1652                 else if (bbb > 4 && bbb <= 8)
1653                 { bosswq = 1; }
1654                 else if (bbb > 8 && bbb <= 12)
1655                 { bosswq = 2; }
1656                 else
1657                 { bosswq = 3; }
1658                 b.hurt = b.hurt + equipmentboss[bosswq].damage;
1659                 Console.WriteLine("巫妖王获得武器:" + "  " + equipmentboss[bosswq].name + "  " + "!");
1660                 Console.WriteLine("巫妖王属性:" + "  " + "血量:" + b.HP + "  " + "攻击:" + "  " + b.hurt + "  " + "防御:" + "  " + b.armor);
1661 
1662 
1663 
1664 
1665                 List<巫妖王技能> skillsboss = new List<巫妖王技能>();
1666                 巫妖王技能 bossjn1 = new 巫妖王技能();
1667                 bossjn1.name = "凛风冲击";
1668                 bossjn1.damage = 300;
1669                 巫妖王技能 bossjn2 = new 巫妖王技能();
1670                 bossjn2.name = "暗影打击";
1671                 bossjn2.damage = 400;
1672                 巫妖王技能 bossjn3 = new 巫妖王技能();
1673                 bossjn3.name = "湮灭";
1674                 bossjn3.damage = 600;
1675                 巫妖王技能 bossjn4 = new 巫妖王技能();
1676                 bossjn4.name = "亡灵天灾";
1677                 bossjn4.damage = 1200;
1678                 skillsboss.Add(bossjn1);
1679                 skillsboss.Add(bossjn2);
1680                 skillsboss.Add(bossjn3);
1681                 skillsboss.Add(bossjn4);
1682 
1683                 #endregion
1684 
1685 
1686                 #region  战前准备
1687                 //伤害统计
1688                 a.hurt = a.hurt + equipment[wq].damage - b.armor;
1689                 b.hurt = b.hurt + equipmentboss[bosswq].damage - a.armor;
1690                 Console.ReadLine();
1691 
1692                 Console.ForegroundColor = ConsoleColor.Yellow;
1693                 Console.WriteLine("提里奥弗丁:我们会给你一个速死的,阿尔萨斯。为了千千万万被你折磨和奴役的灵魂,已经没什么好多说的了!就这样吧!勇士们!进攻!圣光,给我最后的祝福吧!赐予我力量来粉碎这些镣铐……不会再有了,阿萨斯!不会再有生命会再次因为你的怨恨而牺牲了!巫妖王~必~须~死!");
1694                 Console.ReadLine();
1695                 Console.ForegroundColor = ConsoleColor.Red;
1696                 Console.WriteLine("巫妖王:就这样?圣光所鼓吹的正义终于到来了!我应该放下霜之哀伤,然后恳求得到怜悯?当我完成一切的时候,你会直接得到这些的,你会祈求得到我的怜悯,然后我会狠狠地拒绝你(= =#).你痛苦的呼喊,将是我无尽力量的证明!我会让你活着,目击一切的终结,弗丁,我不想让圣光下最伟大的勇士错过这个可悲世界的重塑——按照我的意愿的重塑。");
1697                 Console.ReadLine();
1698                 Console.ForegroundColor = ConsoleColor.Green;
1699                 Console.ReadLine();
1700                 Console.WriteLine("勇士!准备好面对巫妖王的怒火了吗?(按任意键继续)");
1701                 Console.ForegroundColor = ConsoleColor.White;
1702                 Console.ReadLine();
1703                 Console.WriteLine("战斗开始!");
1704 
1705                 #endregion
1706 
1707 
1708                 #region  战斗
1709 
1710                 while (true)
1711                 {
1712 
1713                     Console.WriteLine("========================回合开始============================");
1714                     #region 你的回合
1715                     //技能触发  
1716                     int missb = x.Next(1, 15);
1717                     if (missb < 12)
1718                     {
1719                         int qqq = 0;
1720                         int ccc = x.Next(1, 3);
1721                         if (ccc == 1)
1722                         {
1723                             int m = 0;
1724                             m = x.Next(1, 15);
1725                             if (m <= 4)
1726                             { qqq = 0; Console.ForegroundColor = ConsoleColor.Green; }
1727                             else if (m > 4 && m <= 8)
1728                             { qqq = 1; Console.ForegroundColor = ConsoleColor.Magenta; }
1729                             else if (m > 8 && m <= 12)
1730                             { qqq = 2; Console.ForegroundColor = ConsoleColor.Gray; }
1731                             else
1732                             { qqq = 3; Console.ForegroundColor = ConsoleColor.Red; }
1733                             int rs = a.hurt + skills[qqq].damage;
1734                             b.HP = b.HP - rs;
1735                             Console.WriteLine("身为勇士的你发动" + skills[qqq].name + "对巫妖王造成" + rs + "点伤害!");
1736                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1737                             Console.ForegroundColor = ConsoleColor.White;
1738                         }
1739                         else if (ccc == 2)
1740                         {
1741                             b.HP = b.HP - a.hurt;
1742                             Console.WriteLine("身为勇士的你发动" + "普通攻击" + "对巫妖王造成" + a.hurt + "点伤害!");
1743                             Console.WriteLine("巫妖王剩余血量:" + b.HP);
1744                         }
1745                     }
1746                     else
1747                     {
1748                         Console.ForegroundColor = ConsoleColor.DarkMagenta;
1749                         Console.WriteLine("巫妖王凭借矫健的身法躲过了你的攻击");
1750                         Console.ForegroundColor = ConsoleColor.White;
1751                     }
1752                     System.Threading.Thread.Sleep(1000);
1753                     #endregion
1754 
1755                     #region 巫妖王回合
1756                     int missr = x.Next(1, 15);
1757                     if (missr < 12)
1758                     {
1759                         int www = 0;
1760                         int ddd = x.Next(1, 3);
1761                         if (ddd == 1)
1762                         {
1763                             int n = 0;
1764                             n = x.Next(1, 15);
1765                             if (n <= 4)
1766                             {
1767                                 www = 0;
1768                                 Console.ForegroundColor = ConsoleColor.Green;
1769                             }
1770                             else if (n > 4 && n <= 8)
1771                             {
1772                                 www = 1;
1773                                 Console.ForegroundColor = ConsoleColor.Magenta;
1774                             }
1775                             else if (n > 8 && n <= 12)
1776                             {
1777                                 www = 2;
1778                                 Console.ForegroundColor = ConsoleColor.Gray;
1779                             }
1780                             else
1781                             {
1782                                 www = 3;
1783                                 Console.ForegroundColor = ConsoleColor.Red;
1784                             }
1785                             //伤害计算,判定你剩余血量
1786                             int bs = b.hurt + skillsboss[www].damage;
1787                             a.HP = a.HP - b.hurt;
1788 
1789                             Console.WriteLine("巫妖王你发动" + skillsboss[www].name + "对你造成" + bs + "点伤害!");
1790                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
1791                             Console.ForegroundColor = ConsoleColor.White;
1792                         }
1793                         else if (ddd == 2)
1794                         {
1795                             a.HP = a.HP - b.hurt;
1796                             Console.WriteLine("巫妖王你发动" + "普通攻击" + "对你造成" + b.hurt + "点伤害!");
1797                             Console.WriteLine("身为勇士的你剩余血量:" + a.HP);
1798                         }
1799 
1800                     }
1801                     else
1802                     {
1803                         Console.ForegroundColor = ConsoleColor.White;
1804                         Console.WriteLine("你巧妙的躲过了巫妖王的攻击!");
1805                         Console.ForegroundColor = ConsoleColor.White;
1806                     }
1807                     System.Threading.Thread.Sleep(1000);
1808                     #endregion
1809 
1810                     #region 看谁先死
1811                     if (a.HP < 0 && b.HP < 0)
1812                     {
1813                         Console.ForegroundColor = ConsoleColor.Yellow;
1814                         Console.Write("为身为勇士的你,高喊着:为了艾泽拉斯!!选择和巫妖王同归于尽,你的事迹流传在艾泽拉斯的每一个角落。");
1815                         break;
1816                     }
1817                     else if (a.HP > 0 && b.HP < 0)
1818                     {
1819                         Console.ForegroundColor = ConsoleColor.Magenta;
1820                         Console.WriteLine("挥动着你手中的武器,坚定着为了艾泽拉斯的信念,这一刻无数的艾泽拉斯生灵和你的信念合二为一,你斩断了巫妖王的武器,无数得到解脱灵魂含怒对巫妖王发动了最后一击,巫妖王倒下了。。。你的智慧,勇敢,无畏传遍了艾泽拉斯!");
1821                         break;
1822                     }
1823                     else if (a.HP < 0 && b.HP > 0)
1824                     {
1825                         Console.ForegroundColor = ConsoleColor.Red;
1826                         Console.WriteLine("经过一番艰苦卓绝的战斗,你倒在了巫妖王的剑下,你失败了,艾泽拉斯的生灵在巫妖王的剑下瑟瑟发抖。。");
1827                         break;
1828                     }
1829 
1830                     #endregion
1831                 }
1832 
1833                 #endregion
1834             }
1835             #endregion
1836 
1837 
1838             Console.ReadLine();
1839 
1840 
1841         }
1842 
1843     }
1844 }

代码看着1800行,好腻害,实际自己写的也就400行左右,一共有6个职业选择(实际上就是复制了6遍),选择觉色完成后就开始游戏,回车一步一步来,虽说内容不是很丰富,但毕竟是自己第一个尝试认真做的东西,挺开心的~~~

posted on 2017-03-04 15:33  张鑫4477  阅读(795)  评论(0编辑  收藏  举报