1
0
Fork 0

💫 implement WX16-067 disableBurst

This commit is contained in:
WEBXOSS 2017-06-08 01:46:53 +08:00
parent bfb92d8871
commit ba86f66469
3 changed files with 2 additions and 2 deletions

View file

@ -177,6 +177,7 @@ function Card (game,player,zone,pid,side) {
this.upProtections = []; this.upProtections = [];
this.canAttackAnySigniZone = false; this.canAttackAnySigniZone = false;
this.canAttackNearbySigniZone = false; this.canAttackNearbySigniZone = false;
this.disableBurst = false;
// 注意hasAbility // 注意hasAbility
} }

View file

@ -119875,7 +119875,6 @@ var CardInfo = {
constEffects: [{ constEffects: [{
wisdom: 8, wisdom: 8,
action: function (set,add) { action: function (set,add) {
// TODO: ...
set(this,'disableBurst',true); set(this,'disableBurst',true);
}, },
},{ },{

View file

@ -1120,7 +1120,7 @@ Player.prototype.crashAsyn = function (n,arg) {
lancer: lancer lancer: lancer
}; };
this.onCrash.trigger(event); 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}); // 注意<DYNAMITE> card.onBurst.trigger({crossLifeCloth: crossLifeCloth}); // 注意<DYNAMITE>
} else { } else {