Skip to content

[WIP] WDK02#70

Open
webxoss wants to merge 1 commit into
WX16from
WDK02
Open

[WIP] WDK02#70
webxoss wants to merge 1 commit into
WX16from
WDK02

Conversation

@webxoss

@webxoss webxoss commented Jun 10, 2018

Copy link
Copy Markdown
Owner

不要直接推到主仓库,最好自己 frok 一份,推自己仓库,然后 PR 。@gugugupan

Comment thread CardInfo.js
"【自】:このルリグがアタックしたとき、《青》を支払ってもよい。そうした場合、カードを1枚引く。"
],
constEffects: [{
action: function (set, add) {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议用 auto

Comment thread CardInfo.js
],
startUpEffects: [{
actionAsyn: function () {
var cards = this.player.opponent.hands;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

見ないで選び,要用 discardRandomly

Comment thread CardInfo.js
},
artsEffect: {
actionAsyn: function () {
this.player.opponent.discardRandomly(1);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不是3枚吗

Comment thread CardInfo.js
bet: 2,
artsEffect: {
actionAsyn: function (costArg) {
return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filter 去掉,下同

Comment thread CardInfo.js
"エクシード1(このルリグの下からカードを1枚ルリグトラッシュに置く):あなたはカードを1枚引く。対戦相手は手札を1枚捨てる。",
" エクシード2(このルリグの下からカードを2枚ルリグトラッシュに置く):対戦相手のシグニ1体をダウンし凍結する。",
"(凍結されたシグニは次の自分のアップフェイズにアップしない)"
],

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mark

Comment thread CardInfo.js
var signis = [];
var done = false;
var searchCardNumber = costArg.bet ? 4 : 3;
return Callback.loop(this,searchCardNumber,function () {

@webxoss webxoss Jun 10, 2018

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pickCardAsyn 了解一下

Comment thread CardInfo.js
],
startUpEffects: [{
actionAsyn: function() {
if (this.player.hands.length == 0) {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用 === (或者 !

Comment thread CardInfo.js
actionAsyn: function() {
if (this.player.hands.length == 0) {
return this.decreasePowerAsyn(5000);
} else if (this.player.hands.length <= 2) {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return 之后不要 else 了吧

Comment thread CardInfo.js
cardSkills: [
"【ガード】(このカードを手札から捨てることで、ルリグのアタックによるダメージを一度防ぐ)",
"【常】:【マルチエナ】(エナコストを支払う際、このカードは好きな色1つとして支払える)"
],

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可删

Comment thread CardInfo.js
actionAsyn: function (target) {
return target.trashAsyn().callback(this,function (succ) {
if (succ) {
this.player.opponent.discardAsyn(1);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

带 async 的都要 return (类似 promise)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants