mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-02-12 08:43:41 +01:00
💩 coding card effects
This commit is contained in:
parent
e4ec48bf15
commit
faa7dff05a
1 changed files with 68 additions and 23 deletions
91
CardInfo.js
91
CardInfo.js
|
@ -123223,20 +123223,6 @@ var CardInfo = {
|
||||||
"limiting": "",
|
"limiting": "",
|
||||||
"imgUrl": "http://www.takaratomy.co.jp/products/wixoss/wxwp/images/card/PR/PR-370.jpg",
|
"imgUrl": "http://www.takaratomy.co.jp/products/wixoss/wxwp/images/card/PR/PR-370.jpg",
|
||||||
"illust": "邑",
|
"illust": "邑",
|
||||||
faqs: [
|
|
||||||
{
|
|
||||||
"q": "《原槍 エナジェ》、《十字の炎槍 サナユキ》、《幻水 ヤリイカ》はカード名に《槍》を含むシグニになりますか?",
|
|
||||||
"a": "前者2つはカード名に《槍》を含むシグニですが、《幻水 ヤリイカ》は《槍》を含むシグニではありません。"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "《大槍 ヴァルキリー》がアタックし、能力で正面のシグニをトラッシュに置いた場合、対戦相手にダメージは入りますか?",
|
|
||||||
"a": "はい、自動能力の発動後、正面のシグニがありませんので、アタックの処理で対戦相手にダメージを与えます。"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"q": "デッキが残り3枚以下のときに出現時能力を発動した場合はどうなりますか?",
|
|
||||||
"a": "その場合、残りのカードを全て公開し、効果を処理します。その後、残りのカードはデッキに戻されますので、リフレッシュは行われません。"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"classes": [
|
"classes": [
|
||||||
"精武",
|
"精武",
|
||||||
"アーム"
|
"アーム"
|
||||||
|
@ -123248,17 +123234,76 @@ var CardInfo = {
|
||||||
"costGreen": 0,
|
"costGreen": 0,
|
||||||
"costColorless": 0,
|
"costColorless": 0,
|
||||||
"guardFlag": false,
|
"guardFlag": false,
|
||||||
cardSkills: [
|
|
||||||
"【自】:このシグニがアタックしたとき、あなたは手札からカード名に《槍》を含むシグニを1枚捨ててもよい。そうした場合、対戦相手のレベル3以下のシグニ1体をトラッシュに置く。",
|
|
||||||
"【出】:あなたのデッキの上からカードを4枚公開し、その中からカード名に《槍》を含むシグニ1枚を手札に加える。残りをシャッフルし、デッキの一番下に置く。"
|
|
||||||
],
|
|
||||||
"multiEner": false,
|
"multiEner": false,
|
||||||
cardText: "神に選ばれし上級職である私の、上級の武器による最上級の一撃をお見せしましょうか。~ヴァルキリー~",
|
cardText: "神に選ばれし上級職である私の、上級の武器による最上級の一撃をお見せしましょうか。~ヴァルキリー~",
|
||||||
"lifeBurst": "対戦相手のレベル2以下のシグニ1体をトラッシュに置く。"
|
// ======================
|
||||||
|
// 常时效果
|
||||||
|
// ======================
|
||||||
|
constEffectTexts: [
|
||||||
|
"【自】:このシグニがアタックしたとき、あなたは手札からカード名に《槍》を含むシグニを1枚捨ててもよい。そうした場合、対戦相手のレベル3以下のシグニ1体をトラッシュに置く。",
|
||||||
|
],
|
||||||
|
constEffects: [{
|
||||||
|
auto: 'onAttack',
|
||||||
|
effect: {
|
||||||
|
actionAsyn: function () {
|
||||||
|
var cards = this.player.hands.filter(function (card) {
|
||||||
|
return (card.type === 'SIGNI') && (card.name.indexOf('槍') !== -1);
|
||||||
|
},this);
|
||||||
|
return this.player.selectOptionalAsyn('TRASH',cards).callback(this,function (card) {
|
||||||
|
if (!card) return;
|
||||||
|
card.trash();
|
||||||
|
var filter = function (card) {
|
||||||
|
return (card.level <= 3);
|
||||||
|
};
|
||||||
|
return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) {
|
||||||
|
if (!card) return;
|
||||||
|
return card.trashAsyn();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
// ======================
|
||||||
|
// 出场效果
|
||||||
|
// ======================
|
||||||
|
startUpEffectTexts: [
|
||||||
|
"【出】:あなたのデッキの上からカードを4枚公開し、その中からカード名に《槍》を含むシグニ1枚を手札に加える。残りをシャッフルし、デッキの一番下に置く。"
|
||||||
|
],
|
||||||
|
startUpEffects: [{
|
||||||
|
actionAsyn: function () {
|
||||||
|
return this.player.revealAsyn(4).callback(this,function (cards) {
|
||||||
|
var card = cards.filter(function (card) {
|
||||||
|
return (card.name.indexOf('槍') !== -1);
|
||||||
|
},this)[0];
|
||||||
|
if (card) {
|
||||||
|
card.moveTo(this.player.handZone);
|
||||||
|
removeFromArr(card,cards);
|
||||||
|
}
|
||||||
|
this.player.shuffle(cards);
|
||||||
|
this.player.mainDeck.moveCardsToBottom(cards);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
// ======================
|
||||||
|
// 迸发效果
|
||||||
|
// ======================
|
||||||
|
burstEffectTexts: [
|
||||||
|
"【※】:対戦相手のレベル2以下のシグニ1体をトラッシュに置く。"
|
||||||
|
],
|
||||||
|
burstEffect: {
|
||||||
|
actionAsyn: function () {
|
||||||
|
var filter = function (card) {
|
||||||
|
return card.level <= 2;
|
||||||
|
};
|
||||||
|
return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) {
|
||||||
|
return card.trashAsyn();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"2409": {
|
"2409": {
|
||||||
"pid": 2409,
|
"pid": 2409,
|
||||||
cid: 2409,
|
cid: 2191,
|
||||||
"timestamp": 1504359955288,
|
"timestamp": 1504359955288,
|
||||||
"wxid": "SP29-001",
|
"wxid": "SP29-001",
|
||||||
name: "ドーナ START",
|
name: "ドーナ START",
|
||||||
|
@ -123288,7 +123333,7 @@ var CardInfo = {
|
||||||
},
|
},
|
||||||
"2410": {
|
"2410": {
|
||||||
"pid": 2410,
|
"pid": 2410,
|
||||||
cid: 2410,
|
cid: 2004,
|
||||||
"timestamp": 1504359954890,
|
"timestamp": 1504359954890,
|
||||||
"wxid": "SP29-002",
|
"wxid": "SP29-002",
|
||||||
name: "純真の記憶 リル",
|
name: "純真の記憶 リル",
|
||||||
|
@ -128938,7 +128983,7 @@ var CardInfo = {
|
||||||
},
|
},
|
||||||
"2535": {
|
"2535": {
|
||||||
"pid": 2535,
|
"pid": 2535,
|
||||||
cid: 2535,
|
cid: 2191,
|
||||||
"timestamp": 1504360103431,
|
"timestamp": 1504360103431,
|
||||||
"wxid": "SP30-001",
|
"wxid": "SP30-001",
|
||||||
name: "ドーナ START",
|
name: "ドーナ START",
|
||||||
|
@ -128968,7 +129013,7 @@ var CardInfo = {
|
||||||
},
|
},
|
||||||
"2536": {
|
"2536": {
|
||||||
"pid": 2536,
|
"pid": 2536,
|
||||||
cid: 2536,
|
cid: 2004,
|
||||||
"timestamp": 1504360103683,
|
"timestamp": 1504360103683,
|
||||||
"wxid": "SP30-002",
|
"wxid": "SP30-002",
|
||||||
name: "純真の記憶 リル",
|
name: "純真の記憶 リル",
|
||||||
|
|
Loading…
Reference in a new issue