1
0
Fork 0

🚧 💁 add game text translation for WX16

This commit is contained in:
WEBXOSS 2017-06-09 23:54:58 +08:00
parent f4b2dddab8
commit 35e22763d6
2 changed files with 5 additions and 7 deletions

View file

@ -116237,10 +116237,10 @@ var CardInfo = {
auto: 'onAttack',
effect: {
actionAsyn: function () {
// TODO: localize...
return this.player.selectNumberAsyn('LEVEL',1,2).callback(this,function (level) {
// TODO: show level...
this.game.tillTurnEndAdd(this,'level',level);
// FIX ME: Keep showing current level for all signis.
this.player.opponent.showTextAsyn('LEVEL','number',level);
});
},
},
@ -116568,8 +116568,7 @@ var CardInfo = {
artsEffect: {
actionAsyn: function () {
return Callback.forEach([this.player,this.player.opponent],function (player) {
// TODO: default label...
return player.selectNumberAsyn('',0,3,3).callback(this,function (count) {
return player.selectNumberAsyn('PUT_TO_ENER_ZONE',0,3,3).callback(this,function (count) {
if (!count) return;
player.enerCharge(count);
});
@ -119882,8 +119881,7 @@ var CardInfo = {
};
return this.player.selectSelfSigniAsyn(filter).callback(this,function (card) {
if (!card) return;
// TODO: client...
return this.player.selectTextAsyn('',['+1','-1']).callback(this,function (text) {
return this.player.selectTextAsyn('LEVEL',['+1','-1'],'raw').callback(this,function (text) {
var value = (text === '+1') ? 1 : -1;
this.game.tillTurnEndAdd(this,card,'level',value);
});

@ -1 +1 @@
Subproject commit 744efe2b2e0e0d56e9ad48da411df1bb649a2865
Subproject commit bf5d95c5a0a30b27c69a7706a851c0cde13dab45