Finally fix the gift mechanic.
This commit is contained in:
parent
e810ac7618
commit
6a29c0b30f
|
@ -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
|
||||||
|
|
|
@ -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:{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue