This commit is contained in:
parent
57a12702db
commit
ea074686b7
38
game/game.js
38
game/game.js
|
@ -8634,28 +8634,28 @@
|
||||||
game.vibrate();
|
game.vibrate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(typeof event.prompt=='string'){
|
if(!ok){
|
||||||
if(!ok) event.dialog=ui.create.dialog(event.prompt);
|
if(typeof event.prompt=='string'){
|
||||||
}
|
event.dialog=ui.create.dialog(event.prompt);
|
||||||
else if(event.prompt=='function'){
|
}
|
||||||
if(!ok) event.dialog=ui.create.dialog(event.prompt(event));
|
else if(event.prompt=='function'){
|
||||||
}
|
event.dialog=ui.create.dialog(event.prompt(event));
|
||||||
else if(event.prompt==undefined){
|
}
|
||||||
var str;
|
else if(event.prompt==undefined){
|
||||||
if(typeof event.filterCard=='object'){
|
var str;
|
||||||
var filter=event.filterCard;
|
if(typeof event.filterCard=='object'){
|
||||||
str='请使用'+get.cnNumber(event.selectCard[0])+'张'
|
var filter=event.filterCard;
|
||||||
if(filter.name){
|
str='请使用'+get.cnNumber(event.selectCard[0])+'张'
|
||||||
str+=get.translation(filter.name);
|
if(filter.name){
|
||||||
|
str+=get.translation(filter.name);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
str+='牌';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
str+='牌';
|
str='请选择要使用的牌';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else{
|
|
||||||
str='请选择要使用的牌';
|
|
||||||
}
|
|
||||||
if(!ok){
|
|
||||||
if(event.openskilldialog){
|
if(event.openskilldialog){
|
||||||
event.skillDialog=ui.create.dialog(event.openskilldialog);
|
event.skillDialog=ui.create.dialog(event.openskilldialog);
|
||||||
delete event.openskilldialog;
|
delete event.openskilldialog;
|
||||||
|
|
Loading…
Reference in New Issue