forked from mirrors/webxoss-core
💫 implement WX16-067 disableBurst
This commit is contained in:
parent
bfb92d8871
commit
ba86f66469
3 changed files with 2 additions and 2 deletions
1
Card.js
1
Card.js
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
},
|
},
|
||||||
},{
|
},{
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue