Make potion sickness's healing multiplier only affect potions.

This commit is contained in:
Avi Weinstock 2023-01-18 16:27:54 -05:00
parent 060b8cc0ec
commit dc6e61983c

View File

@ -362,7 +362,7 @@ fn execute_effect(
DamageContributor::new(uid, read_data.groups.get(entity).cloned())
})
});
if amount > 0.0 {
if amount > 0.0 && matches!(buff_kind, BuffKind::Potion) {
amount *= stat.heal_multiplier;
}
server_emitter.emit(ServerEvent::HealthChange {