bugfix
This commit is contained in:
parent
c1390119e9
commit
14caf50c53
|
@ -1833,7 +1833,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
var targets=game.filterPlayer(i=>i!=player);
|
var targets=game.filterPlayer(i=>i!=player);
|
||||||
for(var target of targets){
|
for(var target of targets){
|
||||||
var att=get.attitude(target,player);
|
var att=get.attitude(target,player);
|
||||||
var result=yield target.chooseCard(`负山:是否交给${get.translation(player)}一张牌?`,`若如此做,其此阶段使用【杀】的次数上限+1`).set('att',att).set('ai',card=>{
|
var result=yield target.chooseCard('he',`负山:是否交给${get.translation(player)}一张牌?`,`若如此做,其此阶段使用【杀】的次数上限+1`).set('att',att).set('ai',card=>{
|
||||||
if(!get.event('goon')) return -get.value(card);
|
if(!get.event('goon')) return -get.value(card);
|
||||||
var isSha=get.name(card,get.event('target'))=='sha';
|
var isSha=get.name(card,get.event('target'))=='sha';
|
||||||
if(get.event('att')<0) return (isSha?0:5)-get.value(card);
|
if(get.event('att')<0) return (isSha?0:5)-get.value(card);
|
||||||
|
|
|
@ -33154,7 +33154,7 @@
|
||||||
const num=storage[key];
|
const num=storage[key];
|
||||||
if(typeof num=='number'&&num>0){
|
if(typeof num=='number'&&num>0){
|
||||||
let trans=get.translation(key);
|
let trans=get.translation(key);
|
||||||
if(combined&&key=='equip3') trans='坐骑栏';
|
if(combined&&key=='equip3') trans='坐骑';
|
||||||
str+='<li>'+trans+'栏:'+num+'个<br>'
|
str+='<li>'+trans+'栏:'+num+'个<br>'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue