mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
🐛 fix handling burst when no effect source
This commit is contained in:
parent
6232881fa2
commit
80d3f08739
1 changed files with 4 additions and 1 deletions
|
@ -1117,7 +1117,10 @@ Player.prototype.crashAsyn = function (n,arg) {
|
|||
lancer: lancer
|
||||
};
|
||||
this.onCrash.trigger(event);
|
||||
if (card.onBurst.effects.length && (tag !== 'dontTriggerBurst') && !source.disableBurst) {
|
||||
var shouldBurst = card.onBurst.effects.length &&
|
||||
(tag !== 'dontTriggerBurst') &&
|
||||
(!source || !source.disableBurst)
|
||||
if (shouldBurst) {
|
||||
// 迸发
|
||||
card.onBurst.trigger({crossLifeCloth: crossLifeCloth}); // 注意<DYNAMITE>
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue