Buff icons

This commit is contained in:
Sam 2021-05-04 08:44:47 -04:00
parent 2652660a58
commit d99623b298
4 changed files with 10 additions and 4 deletions

BIN
assets/voxygen/element/de_buffs/buff_frenzy_0.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/de_buffs/debuff_cripple_0.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -569,11 +569,13 @@ image_ids! {
buff_healthplus_0: "voxygen.element.de_buffs.buff_healthplus_0",
buff_invincibility_0: "voxygen.element.de_buffs.buff_invincibility_0",
buff_dmg_red_0: "voxygen.element.de_buffs.buff_damage_reduce_0",
buff_frenzy_0: "voxygen.element.de_buffs.buff_frenzy_0",
// Debuffs
debuff_skull_0: "voxygen.element.de_buffs.debuff_skull_0",
debuff_bleed_0: "voxygen.element.de_buffs.debuff_bleed_0",
debuff_burning_0: "voxygen.element.de_buffs.debuff_burning_0",
debuff_crippled_0: "voxygen.element.de_buffs.debuff_cripple_0",
// Animation Frames
// Buff Frame

View File

@ -3622,14 +3622,12 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id {
BuffKind::IncreaseMaxHealth { .. } => imgs.buff_healthplus_0,
BuffKind::Invulnerability => imgs.buff_invincibility_0,
BuffKind::ProtectingWard => imgs.buff_dmg_red_0,
// TODO: Get buff icon
BuffKind::Frenzied { .. } => imgs.buff_invincibility_0,
BuffKind::Frenzied { .. } => imgs.buff_frenzy_0,
// Debuffs
BuffKind::Bleeding { .. } => imgs.debuff_bleed_0,
BuffKind::Cursed { .. } => imgs.debuff_skull_0,
BuffKind::Burning { .. } => imgs.debuff_burning_0,
// TODO: Get buff icon
BuffKind::Crippled { .. } => imgs.debuff_bleed_0,
BuffKind::Crippled { .. } => imgs.debuff_crippled_0,
}
}