增加返回时间

This commit is contained in:
yuexin 2020-12-30 16:54:39 +08:00
parent a317d23811
commit e58e3f99d7

View File

@ -471,6 +471,9 @@ export class BattleHandler {
let ph = this.getPlayer(aplayer);
let fromph = this.getPlayer(fromplayer);
ph && ph.onCardLinkEnd(linkcards, fromph);
//1
return 0;
};
/**
@ -481,6 +484,9 @@ export class BattleHandler {
public onCardDiscarded(aplayer: Player, card: Card){
let ph = this.getPlayer(aplayer);
ph && ph.onCardDiscarded(card);
//1
return 0;
};
/**
@ -492,6 +498,9 @@ export class BattleHandler {
return;
}
sp.srcplayer && sp.srcplayer.onUseCardEnd(sp);
//1
return 0;
};
/**
@ -531,6 +540,9 @@ export class BattleHandler {
}
let ph = this.getPlayer(aplayer);
ph && ph.onRoundStart();
//1
return 0;
};
/**
@ -541,6 +553,9 @@ export class BattleHandler {
let ph = this.getPlayer(aplayer);
ph && ph.onRoundEnd();
this.checkPets();
//1
return 0;
};
/**