1
0
Fork 0

💩 apply reviews

This commit is contained in:
deardrops 2017-09-22 00:07:18 +08:00 committed by webxoss
parent 73034e54f9
commit b4f04314a2

View file

@ -123896,37 +123896,33 @@ var CardInfo = {
// TODO: 测试失去效果和不再获得新效果 // TODO: 测试失去效果和不再获得新效果
// TODO: FAQ 大天使不会受「失去效果」的影响,大天使会受「不能获得新效果」的影响 // TODO: FAQ 大天使不会受「失去效果」的影响,大天使会受「不能获得新效果」的影响
layer: true, layer: true,
action: function (set,add) { auto: 'onAttack',
var effect = this.game.newEffect({ effect: {
source: this, source: this,
description: '2421-const-0', description: '2421-const-0',
condition: function () { condition: function () {
return this.getOpposingSigni(); return this.getOpposingSigni();
}, },
actionAsyn: function () { actionAsyn: function () {
var signi = this.getOpposingSigni(); var signi = this.getOpposingSigni();
this.game.tillTurnEndSet(signi,'abilityLost',true); this.game.tillTurnEndSet(signi,'abilityLost',true);
this.game.tillTurnEndSet(signi,'canNotGainAbility',true,{forced: true}); this.game.tillTurnEndSet(signi,'canNotGainAbility',true,{forced: true});
} }
});
add(this.player,'onAttack',effect);
}, },
},{ },{
layer: true, layer: true,
action: function (set,add) { auto: 'onBanish',
var effect = this.game.newEffect({ effect: {
source: this, source: this,
description: '2421-const-1', description: '2421-const-1',
actionAsyn: function () { actionAsyn: function () {
return this.player.selectOpponentSigniAsyn().callback(this,function (signi) { return this.player.selectOpponentSigniAsyn().callback(this,function (signi) {
if (!signi) return; if (!signi) return;
this.game.tillTurnEndSet(signi,'abilityLost',true); this.game.tillTurnEndSet(signi,'abilityLost',true);
this.game.tillTurnEndSet(signi,'canNotGainAbility',true,{forced: true}); this.game.tillTurnEndSet(signi,'canNotGainAbility',true,{forced: true});
}); });
} }
}); }
add(this,'onBanish',effect);
},
}], }],
}, },
"2422": { "2422": {
@ -123972,7 +123968,7 @@ var CardInfo = {
if (!cards.length) return; if (!cards.length) return;
return this.player.selectSomeAsyn('TARGET',cards,0,4).callback(this,function (cards) { return this.player.selectSomeAsyn('TARGET',cards,0,4).callback(this,function (cards) {
if (!cards.length) return; if (!cards.length) return;
this.player.mainDeck.moveCardsToBottom(cards); this.game.moveCards(cards,this.player.mainDeck);
this.player.shuffle(); this.player.shuffle();
}); });
} }
@ -124549,7 +124545,6 @@ var CardInfo = {
"limit": 0, "limit": 0,
"power": 0, "power": 0,
"limiting": "ドーナ", "limiting": "ドーナ",
"timing": "アタックフェイズ",
"imgUrl": "http://www.takaratomy.co.jp/products/wixoss/wxwp/images/card/WX17/WX17-003.jpg", "imgUrl": "http://www.takaratomy.co.jp/products/wixoss/wxwp/images/card/WX17/WX17-003.jpg",
"illust": "mado*pen", "illust": "mado*pen",
"classes": [], "classes": [],
@ -124594,26 +124589,26 @@ var CardInfo = {
}, },
},{ },{
actionAsyn: function () { actionAsyn: function () {
var levels = [];
var cards_add = []; var cards_add = [];
var done = false; var cards = this.player.mainDeck.cards.filter(function (card) {
return Callback.loop(this,2,function () { return card.hasClass('怪異');
if (done) return; },this);
var cards = this.player.mainDeck.cards.filter(function (card) { selectOptionalAsyn
return (card.type === 'SIGNI') && card.hasClass('怪異') && !inArr(card.level,levels); return this.player.selectOptionalAsyn('SEEK',cards).callback(this,function (card) {
if (!card) return
cards_add.push(card);
var level = card.level;
cards = this.player.mainDeck.cards.filter(function (card) {
return card.hasClass('怪異') && (card.level !== level);
},this); },this);
return this.player.selectSomeAsyn('SEEK',cards,0,1,false,this.player.mainDeck.cards).callback(this,function (cards) { }).callback(this,function() {
var card = cards[0]; return this.player.selectOptionalAsyn('SEEK',cards).callback(this,function (card) {
if (!card) { if (!card) return;
done = true;
return;
}
levels.push(card.level);
cards_add.push(card); cards_add.push(card);
}); });
}).callback(this,function () { }).callback(this,function() {
if (cards_add.length !== 2) return;
return this.player.opponent.showCardsAsyn(cards_add).callback(this,function () { return this.player.opponent.showCardsAsyn(cards_add).callback(this,function () {
if (!cards_add.length) return;
this.game.moveCards(cards_add,this.player.handZone); this.game.moveCards(cards_add,this.player.handZone);
this.player.shuffle(); this.player.shuffle();
}); });
@ -125375,29 +125370,20 @@ var CardInfo = {
var cards = this.game.cards.filter(function (card) { var cards = this.game.cards.filter(function (card) {
return (card.player === this.player) && card.hasClass('怪異'); return (card.player === this.player) && card.hasClass('怪異');
},this); },this);
// TODO: 效果在这张signi出场时生效离场时失效 cards.forEach(function (card) {
// TODO: FAQ 多个生命爆发发动时,可以自己选择发动顺序 var effect = this.game.newEffect({
// TODO: FAQ 多张卡在场时,生命爆发效果可以叠加 source: card,
this.game.addConstEffect({ description: '2450-attached-0',
source: this, optional: true,
fixed: true, actionAsyn: function () {
action: function (set,add) { return this.selectOpponentSigniAsyn().callback(this,function (signi) {
cards.forEach(function (card) { if (!signi) return;
var effect = this.game.newEffect({ return signi.trashAsyn();
source: card,
description: '2450-attached-0',
optional: true,
actionAsyn: function () {
return this.selectOpponentSigniAsyn().callback(this,function (signi) {
if (!signi) return;
return signi.banishAsyn();
});
}
}); });
add(card,'onBurst',effect); }
},this); });
} add(card,'onBurst',effect);
}); },this);
} }
}], }],
// ====================== // ======================
@ -126081,23 +126067,23 @@ var CardInfo = {
], ],
constEffects: [{ constEffects: [{
layer: true, layer: true,
action: function (set,add) { auto: 'onBanish',
var effect = this.game.newEffect({ effect: {
source: this, source: this,
description: '2461-const-0', description: '2461-const-0',
triggerCondition: function () { condition: function () {
return (this.game.turnPlayer === this.player.opponent); return (this.zone === this.player.enerZone);
}, },
optional: true, triggerCondition: function () {
actionAsyn: function () { return (this.game.turnPlayer === this.player.opponent);
// TODO: 拿不准这个的发动顺序,应该是先移动到能量区,再移动到手牌 },
// TODO: FAQ WD17-006孤立无炎破坏对方所有Signi发动所有被驱逐的怪异都可以发动返回手牌的效果 optional: true,
this.moveTo(this.player.handZone); actionAsyn: function () {
} // TODO: FAQ WD17-006孤立无炎破坏对方所有Signi发动所有被驱逐的怪异都可以发动返回手牌的效果
}); this.moveTo(this.player.handZone);
add(this,'onBanish',effect); }
} }
}, }],
}, },
"2462": { "2462": {
"pid": 2462, "pid": 2462,
@ -128487,7 +128473,7 @@ var CardInfo = {
], ],
actionEffects: [{ actionEffects: [{
costCondition: function () { costCondition: function () {
var cards = this.player.hands.some(function (card) { var cards = this.player.hands.filter(function (card) {
return card.hasClass('怪異'); return card.hasClass('怪異');
},this) },this)
return cards.length >= 3; return cards.length >= 3;
@ -128503,10 +128489,10 @@ var CardInfo = {
actionAsyn: function () { actionAsyn: function () {
var cards = this.player.opponent.signis; var cards = this.player.opponent.signis;
if (cards.length < 2) return; if (cards.length < 2) return;
return this.player.selectSomeTargetAsyn(cards,2,2).callback(this,function (cards) { return this.player.selectSomeTargetsAsyn(cards,2,2).callback(this,function (cards) {
if (!cards.length) return; if (!cards.length) return;
cards.forEach(function() { return Callback.forEach(cards,function(card) {
card.moveTo(card.player.handZone); card.bounceAsyn();
},this); },this);
}); });
}, },
@ -128540,7 +128526,7 @@ var CardInfo = {
source: this, source: this,
destroyTimming: this.player.onTurnStart, destroyTimming: this.player.onTurnStart,
action: function (set,add) { action: function (set,add) {
add(resona,'effectFilters',function (card) { add(this,'effectFilters',function (card) {
return (card.player !== this.player.opponent) || (card.type !== 'SIGNI'); return (card.player !== this.player.opponent) || (card.type !== 'SIGNI');
}); });
} }