mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Buff icons
This commit is contained in:
parent
2652660a58
commit
d99623b298
BIN
assets/voxygen/element/de_buffs/buff_frenzy_0.png
(Stored with Git LFS)
Normal file
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
BIN
assets/voxygen/element/de_buffs/debuff_cripple_0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user