From 6d6d7182fe4b5dd0353aff009bf4197ddaa900a8 Mon Sep 17 00:00:00 2001 From: disgrace2013 <122238396+disgrace2013@users.noreply.github.com> Date: Mon, 29 May 2023 16:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B01v1=E6=A8=A1=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=8C=E6=A0=B9=E6=8D=AE=E5=AE=98=E6=96=B9=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.先手起手少摸一张拍。 2.阵亡后新登场的武将摸牌数位4,不是maxHP --- mode/single.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/single.js b/mode/single.js index 8e6e23f1a..a33fdfc13 100644 --- a/mode/single.js +++ b/mode/single.js @@ -238,7 +238,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.addVideo('init',null,info); game.gameDraw(game.zhu,function(player){ - if(_status.mode=='dianjiang') return 4; + if(_status.mode=='dianjiang' || _status.mode=='normal') return player==game.fan?4:3; if(_status.mode=='changban') return player==game.fan?5:4; if(player.hasSkill('cuorui')){ player.logSkill('cuorui'); @@ -834,7 +834,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ },source,name,color); game.log(source,'出场'); - var num=source.maxHp; + var num=_status.mode == 'normal' ? 4 : source.maxHp; if(player.hasSkill('cuorui')){ player.logSkill('cuorui'); num=2+_status.characterChoice[player.identity].length;