v1 #4
共有 1 个文件被更改,包括 6 次插入 和 0 次删除
|
@ -41,6 +41,12 @@ class Player
|
|||
this.death++;
|
||||
this.health=defaulthealth;
|
||||
|
||||
players.forEach((p) => {
|
||||
if(p.id==killerId) {
|
||||
p.kill++;
|
||||
}
|
||||
});
|
||||
|
||||
net.died(this.id,killerId);
|
||||
}
|
||||
}
|
||||
|
|
正在加载…
在新工单中引用