修复火焰枪战前伤害问题
This commit is contained in:
parent
b9fcee3e99
commit
1be8e2da29
@ -776,7 +776,7 @@ void Buff::ProcDive()
|
|||||||
}
|
}
|
||||||
hum->DecHP(MetaMgr::Instance()->dive_hp_consume,
|
hum->DecHP(MetaMgr::Instance()->dive_hp_consume,
|
||||||
VP_Water,
|
VP_Water,
|
||||||
"水",
|
"water",
|
||||||
0);
|
0);
|
||||||
},
|
},
|
||||||
&xtimer_attacher.timer_list_
|
&xtimer_attacher.timer_list_
|
||||||
|
@ -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)
|
void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int weapon_id)
|
||||||
{
|
{
|
||||||
|
if (!c->room->BattleStarted()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#if 0
|
#if 0
|
||||||
if (IsPlayer()) {
|
if (IsPlayer()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user