新1v1模式调整,根据官方规则

1.先手起手少摸一张拍。
2.阵亡后新登场的武将摸牌数位4,不是maxHP
This commit is contained in:
disgrace2013 2023-05-29 16:59:55 +08:00 committed by GitHub
parent 8563f1f78a
commit 6d6d7182fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;