a
This commit is contained in:
parent
acfe8c7e50
commit
8140d7ff27
@ -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------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user