Finally fix the gift mechanic.

This commit is contained in:
Tipx-L 2024-01-19 08:20:46 -08:00
parent e810ac7618
commit 6a29c0b30f
3 changed files with 3 additions and 3 deletions

View File

@ -414,7 +414,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
filter:(event,player)=>event.player!=player, filter:(event,player)=>event.player!=player,
logTarget:'player', logTarget:'player',
content:()=>{ content:()=>{
trigger.deniedGift.add(trigger.card); trigger.deniedGifts.add(trigger.card);
}, },
ai:{ ai:{
refuseGifts:true refuseGifts:true

View File

@ -710,7 +710,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.storage.xinluoshen=event.cards.slice(0); player.storage.xinluoshen=event.cards.slice(0);
return; return;
} }
}; }
} }
}, },
mod:{ mod:{

View File

@ -13088,7 +13088,7 @@ export class Library extends Uninstantable {
static other = { static other = {
ignore: () => void 0 ignore: () => void 0
}; };
}; }
Library.config = undefined; Library.config = undefined;
Library.configOL = undefined; Library.configOL = undefined;