fix step-forward varible.

This commit is contained in:
Rintim 2023-09-20 10:27:49 +08:00
parent 63a6339375
commit 2b35db3c6f
1 changed files with 2 additions and 1 deletions

View File

@ -1257,6 +1257,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
[listx,'vcard'], [listx,'vcard'],
]).set('ai',()=>Math.random()+1); ]).set('ai',()=>Math.random()+1);
} }
event.list=list;
'step 1' 'step 1'
if(result.bool){ if(result.bool){
var name=result.links[0][2],nature=result.links[0][3]; var name=result.links[0][2],nature=result.links[0][3];
@ -1273,7 +1274,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
prompt2:str, prompt2:str,
filterCard:lib.filter.cardDiscardable, filterCard:lib.filter.cardDiscardable,
position:'he', position:'he',
goon:get.attitude(player,trigger.player)>1&&(evt.card?get.effect(trigger.player,evt.card,evt.player,player)<0:get.effect(trigger.player,{name:list[0]},trigger.player,player)>0), goon:get.attitude(player,trigger.player)>1&&(evt.card?get.effect(trigger.player,evt.card,evt.player,player)<0:get.effect(trigger.player,{name:event.list[0]},trigger.player,player)>0),
ai1:function(card){ ai1:function(card){
if(_status.event.goon) return 6-get.value(card); if(_status.event.goon) return 6-get.value(card);
return 0; return 0;