This commit is contained in:
libccy 2017-05-13 19:02:59 +08:00
parent d808fe8863
commit 667d82c6b0
2 changed files with 4 additions and 2 deletions

View File

@ -1328,6 +1328,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
popup:false,
silent:true,
filter:function(event,player){
if(!lib.config.cards.contains('gwent')) return false;
if(get.info(event.card).complexTarget) return false;
if(!event.targets) return false;
return (get.type(event.card)=='trick'&&event.cards[0]&&event.cards[0]==event.card);
@ -1343,6 +1344,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
silent:true,
priority:-11,
filter:function(event,player){
if(!lib.config.cards.contains('gwent')) return false;
return event.num>0&&event.parent.name=='phaseDraw';
},
content:function(){

View File

@ -1,5 +1,5 @@
window.noname_update={
version:'1.9.28',
version:'1.9.28.1',
// update:'1.9.26',
changeLog:[
'bug修复',
@ -13,7 +13,7 @@ window.noname_update={
// 'game/pressure.js',
// 'game/asset.js',
// 'card/*',
// 'card/swd.js',
'card/gwent.js',
// 'card/standard.js',
// 'character/*',
// 'character/rank.js',