mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove block_strength stat from main.rs
This commit is contained in:
parent
c449b229d5
commit
1271b5ff9a
@ -370,15 +370,6 @@ fn weapon_stats() -> Result<(), Box<dyn Error>> {
|
|||||||
.parse()
|
.parse()
|
||||||
.expect(&format!("Not a f32? {:?}", item.item_definition_id()));
|
.expect(&format!("Not a f32? {:?}", item.item_definition_id()));
|
||||||
|
|
||||||
let block_strength: f32 = record
|
|
||||||
.get(headers["Block Strength"])
|
|
||||||
.expect(&format!(
|
|
||||||
"Error unwrapping block strength for {:?}",
|
|
||||||
item.item_definition_id()
|
|
||||||
))
|
|
||||||
.parse()
|
|
||||||
.expect(&format!("Not a f32? {:?}", item.item_definition_id()));
|
|
||||||
|
|
||||||
let tool = comp::item::tool::Tool::new(kind, hands, Stats {
|
let tool = comp::item::tool::Tool::new(kind, hands, Stats {
|
||||||
equip_time_secs,
|
equip_time_secs,
|
||||||
power,
|
power,
|
||||||
@ -387,7 +378,6 @@ fn weapon_stats() -> Result<(), Box<dyn Error>> {
|
|||||||
range,
|
range,
|
||||||
energy_efficiency,
|
energy_efficiency,
|
||||||
buff_strength,
|
buff_strength,
|
||||||
block_strength,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
let quality = if let Some(quality_raw) = record.get(headers["Quality"]) {
|
let quality = if let Some(quality_raw) = record.get(headers["Quality"]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user