This commit is contained in:
parent
4d9697b1c4
commit
4a21cdd3da
|
@ -1411,7 +1411,7 @@ card.standard={
|
||||||
direct:true,
|
direct:true,
|
||||||
audio:true,
|
audio:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.countCards('he')>2;
|
return player.countCards('he')>2&&event.target.isAlive();
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
|
|
|
@ -243,7 +243,7 @@ character.old={
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.card.name=='sha'&&(get.color(event.card)=='red'||event.player.hasSkill('jiu'));
|
return event.card&&event.card.name=='sha'&&(get.color(event.card)=='red'||event.player.hasSkill('jiu'));
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
player.loseMaxHp();
|
player.loseMaxHp();
|
||||||
|
|
18
game/game.js
18
game/game.js
|
@ -31125,6 +31125,14 @@
|
||||||
var node=ui.create.div('.menubutton.large','获取扩展',start.firstChild,clickMode);
|
var node=ui.create.div('.menubutton.large','获取扩展',start.firstChild,clickMode);
|
||||||
node.link=page;
|
node.link=page;
|
||||||
node.mode='get';
|
node.mode='get';
|
||||||
|
page.listen(function(){
|
||||||
|
if(!page.currenttimeout){
|
||||||
|
var active=page.querySelector('.videonode.current');
|
||||||
|
if(active){
|
||||||
|
active.classList.remove('current');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
var importextensionexpanded=false;
|
var importextensionexpanded=false;
|
||||||
page.style.paddingBottom='10px';
|
page.style.paddingBottom='10px';
|
||||||
var importExtension;
|
var importExtension;
|
||||||
|
@ -31188,12 +31196,14 @@
|
||||||
|
|
||||||
var clickExtension=function(){
|
var clickExtension=function(){
|
||||||
var active=this.parentNode.querySelector('.videonode.current');
|
var active=this.parentNode.querySelector('.videonode.current');
|
||||||
if(active){
|
if(active&&active!=this){
|
||||||
active.classList.remove('current');
|
active.classList.remove('current');
|
||||||
}
|
}
|
||||||
if(active!=this){
|
this.classList.add('current');
|
||||||
this.classList.add('current');
|
clearTimeout(page.currenttimeout);
|
||||||
}
|
page.currenttimeout=setTimeout(function(){
|
||||||
|
delete page.currenttimeout;
|
||||||
|
},200);
|
||||||
};
|
};
|
||||||
var downloadExtension=function(e){
|
var downloadExtension=function(e){
|
||||||
if((this.innerHTML!='下载扩展'&&this.innerHTML!='更新扩展')||!window.JSZip) return;
|
if((this.innerHTML!='下载扩展'&&this.innerHTML!='更新扩展')||!window.JSZip) return;
|
||||||
|
|
|
@ -17,6 +17,7 @@ window.noname_update={
|
||||||
// 'character/*',
|
// 'character/*',
|
||||||
'character/hearth.js',
|
'character/hearth.js',
|
||||||
'character/gwent.js',
|
'character/gwent.js',
|
||||||
|
'character/old.js',
|
||||||
// 'mode/boss.js',
|
// 'mode/boss.js',
|
||||||
// 'mode/versus.js',
|
// 'mode/versus.js',
|
||||||
// 'mode/guozhan.js',
|
// 'mode/guozhan.js',
|
||||||
|
|
Loading…
Reference in New Issue