This commit is contained in:
y.x 2020-12-08 12:58:50 +08:00
parent acfe8c7e50
commit 8140d7ff27

View File

@ -300,6 +300,7 @@ export class BattleHandler {
public onPlayerDead(aplayer: Player){
let ph = this.getPlayer(aplayer);
ph && ph.die();
this.delPlayer(aplayer);
};
// end--------------------------------------------------
@ -334,6 +335,7 @@ export class BattleHandler {
};
public onPlayerAddHPNotify(aplayer: PlayerHandler, addhp: number){
//todo:
return addhp;
}
//end------------------------------------------------