-
Notifications
You must be signed in to change notification settings - Fork 9
[WIP] WDK02 #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: WX16
Are you sure you want to change the base?
[WIP] WDK02 #70
Conversation
| "【自】:このルリグがアタックしたとき、《青》を支払ってもよい。そうした場合、カードを1枚引く。" | ||
| ], | ||
| constEffects: [{ | ||
| action: function (set, add) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议用 auto
| ], | ||
| startUpEffects: [{ | ||
| actionAsyn: function () { | ||
| var cards = this.player.opponent.hands; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
見ないで選び,要用 discardRandomly
| }, | ||
| artsEffect: { | ||
| actionAsyn: function () { | ||
| this.player.opponent.discardRandomly(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不是3枚吗
| bet: 2, | ||
| artsEffect: { | ||
| actionAsyn: function (costArg) { | ||
| return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filter 去掉,下同
| "エクシード1(このルリグの下からカードを1枚ルリグトラッシュに置く):あなたはカードを1枚引く。対戦相手は手札を1枚捨てる。", | ||
| " エクシード2(このルリグの下からカードを2枚ルリグトラッシュに置く):対戦相手のシグニ1体をダウンし凍結する。", | ||
| "(凍結されたシグニは次の自分のアップフェイズにアップしない)" | ||
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mark
| var signis = []; | ||
| var done = false; | ||
| var searchCardNumber = costArg.bet ? 4 : 3; | ||
| return Callback.loop(this,searchCardNumber,function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pickCardAsyn 了解一下
| ], | ||
| startUpEffects: [{ | ||
| actionAsyn: function() { | ||
| if (this.player.hands.length == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用 === (或者 !
| actionAsyn: function() { | ||
| if (this.player.hands.length == 0) { | ||
| return this.decreasePowerAsyn(5000); | ||
| } else if (this.player.hands.length <= 2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return 之后不要 else 了吧
| cardSkills: [ | ||
| "【ガード】(このカードを手札から捨てることで、ルリグのアタックによるダメージを一度防ぐ)", | ||
| "【常】:【マルチエナ】(エナコストを支払う際、このカードは好きな色1つとして支払える)" | ||
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可删
| actionAsyn: function (target) { | ||
| return target.trashAsyn().callback(this,function (succ) { | ||
| if (succ) { | ||
| this.player.opponent.discardAsyn(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
带 async 的都要 return (类似 promise)
不要直接推到主仓库,最好自己 frok 一份,推自己仓库,然后 PR 。@gugugupan