mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed numbers from the poisebar
This commit is contained in:
parent
4a8536672c
commit
78ce257d87
@ -523,17 +523,13 @@ impl<'a> Skillbar<'a> {
|
||||
self.energy.current().round() as u32,
|
||||
self.energy.maximum().round() as u32
|
||||
),
|
||||
format!(
|
||||
"{}/{}",
|
||||
self.poise.current().round() as u32,
|
||||
self.poise.maximum().round() as u32
|
||||
),
|
||||
format!(""), // Don't obscure the tick mark
|
||||
))
|
||||
} else if let BarNumbers::Percent = bar_values {
|
||||
Some((
|
||||
format!("{}%", hp_percentage as u32),
|
||||
format!("{}%", energy_percentage as u32),
|
||||
format!("{}%", poise_percentage as u32),
|
||||
format!(""), // Don't obscure the tick mark
|
||||
))
|
||||
} else {
|
||||
None
|
||||
|
Loading…
Reference in New Issue
Block a user