comment out the prints

This commit is contained in:
endernon 2024-09-13 17:22:06 +01:00
parent 1daeb1df56
commit 8c111c1b11
3 changed files with 7 additions and 4 deletions

View file

@ -13,3 +13,6 @@ Move the program to some folder. Download these three files and place them next
https://raw.githubusercontent.com/Wynntils/Static-Storage/main/Reference/id_keys.json https://raw.githubusercontent.com/Wynntils/Static-Storage/main/Reference/id_keys.json
https://raw.githubusercontent.com/Wynntils/Static-Storage/main/Data-Storage/shiny_stats.json https://raw.githubusercontent.com/Wynntils/Static-Storage/main/Data-Storage/shiny_stats.json
read the provided config markdown file to understand how to edit config.json read the provided config markdown file to understand how to edit config.json

View file

@ -16,7 +16,7 @@
{"id": "walkSpeed", "base":-40 , "roll":69}, {"id": "walkSpeed", "base":-40 , "roll":69},
{"id": "mainAttackDamage", "base":15, "roll":130 }, {"id": "mainAttackDamage", "base":15, "roll":130 },
{"id": "rawMainAttackDamage", "base":444 , "roll":130 }, {"id": "rawMainAttackDamage", "base":444 , "roll":130 },
{"id": "rawSpellDamage", "base":222 , "roll":130 }, {"id": "rawSpellDamage", "base":222 , "roll":30 },
{"id": "spellDamage", "base":10 , "roll":130 } {"id": "spellDamage", "base":10 , "roll":130 }
], ],
"powder_limit": 255, "powder_limit": 255,

View file

@ -199,11 +199,11 @@ fn main() {
for i in json_shiny { for i in json_shiny {
if i.key == shiny.key { if i.key == shiny.key {
realshinykey = i.id; realshinykey = i.id;
println!("shiny key {}",shiny.key); // println!("shiny key {}",shiny.key);
} }
} }
println!("realshinykey: {}",realshinykey); // println!("realshinykey: {}",realshinykey);
println!("shinyvalue: {}",shinyvalue); // println!("shinyvalue: {}",shinyvalue);
ShinyData { ShinyData {
id: realshinykey, id: realshinykey,
val: shinyvalue as i64, //- 0b0100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000, val: shinyvalue as i64, //- 0b0100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000,