mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-01-18 11:46:03 +01:00
💫 implement WX16-021 damageWhenAttackSigniZone
This commit is contained in:
parent
b43df10b84
commit
4e6dc83759
2 changed files with 6 additions and 2 deletions
7
Card.js
7
Card.js
|
@ -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) {
|
||||
|
|
|
@ -117749,7 +117749,6 @@ var CardInfo = {
|
|||
],
|
||||
artsEffect: {
|
||||
actionAsyn: function () {
|
||||
// TODO: ...
|
||||
this.game.setData(this.player,'damageWhenAttackSigniZone',true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue