mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 00:47:19 +08:00
Consume proper currency amount when idolizing
This commit is contained in:
@@ -196,4 +196,12 @@ lazy_static! {
|
||||
pub static ref RANKS: JsonValue = {
|
||||
json::parse(&include_file!("src/router/databases/json/user_rank.json")).unwrap()
|
||||
};
|
||||
pub static ref EVOLVE_COST: JsonValue = {
|
||||
let mut info = object!{};
|
||||
let items = json::parse(&include_file!("src/router/databases/json/card_evolve.json")).unwrap();
|
||||
for data in items.members() {
|
||||
info[data["rarity"].to_string()] = data["price"].clone();
|
||||
}
|
||||
info
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user