From bb39b6363a055e0b74edf5fe2b7d8cdd24db5bdd Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Fri, 25 Aug 2023 22:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=87=92=E5=8A=A0=E8=BD=BDui?= =?UTF-8?q?.create.videoNode=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 2 +- game/game.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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');