出炉力!
本次更新新增技能:刀光剑影
新增选项:效果介绍
#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
using namespace std;
string name1,name2;
int h1,h2,a1,a2,d1,d2,m1,m2;
string zt1,zt2;
string gj[7]= {"攻击","火炎术","冰霜法阵","雷击术","治愈术","铁甲术","刀光剑影"};
string zt[3]= {"灼烧","冰冻","流血"};
void start() {
cout<<"输入玩家1的名字\n";
cin>>name1 ;
cout<<"输入玩家2的名字\n";
cin>>name2;
srand(time(0));
h1=rand()%1000+1;
h2=rand()%1000+1;
a1=rand()%75+1;
a2=rand()%75+1;
d1=rand()%45+1;
d2=rand()%45+1;
m1=rand()%100+1;
m2=rand()%100+1;
int temp1,temp2;
cout<<name1<<" 生命"<<h1<<"点,攻击"<<a1<<"点,防御"<<d1<<"点,魔力值"<<m1<<"点\n";
cout<<