a
This commit is contained in:
parent
acfe8c7e50
commit
8140d7ff27
@ -300,6 +300,7 @@ export class BattleHandler {
|
|||||||
public onPlayerDead(aplayer: Player){
|
public onPlayerDead(aplayer: Player){
|
||||||
let ph = this.getPlayer(aplayer);
|
let ph = this.getPlayer(aplayer);
|
||||||
ph && ph.die();
|
ph && ph.die();
|
||||||
|
this.delPlayer(aplayer);
|
||||||
};
|
};
|
||||||
|
|
||||||
// end--------------------------------------------------
|
// end--------------------------------------------------
|
||||||
@ -334,6 +335,7 @@ export class BattleHandler {
|
|||||||
};
|
};
|
||||||
|
|
||||||
public onPlayerAddHPNotify(aplayer: PlayerHandler, addhp: number){
|
public onPlayerAddHPNotify(aplayer: PlayerHandler, addhp: number){
|
||||||
|
//todo:
|
||||||
return addhp;
|
return addhp;
|
||||||
}
|
}
|
||||||
//end------------------------------------------------
|
//end------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user