This commit is contained in:
parent
7e6e69c050
commit
ecc7edfd88
|
@ -2715,6 +2715,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.source&&event.source.isAlive()&&event.source!=player&&event.source.countCards('h')>0;
|
return event.source&&event.source.isAlive()&&event.source!=player&&event.source.countCards('h')>0;
|
||||||
},
|
},
|
||||||
|
logTarget:'source',
|
||||||
content:function(){
|
content:function(){
|
||||||
var card=trigger.source.getCards('h').randomGet();
|
var card=trigger.source.getCards('h').randomGet();
|
||||||
if(card){
|
if(card){
|
||||||
|
|
Loading…
Reference in New Issue