mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
shortten acce api
This commit is contained in:
parent
75939a5dc8
commit
e96cf4d4dd
1 changed files with 15 additions and 25 deletions
40
CardInfo.js
40
CardInfo.js
|
@ -125644,7 +125644,7 @@ var CardInfo = {
|
|||
costCoin: 1,
|
||||
actionAsyn: function () {
|
||||
var filter = function (card) {
|
||||
return card.accessory;
|
||||
return card.acce;
|
||||
};
|
||||
return this.player.searchAsyn(filter,2).callback(this,function (cards) {
|
||||
this.game.moveCards(cards,this.player.enerZone);
|
||||
|
@ -125973,12 +125973,6 @@ var CardInfo = {
|
|||
"limiting": "",
|
||||
"imgUrl": "http://www.takaratomy.co.jp/products/wixoss/wxwp/images/card/WD18/WD18-007.jpg",
|
||||
"illust": "ふーみ",
|
||||
faqs: [
|
||||
{
|
||||
"q": "「ベット」とは何ですか?",
|
||||
"a": "このアーツを使用する際に、「ベット」に記載のコインを支払うことができます。《試行錯誤》の場合、《コイン》《コイン》を支払えば「ベットしていた場合」以降の追加の効果も発生します。"
|
||||
}
|
||||
],
|
||||
"classes": [],
|
||||
"costWhite": 0,
|
||||
"costBlack": 0,
|
||||
|
@ -125987,10 +125981,6 @@ var CardInfo = {
|
|||
"costGreen": 1,
|
||||
"costColorless": 0,
|
||||
"guardFlag": false,
|
||||
cardSkills: [
|
||||
"ベット-《コイン》《コイン》",
|
||||
"あなたのエナゾーンから緑のカードを3枚まで手札に加える。あなたがベットしていた場合、追加で手札から緑のシグニを3枚まで場に出す。それらのシグニの【出】の能力は発動しない。"
|
||||
],
|
||||
"multiEner": false,
|
||||
cardText: "う~~ん!~メル~",
|
||||
cardText_zh_CN: "",
|
||||
|
@ -126149,7 +126139,7 @@ var CardInfo = {
|
|||
],
|
||||
constEffects: [{
|
||||
condition: function () {
|
||||
return this.accessorized;
|
||||
return this.acced;
|
||||
},
|
||||
action: function (set,add) {
|
||||
add(this,'power',3000);
|
||||
|
@ -126170,11 +126160,11 @@ var CardInfo = {
|
|||
constEffects: [{
|
||||
auto: 'onBanished',
|
||||
condition: function () {
|
||||
return this.accessorized;
|
||||
return this.acced;
|
||||
},
|
||||
actionAsyn: function () {
|
||||
var cards = this.player.trashZone.filter(function (card) {
|
||||
return card.accessory;
|
||||
return card.acce;
|
||||
});
|
||||
return this.player.selectOptionalAsyn('TARGET',cards).callback(this,function (card) {
|
||||
if (!card) return;
|
||||
|
@ -126197,7 +126187,7 @@ var CardInfo = {
|
|||
burstEffect: {
|
||||
actionAsyn: function () {
|
||||
var filter = function (card) {
|
||||
return card.accessory;
|
||||
return card.acce;
|
||||
};
|
||||
this.player.searchAsyn(filter,1).callback(this,function (card) {
|
||||
if (!card) return;
|
||||
|
@ -126207,7 +126197,7 @@ var CardInfo = {
|
|||
var signis = this.player.signis;
|
||||
return this.player.selectTargetOptionalAsyn(signis).callback(this,function (signi) {
|
||||
if (!signi) return;
|
||||
card.accessorizeTo(signi);
|
||||
card.acceTo(signi);
|
||||
});
|
||||
});
|
||||
},
|
||||
|
@ -126300,7 +126290,7 @@ var CardInfo = {
|
|||
],
|
||||
constEffects: [{
|
||||
condition: function () {
|
||||
return this.accessorized;
|
||||
return this.acced;
|
||||
},
|
||||
action: function (set,add) {
|
||||
set(this,'lancer',true);
|
||||
|
@ -126391,11 +126381,11 @@ var CardInfo = {
|
|||
activatedInEnerZone: true,
|
||||
actionAsyn: function () {
|
||||
var signis = this.player.signis.filter(function (signi) {
|
||||
return !signi.accessorized;
|
||||
return !signi.acced;
|
||||
},this);
|
||||
return this.player.selectTargetOptionalAsyn(signis).callback(this,function (signi) {
|
||||
if (!signi) return;
|
||||
this.accessorizeTo(signi);
|
||||
this.acceTo(signi);
|
||||
});
|
||||
}
|
||||
}],
|
||||
|
@ -126413,8 +126403,8 @@ var CardInfo = {
|
|||
],
|
||||
constEffects: [{
|
||||
action: function (set,add) {
|
||||
if (this.accessorizeCard && this.accessorizeCard.hasClass('調理')) {
|
||||
add(this.accessorizeCard,'power',5000);
|
||||
if (this.acceingCard && this.acceingCard.hasClass('調理')) {
|
||||
add(this.acceingCard,'power',5000);
|
||||
}
|
||||
}
|
||||
}],
|
||||
|
@ -126519,11 +126509,11 @@ var CardInfo = {
|
|||
activatedInEnerZone: true,
|
||||
actionAsyn: function () {
|
||||
var signis = this.player.signis.filter(function (signi) {
|
||||
return !signi.accessorized;
|
||||
return !signi.acced;
|
||||
},this);
|
||||
return this.player.selectTargetOptionalAsyn(signis).callback(this,function (signi) {
|
||||
if (!signi) return;
|
||||
this.accessorizeTo(signi);
|
||||
this.acceTo(signi);
|
||||
});
|
||||
}
|
||||
}],
|
||||
|
@ -126541,8 +126531,8 @@ var CardInfo = {
|
|||
],
|
||||
constEffects: [{
|
||||
action: function (set,add) {
|
||||
if (this.accessorizeCard.hasClass('調理')) {
|
||||
add(this.accessorizeCard,'power',2000);
|
||||
if (this.acceingCard.hasClass('調理')) {
|
||||
add(this.acceingCard,'power',2000);
|
||||
}
|
||||
}
|
||||
}],
|
||||
|
|
Loading…
Reference in a new issue