From 0b1f8dc29ae6a9a60899cccf32a11faef00c62ce Mon Sep 17 00:00:00 2001 From: Maxicarlos08 Date: Sun, 21 Jan 2024 15:05:31 +0100 Subject: [PATCH] add charm buff icons --- assets/voxygen/element/de_buffs/buff_flame.png | 3 +++ assets/voxygen/element/de_buffs/buff_frigid.png | 3 +++ assets/voxygen/element/de_buffs/buff_lifesteal.png | 3 +++ voxygen/src/hud/img_ids.rs | 3 +++ voxygen/src/hud/mod.rs | 6 +++--- 5 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 assets/voxygen/element/de_buffs/buff_flame.png create mode 100644 assets/voxygen/element/de_buffs/buff_frigid.png create mode 100644 assets/voxygen/element/de_buffs/buff_lifesteal.png diff --git a/assets/voxygen/element/de_buffs/buff_flame.png b/assets/voxygen/element/de_buffs/buff_flame.png new file mode 100644 index 0000000000..5a18ec4478 --- /dev/null +++ b/assets/voxygen/element/de_buffs/buff_flame.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f225623f5727800113189e1fd08a98b32d525d262eb1276f806f23081beb2ad +size 274 diff --git a/assets/voxygen/element/de_buffs/buff_frigid.png b/assets/voxygen/element/de_buffs/buff_frigid.png new file mode 100644 index 0000000000..5a91df14e4 --- /dev/null +++ b/assets/voxygen/element/de_buffs/buff_frigid.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9a0ae65b9e42e2fa537f3e3268dc9899d1f4e116bfd57b2ae7ce370d10976ca +size 273 diff --git a/assets/voxygen/element/de_buffs/buff_lifesteal.png b/assets/voxygen/element/de_buffs/buff_lifesteal.png new file mode 100644 index 0000000000..b47fbff4bb --- /dev/null +++ b/assets/voxygen/element/de_buffs/buff_lifesteal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4e83aed53865b1f13eb122274d0689dc88d762bc6a10ac5b4767035924f4aec +size 278 diff --git a/voxygen/src/hud/img_ids.rs b/voxygen/src/hud/img_ids.rs index 738faa5017..6b64780780 100644 --- a/voxygen/src/hud/img_ids.rs +++ b/voxygen/src/hud/img_ids.rs @@ -785,6 +785,9 @@ image_ids! { buff_fury: "voxygen.element.de_buffs.buff_fury", buff_sunderer: "voxygen.element.de_buffs.buff_sunderer", buff_defiance: "voxygen.element.de_buffs.buff_defiance", + buff_lifesteal: "voxygen.element.de_buffs.buff_lifesteal", + buff_flame: "voxygen.element.de_buffs.buff_flame", + buff_frigid: "voxygen.element.de_buffs.buff_frigid", // Debuffs debuff_skull_0: "voxygen.element.de_buffs.debuff_skull_0", diff --git a/voxygen/src/hud/mod.rs b/voxygen/src/hud/mod.rs index e21609c4e3..2673b6c712 100755 --- a/voxygen/src/hud/mod.rs +++ b/voxygen/src/hud/mod.rs @@ -5194,9 +5194,9 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id { BuffKind::Hastened => imgs.buff_haste_0, BuffKind::Fortitude => imgs.buff_fortitude_0, BuffKind::Reckless => imgs.buff_reckless, - BuffKind::Flame => imgs.debuff_burning_0, - BuffKind::Frigid => imgs.debuff_frozen_0, - BuffKind::Lifesteal => imgs.buff_plus_0, + BuffKind::Flame => imgs.buff_flame, + BuffKind::Frigid => imgs.buff_frigid, + BuffKind::Lifesteal => imgs.buff_lifesteal, // TODO: Get image // BuffKind::SalamanderAspect => imgs.debuff_burning_0, BuffKind::ImminentCritical => imgs.buff_imminentcritical,