From ba86f66469d2c4293ecf49651b879408722f8c1e Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Thu, 8 Jun 2017 01:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20implement=20WX16-067=20disableBu?= =?UTF-8?q?rst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Card.js | 1 + CardInfo.js | 1 - Player.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Card.js b/Card.js index d355b96..9e36c61 100644 --- a/Card.js +++ b/Card.js @@ -177,6 +177,7 @@ function Card (game,player,zone,pid,side) { this.upProtections = []; this.canAttackAnySigniZone = false; this.canAttackNearbySigniZone = false; + this.disableBurst = false; // 注意hasAbility } diff --git a/CardInfo.js b/CardInfo.js index 9f79c82..2962319 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -119875,7 +119875,6 @@ var CardInfo = { constEffects: [{ wisdom: 8, action: function (set,add) { - // TODO: ... set(this,'disableBurst',true); }, },{ diff --git a/Player.js b/Player.js index 3e5c1cd..d8121b2 100644 --- a/Player.js +++ b/Player.js @@ -1120,7 +1120,7 @@ Player.prototype.crashAsyn = function (n,arg) { lancer: lancer }; this.onCrash.trigger(event); - if (card.onBurst.effects.length && (tag !== 'dontTriggerBurst')) { + if (card.onBurst.effects.length && (tag !== 'dontTriggerBurst') && !source.disableBurst) { // 迸发 card.onBurst.trigger({crossLifeCloth: crossLifeCloth}); // 注意 } else {