shop_sell #65
@ -256,11 +256,9 @@ impl InventoryItem {
|
|||||||
Some((ArmorShopItem::unit_from_item(u).price() / 8) as u32)
|
Some((ArmorShopItem::unit_from_item(u).price() / 8) as u32)
|
||||||
},
|
},
|
||||||
ItemDetail::Tool(t) => {
|
ItemDetail::Tool(t) => {
|
||||||
if !matches!(t.tool, ToolType::PhotonDrop | ToolType::PhotonSphere | ToolType::PhotonCrystal) {
|
if !matches!(t.tool, ToolType::PhotonDrop | ToolType::PhotonSphere | ToolType::PhotonCrystal) && t.is_rare_item() {
|
||||||
if t.is_rare_item() {
|
|
||||||
return Some(10u32)
|
return Some(10u32)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Some((ToolShopItem::tool_from_item(t).price() / 8) as u32)
|
Some((ToolShopItem::tool_from_item(t).price() / 8) as u32)
|
||||||
},
|
},
|
||||||
ItemDetail::TechniqueDisk(d) => { // TODO: are all techs the same?
|
ItemDetail::TechniqueDisk(d) => { // TODO: are all techs the same?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user