Buff icon

This commit is contained in:
Sam 2021-02-28 17:30:57 -05:00
parent 531c38c3ad
commit 6ab4e2264e
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -447,6 +447,7 @@ image_ids! {
buff_campfire_heal_0: "voxygen.element.icons.de_buffs.buff_campfire_heal_0", buff_campfire_heal_0: "voxygen.element.icons.de_buffs.buff_campfire_heal_0",
buff_energyplus_0: "voxygen.element.icons.de_buffs.buff_energyplus_0", buff_energyplus_0: "voxygen.element.icons.de_buffs.buff_energyplus_0",
buff_healthplus_0: "voxygen.element.icons.de_buffs.buff_healthplus_0", buff_healthplus_0: "voxygen.element.icons.de_buffs.buff_healthplus_0",
buff_invincibility_0: "voxygen.element.icons.de_buffs.buff_invincibility_0",
// Debuffs // Debuffs
debuff_skull_0: "voxygen.element.icons.de_buffs.debuff_skull_0", debuff_skull_0: "voxygen.element.icons.de_buffs.debuff_skull_0",

View File

@ -3180,8 +3180,7 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id {
BuffKind::CampfireHeal { .. } => imgs.buff_campfire_heal_0, BuffKind::CampfireHeal { .. } => imgs.buff_campfire_heal_0,
BuffKind::IncreaseMaxEnergy { .. } => imgs.buff_energyplus_0, BuffKind::IncreaseMaxEnergy { .. } => imgs.buff_energyplus_0,
BuffKind::IncreaseMaxHealth { .. } => imgs.buff_healthplus_0, BuffKind::IncreaseMaxHealth { .. } => imgs.buff_healthplus_0,
// TODO: Before merge replace with actual icon BuffKind::Invulnerability => imgs.buff_invincibility_0,
BuffKind::Invulnerability => imgs.buff_plus_0,
// Debuffs // Debuffs
BuffKind::Bleeding { .. } => imgs.debuff_bleed_0, BuffKind::Bleeding { .. } => imgs.debuff_bleed_0,
BuffKind::Cursed { .. } => imgs.debuff_skull_0, BuffKind::Cursed { .. } => imgs.debuff_skull_0,