Implement potion sickness, which causes diminishing returns on healing from potions.

This commit is contained in:
Avi Weinstock
2023-01-13 19:48:59 -05:00
parent da9cd79973
commit 78845a0d73
25 changed files with 185 additions and 43 deletions

View File

@ -421,7 +421,7 @@ impl StateExt for State {
.with(Auras::new(vec![Aura::new(
AuraKind::Buff {
kind: BuffKind::Invulnerability,
data: BuffData::new(1.0, Some(Duration::from_secs(1))),
data: BuffData::new(1.0, Some(Duration::from_secs(1)), None),
category: BuffCategory::Natural,
source: BuffSource::World,
},