1
This commit is contained in:
parent
cea695f74b
commit
2fec6f3fd7
@ -922,7 +922,7 @@ void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, i
|
|||||||
health = MetaMgr::Instance()->GetSysParamAsInt("downed_recover_hp");
|
health = MetaMgr::Instance()->GetSysParamAsInt("downed_recover_hp");
|
||||||
downed = true;
|
downed = true;
|
||||||
downed_timer = room->xtimer.AddRepeatTimerAndAttach(
|
downed_timer = room->xtimer.AddRepeatTimerAndAttach(
|
||||||
SERVER_FRAME_RATE * MetaMgr::Instance()->tank_damage_interval,
|
SERVER_FRAME_RATE,
|
||||||
a8::XParams()
|
a8::XParams()
|
||||||
.SetSender(this)
|
.SetSender(this)
|
||||||
.SetParam1(killer_id)
|
.SetParam1(killer_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user