From 26520b51ef7b674d041f7465d1f62e2d91256dfe Mon Sep 17 00:00:00 2001 From: Pybit Date: Wed, 3 Jan 2024 12:31:35 +0000 Subject: [PATCH] Added previously requested changes --- common/src/comp/buff.rs | 1 + voxygen/src/hud/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/comp/buff.rs b/common/src/comp/buff.rs index e73b33f4df..cef10d70c3 100644 --- a/common/src/comp/buff.rs +++ b/common/src/comp/buff.rs @@ -364,6 +364,7 @@ impl BuffKind { }, ], BuffKind::Parried => vec![BuffEffect::AttackSpeed(0.5)], + //TODO: Handle potion sickness in a more general way. BuffKind::PotionSickness => vec![ BuffEffect::HealReduction(data.strength), BuffEffect::MoveSpeedReduction(data.strength), diff --git a/voxygen/src/hud/mod.rs b/voxygen/src/hud/mod.rs index 6297918fe3..55b1647e2e 100755 --- a/voxygen/src/hud/mod.rs +++ b/voxygen/src/hud/mod.rs @@ -5160,8 +5160,8 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id { BuffKind::Regeneration => imgs.buff_plus_0, BuffKind::Saturation => imgs.buff_saturation_0, BuffKind::Potion => imgs.buff_potion_0, - // TODO: Need unique image for Agility (uses same as regeneration atm) - BuffKind::Agility => imgs.buff_plus_0, + // TODO: Need unique image for Agility (uses same as Hastened atm) + BuffKind::Agility => imgs.buff_haste_0, BuffKind::CampfireHeal => imgs.buff_campfire_heal_0, BuffKind::EnergyRegen => imgs.buff_energyplus_0, BuffKind::IncreaseMaxEnergy => imgs.buff_energyplus_0,