1
This commit is contained in:
parent
8ff4411274
commit
fabc72dffa
@ -1734,10 +1734,12 @@ void Creature::UpdatePoisoning()
|
||||
if (room->IsPveRoom()) {
|
||||
dmg = room->GetGasData().new_area_meta->i->hurt();
|
||||
}
|
||||
dmg = dmg * GetMaxHP();
|
||||
dmg *= 1 + GetAbility()->GetAttrRate(kHAT_PoisoningReduction);
|
||||
if (room->IsPveRoom()) {
|
||||
dmg = std::max(1.0f, dmg);
|
||||
} else {
|
||||
dmg = std::max(10.0f, dmg);
|
||||
dmg = std::max(1.0f, dmg);
|
||||
}
|
||||
DecHP(dmg, VP_Gas, TEXT("battle_server_killer_gas", "毒圈"), VW_Gas);
|
||||
if (dead) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user