修复火焰枪战前伤害问题

This commit is contained in:
aozhiwei 2022-05-10 08:56:53 +08:00
parent b9fcee3e99
commit 1be8e2da29
2 changed files with 4 additions and 1 deletions

View File

@ -776,7 +776,7 @@ void Buff::ProcDive()
}
hum->DecHP(MetaMgr::Instance()->dive_hp_consume,
VP_Water,
"",
"water",
0);
},
&xtimer_attacher.timer_list_

View File

@ -860,6 +860,9 @@ void Human::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id)
{
if (!c->room->BattleStarted()) {
return;
}
#ifdef DEBUG
#if 0
if (IsPlayer()) {