💫 implement WX16-021 damageWhenAttackSigniZone

This commit is contained in:
WEBXOSS 2017-06-09 10:22:47 +08:00
parent b43df10b84
commit 4e6dc83759
2 changed files with 6 additions and 2 deletions

View file

@ -1375,7 +1375,12 @@ Card.prototype.attackAsyn = function () {
});
} else {
// 伤害
if (target !== opposingSigni) return;
if (target !== opposingSigni) {
// 攻击非正面的区域
if (!this.game.getData(card.player,'damageWhenAttackSigniZone')) {
return;
}
}
if (event.wontBeDamaged || opponent.wontBeDamaged) return;
crashArg.damage = true;
if (opponent.lifeClothZone.cards.length) {

View file

@ -117749,7 +117749,6 @@ var CardInfo = {
],
artsEffect: {
actionAsyn: function () {
// TODO: ...
this.game.setData(this.player,'damageWhenAttackSigniZone',true);
}
}