目录结构调整
This commit is contained in:
768
codes/games/client/Projects/sangelaok/js/chonghua.js
Normal file
768
codes/games/client/Projects/sangelaok/js/chonghua.js
Normal file
@@ -0,0 +1,768 @@
|
||||
|
||||
|
||||
function chonghua () {
|
||||
if(chcpzt[4]==0&&Desk.stage==1)
|
||||
{
|
||||
play_ani(0,1128,33);
|
||||
set_self(1129,57,0,0,0);
|
||||
set_self(1130,57,0,0,0);
|
||||
set_self(1131,57,0,0,0);
|
||||
set_self(1168,57,0,0,0);
|
||||
set_group(222,37,0,0,0);
|
||||
for(var a=201;a<=220;a++)
|
||||
{
|
||||
if(a!=210)
|
||||
{
|
||||
set_group(a,37,0,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
set_group(207,37,1,0,0);
|
||||
|
||||
if(jiren ==2)
|
||||
{
|
||||
set_self(1178,37,0,0,0);
|
||||
set_self(1258,37,0,0,0);
|
||||
set_self(1287,37,0,0,0);
|
||||
set_self(1185,37,1,0,0);
|
||||
set_self(1186,37,1,0,0);
|
||||
}
|
||||
|
||||
set_self(1227,37,1,0,0);
|
||||
|
||||
|
||||
//////////////////
|
||||
if(chshoupai.length!=0)
|
||||
{
|
||||
if(get_self(1196,43,0,0,0)==1)
|
||||
{
|
||||
chshoupai=dxpaixu(chshoupai);
|
||||
}
|
||||
else
|
||||
{
|
||||
chshoupai=zspaixu(chshoupai);
|
||||
}
|
||||
var zdwsk = zhawushik(chshoupai);
|
||||
zhadanwushik=zdwsk[0];
|
||||
wsklist=zdwsk[1];
|
||||
set_group(223,37,1,0,0);
|
||||
}
|
||||
|
||||
/////////////////////
|
||||
switch (Utl.getMySeat()){
|
||||
case 0:
|
||||
|
||||
clsyyi=chshengyu[0];
|
||||
clsyer=chshengyu[1];
|
||||
clsysan=chshengyu[2];
|
||||
chonglianziji(chshoupai,clsyyi,clsysan,clsyer);
|
||||
if(clsyer<=5)
|
||||
{
|
||||
|
||||
set_self(1210,37,1,0,0);
|
||||
set_self(1127,37,1,0,0);
|
||||
|
||||
|
||||
|
||||
}
|
||||
if(clsysan<=5)
|
||||
{
|
||||
if(jiren==3)
|
||||
{
|
||||
set_self(1209,37,1,0,0);
|
||||
set_self(1006,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
if(zhuangjia==0)
|
||||
{
|
||||
set_self(1173,37,1,0,0);
|
||||
if(chcpzt[0]==-2)
|
||||
{
|
||||
set_self(1239,37,1,0,0);
|
||||
set_self(1239,41,1,0,0);
|
||||
}
|
||||
}
|
||||
if(zhuangjia==1)
|
||||
{
|
||||
set_self(1175,37,1,0,0);
|
||||
}
|
||||
if(zhuangjia==2)
|
||||
{
|
||||
set_self(1174,37,1,0,0);
|
||||
}
|
||||
|
||||
if(chkongzhi==1)
|
||||
{
|
||||
set_group(201,37,1,0,0);
|
||||
set_self(1129,57,1000,0,0);
|
||||
set_self(1129,37,1,0,0);
|
||||
set_self(1132,37,1,0,0);
|
||||
set_self(1132,7,30);
|
||||
set_self(1132,20,40,0,0);
|
||||
set_self(1132,18,310,0,0);
|
||||
|
||||
if((chcpzt[1]==-2&& chcpzt[2]==-2)|| (chcpzt[1]==1&& chcpzt[2]==2) || (chcpzt[2]==2&&clsyer==0&&chcpzt[1]==4)|| (chcpzt[1]==1&&clsysan==0&&chcpzt[2]==4))
|
||||
{
|
||||
set_self(1206,37,0,0,0);
|
||||
set_self(1206,41,0,0,0);
|
||||
set_self(1181,41,0,0,0);
|
||||
set_self(1181,37,0,0,0);
|
||||
|
||||
}
|
||||
if(jiren==2)
|
||||
{
|
||||
if((chcpzt[0]==-2&& chcpzt[1]==-2)||(chcpzt[0]==3&& chcpzt[1]==1))
|
||||
{
|
||||
set_self(1206,37,0,0,0);
|
||||
set_self(1206,41,0,0,0);
|
||||
set_self(1181,41,0,0,0);
|
||||
set_self(1181,37,0,0,0);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////
|
||||
if( chcpzt[2]==3)
|
||||
{
|
||||
clzhensan=chchupai[2];
|
||||
clsanjizhang=chjizhang[2];
|
||||
|
||||
|
||||
chonglianer(clsysan,clsanjizhang,clzhensan);
|
||||
|
||||
|
||||
if(chcpzt[1]==1&&clsyer!=0&&clsysan!=0&&chcpzt[0]!=4)
|
||||
{
|
||||
set_self(1203,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
if(chcpzt[1]==3)
|
||||
{
|
||||
clzhener=chchupai[1];
|
||||
clerjizhang=chjizhang[1];
|
||||
|
||||
|
||||
chongliansan (clsyer,clerjizhang,clzhener);
|
||||
if(chcpzt[2]==2&&clsysan!=0&&clsyer!=0&&chcpzt[0]!=4)
|
||||
{
|
||||
set_self(1202,37,1,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(chkongzhi==2)
|
||||
{
|
||||
set_self(1131,57,1000,0,0);
|
||||
set_self(1131,37,1,0,0);
|
||||
set_self(1134,37,1,0,0);
|
||||
set_self(1134,7,30);
|
||||
set_self(1134,20,40,0,0);
|
||||
set_self(1134,18,1058,0,0);
|
||||
/////////////////////////////////////////////////
|
||||
if( chcpzt[2]==3)
|
||||
{
|
||||
clzhensan=chchupai[2];
|
||||
clsanjizhang=chjizhang[2];
|
||||
|
||||
chonglianer(clsysan,clsanjizhang,clzhensan);
|
||||
if(chcpzt[0]==0&&clsyyi!=0&& chcpzt[1]!=4)
|
||||
{
|
||||
set_self(1201,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
///////////////////////////////////////////////////////
|
||||
if(chcpzt[0]==3)
|
||||
{
|
||||
|
||||
|
||||
clzhenyi=chchupai[0];
|
||||
clyijizhang=chjizhang[0];
|
||||
|
||||
chonglianyi(clsyyi,clyijizhang,clzhenyi);
|
||||
|
||||
if(chcpzt[2]==2&&clsysan!=0&& chcpzt[1]!=4)
|
||||
{
|
||||
set_self(1202,37,1,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
if(chkongzhi==3)
|
||||
{
|
||||
set_self(1130,57,1000,0,0);
|
||||
set_self(1130,37,1,0,0);
|
||||
set_self(1133,37,1,0,0);
|
||||
set_self(1133,7,30);
|
||||
set_self(1133,20,40,0,0);
|
||||
set_self(1133,18,186,0,0);
|
||||
//////////////////////////////////////////////////////////////
|
||||
if( chcpzt[1]==3)
|
||||
{
|
||||
clzhener=chchupai[1];
|
||||
clerjizhang=chjizhang[1];
|
||||
|
||||
chongliansan (clsyer,clerjizhang,clzhener);
|
||||
|
||||
|
||||
if(chcpzt[0]==0&&clsyyi!=0&&chcpzt[2]!=4)
|
||||
{
|
||||
set_self(1201,37,1,0,0);
|
||||
}
|
||||
}
|
||||
///////////////////////////////////////////////////////////////
|
||||
if(chcpzt[0]==3)
|
||||
{
|
||||
|
||||
clzhenyi=chchupai[0];
|
||||
clyijizhang=chjizhang[0];
|
||||
|
||||
chonglianyi(clsyyi,clyijizhang,clzhenyi);
|
||||
|
||||
|
||||
if(chcpzt[1]==1&&clsyer!=0&&chcpzt[2]!=4)
|
||||
{
|
||||
set_self(1203,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for(var a=1013;a<=1050;a++)
|
||||
{
|
||||
set_self(a,41,1,0,0);
|
||||
}
|
||||
|
||||
break;
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
case 1:
|
||||
|
||||
clsyyi=chshengyu[1];
|
||||
clsyer=chshengyu[2];
|
||||
clsysan=chshengyu[0];
|
||||
chonglianziji(chshoupai,clsyyi,clsysan,clsyer);
|
||||
if(clsyer<=5)
|
||||
{
|
||||
if(jiren==3)
|
||||
{
|
||||
set_self(1210,37,1,0,0);
|
||||
set_self(1127,37,1,0,0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
if(clsysan<=5)
|
||||
{
|
||||
|
||||
set_self(1209,37,1,0,0);
|
||||
set_self(1006,37,1,0,0);
|
||||
|
||||
|
||||
|
||||
}
|
||||
if(zhuangjia==1)
|
||||
{
|
||||
set_self(1173,37,1,0,0);
|
||||
if(chcpzt[1]==-2)
|
||||
{
|
||||
set_self(1239,37,1,0,0);
|
||||
set_self(1239,41,1,0,0);
|
||||
}
|
||||
}
|
||||
if(zhuangjia==2)
|
||||
{
|
||||
set_self(1175,37,1,0,0);
|
||||
}
|
||||
if(zhuangjia==0)
|
||||
{
|
||||
set_self(1174,37,1,0,0);
|
||||
}
|
||||
|
||||
if(chkongzhi==2)
|
||||
{
|
||||
set_self(1129,57,1000,0,0);
|
||||
set_self(1129,37,1,0,0);
|
||||
set_self(1132,37,1,0,0);
|
||||
set_self(1132,7,30);
|
||||
set_self(1132,20,40,0,0);
|
||||
set_self(1132,18,310,0,0);
|
||||
set_group(201,37,1,0,0);
|
||||
if((chcpzt[0]==-2&& chcpzt[2]==-2)|| (chcpzt[2]==2&& chcpzt[0]==0) || (chcpzt[2]==2&&clsysan==0&&chcpzt[0]==4)|| (chcpzt[0]==0&&clsyer==0&&chcpzt[2]==4))
|
||||
{
|
||||
set_self(1206,37,0,0,0);
|
||||
set_self(1206,41,0,0,0);
|
||||
set_self(1181,41,0,0,0);
|
||||
set_self(1181,37,0,0,0);
|
||||
|
||||
}
|
||||
if(jiren==2)
|
||||
{
|
||||
if((chcpzt[0]==-2&& chcpzt[1]==-2)||(chcpzt[0]==0&& chcpzt[1]==3))
|
||||
{
|
||||
set_self(1206,37,0,0,0);
|
||||
set_self(1206,41,0,0,0);
|
||||
set_self(1181,41,0,0,0);
|
||||
set_self(1181,37,0,0,0);
|
||||
}
|
||||
}
|
||||
//////////////////////////////////////////////////////////////
|
||||
if(chcpzt[0]==3)
|
||||
{
|
||||
clzhensan=chchupai[0];
|
||||
clsanjizhang=chjizhang[0];
|
||||
|
||||
chonglianer(clsysan,clsanjizhang,clzhensan);
|
||||
if(chcpzt[2]==2&&clsyer!=0&&clsysan!=0&&chcpzt[1]!=4)
|
||||
{
|
||||
set_self(1203,37,1,0,0);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////
|
||||
if(chcpzt[2]==3)
|
||||
{
|
||||
clzhener=chchupai[2];
|
||||
clerjizhang=chjizhang[2];
|
||||
|
||||
chongliansan (clsyer,clerjizhang,clzhener);
|
||||
if(chcpzt[0]==0&&clsysan!=0&&clsyer!=0&&chcpzt[1]!=4)
|
||||
{
|
||||
set_self(1202,37,1,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(chkongzhi==3)
|
||||
{
|
||||
set_self(1131,57,1000,0,0);
|
||||
set_self(1131,37,1,0,0);
|
||||
set_self(1134,37,1,0,0);
|
||||
set_self(1134,7,30);
|
||||
set_self(1134,20,40,0,0);
|
||||
set_self(1134,18,1058,0,0);
|
||||
///////////////////////////////////////////////////////////////////
|
||||
if(chcpzt[0]==3)
|
||||
{
|
||||
clzhensan=chchupai[0];
|
||||
clsanjizhang=chjizhang[0];
|
||||
|
||||
chonglianer(clsysan,clsanjizhang,clzhensan);
|
||||
if(chcpzt[1]==1&&clsyyi!=0&&chcpzt[2]!=4)
|
||||
{
|
||||
set_self(1201,37,1,0,0);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////
|
||||
if(chcpzt[1]==3)
|
||||
{
|
||||
|
||||
clzhenyi=chchupai[1];
|
||||
clyijizhang=chjizhang[1];
|
||||
|
||||
chonglianyi(clsyyi,clyijizhang,clzhenyi);
|
||||
if(chcpzt[0]==0&&clsysan!=0&&chcpzt[2]!=4)
|
||||
{
|
||||
set_self(1202,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if(chkongzhi==1)
|
||||
{
|
||||
set_self(1130,57,1000,0,0);
|
||||
set_self(1130,37,1,0,0);
|
||||
set_self(1133,37,1,0,0);
|
||||
set_self(1133,7,30);
|
||||
set_self(1133,20,40,0,0);
|
||||
set_self(1133,18,186,0,0);
|
||||
///////////////////////////////////////////////////////////
|
||||
if(chcpzt[2]==3)
|
||||
{
|
||||
clzhener=chchupai[2];
|
||||
clerjizhang=chjizhang[2];
|
||||
|
||||
chongliansan (clsyer,clerjizhang,clzhener);
|
||||
if(chcpzt[1]==1&&clsyyi!=0&&chcpzt[0]!=4)
|
||||
{
|
||||
set_self(1201,37,1,0,0);
|
||||
}
|
||||
}
|
||||
//////////////////////////////////////////////////
|
||||
if(chcpzt[1]==3)
|
||||
{
|
||||
|
||||
clzhenyi=chchupai[1];
|
||||
clyijizhang=chjizhang[1];
|
||||
|
||||
chonglianyi(clsyyi,clyijizhang,clzhenyi);
|
||||
|
||||
if(chcpzt[2]==2&&clsyer!=0&&chcpzt[0]!=4)
|
||||
{
|
||||
set_self(1203,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for(var a=1013;a<=1050;a++)
|
||||
{
|
||||
set_self(a,41,1,0,0);
|
||||
}
|
||||
|
||||
break;
|
||||
case 2:
|
||||
clsyyi=chshengyu[2];
|
||||
clsyer=chshengyu[0];
|
||||
clsysan=chshengyu[1];
|
||||
chonglianziji(chshoupai,clsyyi,clsysan,clsyer);
|
||||
|
||||
if(clsyer<=5)
|
||||
{
|
||||
set_self(1210,37,1,0,0);
|
||||
set_self(1127,37,1,0,0);
|
||||
|
||||
}
|
||||
if(clsysan<=5)
|
||||
{
|
||||
set_self(1209,37,1,0,0);
|
||||
set_self(1006,37,1,0,0);
|
||||
}
|
||||
if(zhuangjia==2)
|
||||
{
|
||||
set_self(1173,37,1,0,0);
|
||||
if(chcpzt[2]==-2)
|
||||
{
|
||||
set_self(1239,37,1,0,0);
|
||||
set_self(1239,41,1,0,0);
|
||||
}
|
||||
}
|
||||
if(zhuangjia==0)
|
||||
{
|
||||
set_self(1175,37,1,0,0);
|
||||
}
|
||||
if(zhuangjia==1)
|
||||
{
|
||||
set_self(1174,37,1,0,0);
|
||||
}
|
||||
|
||||
if(chkongzhi==3)
|
||||
{
|
||||
set_self(1129,57,1000,0,0);
|
||||
set_self(1129,37,1,0,0);
|
||||
set_self(1132,37,1,0,0);
|
||||
set_self(1132,7,30,0,0);
|
||||
set_self(1132,20,40,0,0);
|
||||
set_self(1132,18,310,0,0);
|
||||
|
||||
set_group(201,37,1,0,0);
|
||||
if((chcpzt[0]==-2&& chcpzt[1]==-2)|| (chcpzt[1]==1&& chcpzt[0]==0)||(chcpzt[1]==1&&clsyer==0&&chcpzt[0]==4)||(chcpzt[0]==0&&clsysan==0&&chcpzt[1]==4))
|
||||
{
|
||||
set_self(1206,37,0,0,0);
|
||||
set_self(1206,41,0,0,0);
|
||||
set_self(1181,41,0,0,0);
|
||||
set_self(1181,37,0,0,0);
|
||||
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////
|
||||
if(chcpzt[1]==3)
|
||||
{
|
||||
clzhensan=chchupai[1];
|
||||
clsanjizhang=chjizhang[1];
|
||||
|
||||
chonglianer(clsysan,clsanjizhang,clzhensan);
|
||||
if(chcpzt[0]==0&&clsyer!=0&&clsysan!=0&&chcpzt[2]!=4)
|
||||
{
|
||||
set_self(1203,37,1,0,0);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////
|
||||
if(chcpzt[0]==3)
|
||||
{
|
||||
clzhener=chchupai[0];
|
||||
clerjizhang=chjizhang[0];
|
||||
|
||||
chongliansan (clsyer,clerjizhang,clzhener);
|
||||
if(chcpzt[1]==1&&clsysan!=0&&clsyer!=0&&chcpzt[2]!=4)
|
||||
{
|
||||
set_self(1202,37,1,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(chkongzhi==2)
|
||||
{
|
||||
set_self(1130,57,1000,0,0);
|
||||
set_self(1130,37,1,0,0);
|
||||
set_self(1133,37,1,0,0);
|
||||
set_self(1133,7,30);
|
||||
set_self(1133,20,40,0,0);
|
||||
set_self(1133,18,186,0,0);
|
||||
////////////////////////////////////////////////////////
|
||||
if(chcpzt[0]==3)
|
||||
{
|
||||
clzhener=chchupai[0];
|
||||
clerjizhang=chjizhang[0];
|
||||
|
||||
chongliansan (clsyer,clerjizhang,clzhener);
|
||||
if(chcpzt[2]==2&&clsyyi!=0 &&chcpzt[1]!=4)
|
||||
{
|
||||
set_self(1201,37,1,0,0);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////
|
||||
if(chcpzt[2]==3)
|
||||
{
|
||||
|
||||
clzhenyi=chchupai[2];
|
||||
clyijizhang=chjizhang[2];
|
||||
|
||||
chonglianyi(clsyyi,clyijizhang,clzhenyi);
|
||||
if(chcpzt[0]==0&&clsyer!=0&&chcpzt[1]!=4)
|
||||
{
|
||||
set_self(1203,37,1,0,0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
if(chkongzhi==1)
|
||||
{
|
||||
set_self(1131,57,1000,0,0);
|
||||
set_self(1131,37,1,0,0);
|
||||
set_self(1134,37,1,0,0);
|
||||
set_self(1134,7,30);
|
||||
set_self(1134,20,40,0,0);
|
||||
set_self(1134,18,1058,0,0);
|
||||
////////////////////////////////////////////////////////////////
|
||||
if(chcpzt[1]==3)
|
||||
{
|
||||
clzhensan=chchupai[1];
|
||||
clsanjizhang=chjizhang[1];
|
||||
|
||||
chonglianer(clsysan,clsanjizhang,clzhensan);
|
||||
if(chcpzt[2]==2&&clsyyi!=0&&chcpzt[0]!=4)
|
||||
{
|
||||
set_self(1201,37,1,0,0);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////
|
||||
if(chcpzt[2]==3)
|
||||
{
|
||||
|
||||
clzhenyi=chchupai[2];
|
||||
clyijizhang=chjizhang[2];
|
||||
|
||||
chonglianyi(clsyyi,clyijizhang,clzhenyi);
|
||||
if(chcpzt[1]==1&&clsysan!=0&&chcpzt[0]!=4)
|
||||
{
|
||||
set_self(1202,37,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for(var a=1013;a<=1050;a++)
|
||||
{
|
||||
set_self(a,41,1,0,0);
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if((chcpzt[0]==0&&chcpzt[1]==1&&chcpzt[2]==3&&chkongzhi!=2)||(chcpzt[0]==3&&chcpzt[1]==1&&chcpzt[2]==2&&chkongzhi!=3)||
|
||||
(chcpzt[0]==0&&chcpzt[1]==3&&chcpzt[2]==2&&chkongzhi!=1)||
|
||||
(chcpzt[0]==4&&((chcpzt[1]==1&&chcpzt[2]==3)||(chcpzt[1]==3&&chcpzt[2]==2)))||
|
||||
(chcpzt[1]==4&&((chcpzt[0]==0&&chcpzt[2]==3)||(chcpzt[0]==3&&chcpzt[2]==2)))||
|
||||
(chcpzt[2]==4&&((chcpzt[0]==0&&chcpzt[1]==3)||(chcpzt[0]==3&&chcpzt[1]==1)))
|
||||
)
|
||||
{
|
||||
set_group(209,37,0,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
if(chcpzt[4]==1&&Desk.stage==1)
|
||||
{
|
||||
set_group(222,37,0,0,0);
|
||||
set_group(223,37,0,0,0);
|
||||
for(var a=201;a<=206;a++)
|
||||
{
|
||||
if(a!=202&&a!=203)
|
||||
{
|
||||
set_group(a,37,0,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
for(var a=208;a<=209;a++)
|
||||
{
|
||||
set_group(a,37,0,0,0);
|
||||
}
|
||||
|
||||
|
||||
for(var a=212;a<=215;a++)
|
||||
{
|
||||
set_group(a,37,0,0,0);
|
||||
}
|
||||
set_group(217,37,0,0,0);
|
||||
set_group(220,37,0,0,0);
|
||||
|
||||
if(dajujieshu!=4&&dajujieshu!=3)
|
||||
{
|
||||
set_group(218,37,0,0,0);
|
||||
set_group(219,37,0,0,0);
|
||||
}
|
||||
|
||||
if(dajujieshu==0||xjjiesuan==1)
|
||||
{
|
||||
set_group(216,37,0,0,0);
|
||||
}
|
||||
|
||||
if(dajujieshu==4)
|
||||
{
|
||||
set_group(215,37,1,0,0);
|
||||
set_group(216,37,0,0,0);
|
||||
if(jisuan==0)
|
||||
{
|
||||
set_group(211,37,0,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
if(xjjiesuan==1||dajujieshu!=0)
|
||||
{
|
||||
set_self(1227,37,1,0,0);
|
||||
}
|
||||
if(dajujieshu!=3&&dajujieshu!=4)
|
||||
{
|
||||
switch (Utl.getMySeat()){
|
||||
case 0:
|
||||
if(chzhunbei[0]==-1)
|
||||
{
|
||||
if(xjjiesuan==1)
|
||||
{
|
||||
set_self(1204,37,1,0,0);
|
||||
set_self(1204,41,1,0,0);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
set_self(1170,37,1,0,0);
|
||||
}
|
||||
if(chzhunbei[1]==1)
|
||||
{
|
||||
set_self(1172,37,1,0,0);
|
||||
}
|
||||
if(chzhunbei[2]==1)
|
||||
{
|
||||
set_self(1171,37,1,0,0);
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
case 1:
|
||||
if(chzhunbei[1]==-1)
|
||||
{
|
||||
if(xjjiesuan==1)
|
||||
{
|
||||
set_self(1204,37,1,0,0);
|
||||
set_self(1204,41,1,0,0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
set_self(1170,37,1,0,0);
|
||||
}
|
||||
if(chzhunbei[2]==1)
|
||||
{
|
||||
set_self(1172,37,1,0,0);
|
||||
}
|
||||
if(chzhunbei[0]==1)
|
||||
{
|
||||
set_self(1171,37,1,0,0);
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if(chzhunbei[2]==-1)
|
||||
{
|
||||
if(xjjiesuan==1)
|
||||
{
|
||||
set_self(1204,37,1,0,0);
|
||||
set_self(1204,41,1,0,0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
set_self(1170,37,1,0,0);
|
||||
}
|
||||
if(chzhunbei[0]==1)
|
||||
{
|
||||
set_self(1172,37,1,0,0);
|
||||
}
|
||||
if(chzhunbei[1]==1)
|
||||
{
|
||||
set_self(1171,37,1,0,0);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user