1
This commit is contained in:
parent
cf5be3c47f
commit
14725b5646
@ -1242,7 +1242,7 @@ void Creature::UpdatePoisoning()
|
|||||||
} else {
|
} else {
|
||||||
dmg = room->GetGasData().old_area_meta->i->hurt();
|
dmg = room->GetGasData().old_area_meta->i->hurt();
|
||||||
}
|
}
|
||||||
dmg *= 1 + GetAbility()->GetAttrRate(kHAT_PoisoningReduction);
|
dmg *= 1 - GetAbility()->GetAttrRate(kHAT_PoisoningReduction);
|
||||||
dmg = std::max(10.0f, dmg);
|
dmg = std::max(10.0f, dmg);
|
||||||
DecHP(dmg, VP_SafeArea, TEXT("battle_server_killer_gas", "毒圈"), VW_SafeArea);
|
DecHP(dmg, VP_SafeArea, TEXT("battle_server_killer_gas", "毒圈"), VW_SafeArea);
|
||||||
if (dead) {
|
if (dead) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user