Conversation
webxoss
commented
Jun 10, 2018
| "【自】:このルリグがアタックしたとき、《青》を支払ってもよい。そうした場合、カードを1枚引く。" | ||
| ], | ||
| constEffects: [{ | ||
| action: function (set, add) { |
| ], | ||
| startUpEffects: [{ | ||
| actionAsyn: function () { | ||
| var cards = this.player.opponent.hands; |
Owner
Author
There was a problem hiding this comment.
見ないで選び,要用 discardRandomly
| }, | ||
| artsEffect: { | ||
| actionAsyn: function () { | ||
| this.player.opponent.discardRandomly(1); |
| bet: 2, | ||
| artsEffect: { | ||
| actionAsyn: function (costArg) { | ||
| return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) { |
| "エクシード1(このルリグの下からカードを1枚ルリグトラッシュに置く):あなたはカードを1枚引く。対戦相手は手札を1枚捨てる。", | ||
| " エクシード2(このルリグの下からカードを2枚ルリグトラッシュに置く):対戦相手のシグニ1体をダウンし凍結する。", | ||
| "(凍結されたシグニは次の自分のアップフェイズにアップしない)" | ||
| ], |
| var signis = []; | ||
| var done = false; | ||
| var searchCardNumber = costArg.bet ? 4 : 3; | ||
| return Callback.loop(this,searchCardNumber,function () { |
| ], | ||
| startUpEffects: [{ | ||
| actionAsyn: function() { | ||
| if (this.player.hands.length == 0) { |
| actionAsyn: function() { | ||
| if (this.player.hands.length == 0) { | ||
| return this.decreasePowerAsyn(5000); | ||
| } else if (this.player.hands.length <= 2) { |
| cardSkills: [ | ||
| "【ガード】(このカードを手札から捨てることで、ルリグのアタックによるダメージを一度防ぐ)", | ||
| "【常】:【マルチエナ】(エナコストを支払う際、このカードは好きな色1つとして支払える)" | ||
| ], |
| actionAsyn: function (target) { | ||
| return target.trashAsyn().callback(this,function (succ) { | ||
| if (succ) { | ||
| this.player.opponent.discardAsyn(1); |
Owner
Author
There was a problem hiding this comment.
带 async 的都要 return (类似 promise)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
不要直接推到主仓库,最好自己 frok 一份,推自己仓库,然后 PR 。@gugugupan