mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
M2 Staff Final Touch
This commit is contained in:
parent
0d956610ec
commit
e33961e1fa
@ -48,6 +48,7 @@ opt-level = 2
|
||||
[profile.dev.package."veloren-server-cli"]
|
||||
opt-level = 2
|
||||
[profile.dev.package."veloren-voxygen"]
|
||||
incremental = true
|
||||
opt-level = 2
|
||||
[profile.dev.package."veloren-world"]
|
||||
opt-level = 2
|
||||
|
@ -25,7 +25,7 @@
|
||||
"buff.title.cursed": "Cursed",
|
||||
"buff.desc.cursed": "You are cursed.",
|
||||
"buff.title.burn": "On Fire",
|
||||
"buff.desc.burn": "Burn, baby, burn",
|
||||
"buff.desc.burn": "You are burning alive",
|
||||
// Buffs stats
|
||||
"buff.stat.health": "Restores {str_total} Health",
|
||||
"buff.stat.increase_max_stamina": "Raises Maximum Stamina by {strength}",
|
||||
|
@ -14,7 +14,7 @@ use std::{cmp::Ordering, time::Duration};
|
||||
/// This is used to determine what effects a buff will have
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, Serialize, Deserialize, PartialOrd, Ord)]
|
||||
pub enum BuffKind {
|
||||
/// Lower a creature's max health over time
|
||||
/// Does damage to a creature over time
|
||||
Burning,
|
||||
/// Restores health/time for some period
|
||||
Regeneration,
|
||||
@ -247,6 +247,7 @@ impl Buff {
|
||||
}],
|
||||
data.duration,
|
||||
),
|
||||
|
||||
};
|
||||
Buff {
|
||||
kind,
|
||||
|
@ -3447,7 +3447,7 @@ pub fn get_buff_image(buff: BuffKind, imgs: &Imgs) -> conrod_core::image::Id {
|
||||
// Debuffs
|
||||
BuffKind::Bleeding { .. } => imgs.debuff_bleed_0,
|
||||
BuffKind::Cursed { .. } => imgs.debuff_skull_0,
|
||||
BuffKind::Burning { .. } => imgs.debuff_burning_0,
|
||||
BuffKind::Burning { .. } => imgs.debuff_burning_0,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user