目录结构调整
This commit is contained in:
62
codes/games/client/Projects/zpy/js/bomb.js
Normal file
62
codes/games/client/Projects/zpy/js/bomb.js
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
|
||||
|
||||
var zhadan = zhadan || {
|
||||
zhadanxianshi:function(){
|
||||
if (banben ==0) {
|
||||
this.wushik_jinxian();
|
||||
this.boom_jinxian();
|
||||
} else {
|
||||
this.wushik_chongren();
|
||||
this.boom_jinxian();
|
||||
}
|
||||
},
|
||||
wushik_jinxian : function(){
|
||||
wsk_tishi = cls_zhaopengyou_tishi.jinxian_ksw_tishi();
|
||||
for (var i = 0; i < wsk_tishi.length; i++) {
|
||||
wsk_tishi[i] = cls_zhaopengyou_aset.CardsToCardIds(wsk_tishi[i]);
|
||||
}
|
||||
if(wsk_tishi.length>0){
|
||||
set_self(1390,35,255,0,0);
|
||||
set_self(1390,41,1,0,0);
|
||||
}else{
|
||||
set_self(1390,35,150,0,0);
|
||||
set_self(1390,41,0,0,0);
|
||||
}
|
||||
},
|
||||
wushik_chongren : function(){
|
||||
wsk_tishi = cls_zhaopengyou_tishi.chongren_ksw_tishi();
|
||||
for (var i = 0; i < wsk_tishi.length; i++) {
|
||||
wsk_tishi[i] = cls_zhaopengyou_aset.CardsToCardIds(wsk_tishi[i]);
|
||||
}
|
||||
if(wsk_tishi.length>0){
|
||||
set_self(1390,35,255,0,0);
|
||||
set_self(1390,41,1,0,0);
|
||||
}else{
|
||||
set_self(1390,35,150,0,0);
|
||||
set_self(1390,41,0,0,0);
|
||||
}
|
||||
},
|
||||
boom_jinxian :function(){
|
||||
boom_tishi = cls_zhaopengyou_tishi.jinxian_tishi();
|
||||
for (var i = 0; i < boom_tishi.length; i++) {
|
||||
boom_tishi[i] = cls_zhaopengyou_aset.CardsToCardIds(boom_tishi[i]);
|
||||
}
|
||||
if(boom_tishi.length>0){
|
||||
set_self(1391,35,255,0,0);
|
||||
set_self(1391,41,1,0,0);
|
||||
}else{
|
||||
set_self(1391,35,150,0,0);
|
||||
set_self(1391,41,0,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user