diff --git a/character/xianding.js b/character/xianding.js index 7933b5c9f..ff3d2a0e9 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -182,7 +182,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return effect; }, onChooseToUse:function(event){ - if(!game.online&&event.type=='phase'){ + if(!game.online&&event.type=='phase'&&!event.dcpandi){ var players=game.filterPlayer(function(current){ return current!=event.player&¤t.getHistory('sourceDamage').length==0; }) diff --git a/game/game.js b/game/game.js index c514de2df..ef1468b91 100644 --- a/game/game.js +++ b/game/game.js @@ -27388,7 +27388,6 @@ this._tempCache[key1] = {}; } this._tempCache[key1][key2] = value; - console.log("put:"+key1+" "+key2+" "+value); }, getTempCache:function(key1,key2){ if(!this._tempCache){ @@ -45509,6 +45508,7 @@ var node=ui.create.div('.menubutton.large','录像',start.firstChild,clickMode); node.type='video'; lib.videos=[]; + ui.create.videoNode=(video,before)=>lib.videos[before===true?'unshift':'push'](video); node._initLink=function(){ node.link=page; var store=lib.db.transaction(['video'],'readwrite').objectStore('video');