二成bugfix2

This commit is contained in:
copcap 2023-11-10 06:40:06 +08:00
parent 334256821f
commit f607e63cc3
No known key found for this signature in database
GPG Key ID: 9AE7B8AF097EC926
2 changed files with 2 additions and 2 deletions

View File

@ -1738,7 +1738,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.useCard({name:'sha',isCard:true},trigger.player,false).set('shanReq',num).set('oncard',card=>{
var evt=_status.event;
evt.baseDamage++;
for(var target of evt.targets){
for(var target of game.filterPlayer(null,null,true)){
var id=target.playerid;
var map=evt.customArgs;
if(!map[id]) map[id]={};

View File

@ -85,7 +85,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shanReq:cards.length,
oncard:()=>{
var evt=get.event();
for(var target of evt.targets){
for(var target of game.filterPlayer(null,null,true)){
var id=target.playerid;
var map=evt.customArgs;
if(!map[id]) map[id]={};