This commit is contained in:
aozhiwei 2020-04-08 10:23:02 +08:00
parent 7ea2993778
commit 2c1e68bb4f
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,10 @@
1
2
3
*/
AndroidAI::~AndroidAI()
{

View File

@ -914,6 +914,7 @@ void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, i
if (HasNoDownedTeammate()) {
ability.hp = MetaMgr::Instance()->GetSysParamAsInt("downed_recover_hp");
downed = true;
CancelAction();
DoGetDown();
downed_timer = room->xtimer.AddRepeatTimerAndAttach(
SERVER_FRAME_RATE,