1
0
Fork 0

🐛 fix WX16-027 onPlay

This commit is contained in:
WEBXOSS 2017-06-20 23:56:29 +08:00
parent d0b8a0dedc
commit ec3bf83ce2

View file

@ -118002,7 +118002,7 @@ var CardInfo = {
startUpEffects: [{ startUpEffects: [{
actionAsyn: function () { actionAsyn: function () {
var cards = this.player.mainDeck.getTopCards(2); var cards = this.player.mainDeck.getTopCards(2);
if (cards.length) return; if (!cards.length) return;
this.player.informCards(cards); this.player.informCards(cards);
return this.player.selectAsyn('ADD_TO_HAND',cards).callback(this,function (card) { return this.player.selectAsyn('ADD_TO_HAND',cards).callback(this,function (card) {
if (!card) return; if (!card) return;