Skip to content
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

[WIP] WDK02 #70

Open
wants to merge 1 commit into
base: WX16
Choose a base branch
from
Open

[WIP] WDK02 #70

wants to merge 1 commit into from

Conversation

webxoss
Copy link
Owner

@webxoss webxoss commented Jun 10, 2018

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

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

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;
Copy link
Owner Author

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);
Copy link
Owner Author

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) {
Copy link
Owner Author

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体をダウンし凍結する。",
"(凍結されたシグニは次の自分のアップフェイズにアップしない)"
],
Copy link
Owner Author

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 () {
Copy link
Owner Author

@webxoss webxoss Jun 10, 2018

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) {
Copy link
Owner Author

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) {
Copy link
Owner Author

Choose a reason for hiding this comment

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

return 之后不要 else 了吧

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

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);
Copy link
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.

None yet

2 participants