Added previously requested changes

This commit is contained in:
Pybit 2024-01-03 12:31:35 +00:00
parent b742d2987b
commit 26520b51ef
2 changed files with 3 additions and 2 deletions

View File

@ -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),

View File

@ -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,