⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 action7.c

📁 三国志!! 大家想要的快呀。
💻 C
字号:
if (strcmp(work,"搜索")==0)
{
for(k=1;k<=maxheronumber;k++)
{
if (strcmp(herodat[k].attrib,"下野")==0 && herodat[k].age>=18 && strcmp(herodat[k].burgh,housedat[action].name)==0) break;
}
if (k>maxheronumber) k=0;
if (m>x+50 && m<x+150)
{
if (j>1 && n>y-75 && n<y-50) {i=temp[1];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>2 && n>y-50 && n<y-25) {i=temp[2];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>3 && n>y-25 && n<y) {i=temp[3];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>4 && n>y && n<y+25) {i=temp[4];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>5 && n>y+25 && n<y+50) {i=temp[5];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>6 && n>y+50 && n<y+75) {i=temp[6];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>7 && n>y+75 && n<y+100) {i=temp[7];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (j>8 && n>y+100 && n<y+125) {i=temp[8];herodat[i].action=1;if (herodat[i].social>timerand()+50 && k>0) back=k;else back=0;break;}
if (n>y+125 && n<y+150) {back=-1;break;}
}
}



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -