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, popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
if(!lib.config.cards.contains('gwent')) return false;
if(get.info(event.card).complexTarget) return false; if(get.info(event.card).complexTarget) return false;
if(!event.targets) return false; if(!event.targets) return false;
return (get.type(event.card)=='trick'&&event.cards[0]&&event.cards[0]==event.card); 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, silent:true,
priority:-11, priority:-11,
filter:function(event,player){ filter:function(event,player){
if(!lib.config.cards.contains('gwent')) return false;
return event.num>0&&event.parent.name=='phaseDraw'; return event.num>0&&event.parent.name=='phaseDraw';
}, },
content:function(){ content:function(){

View File

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