diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-05-30 17:47:11 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-05-30 17:47:11 +0200 |
commit | 4f3aa33ad3c7012105ef897da62220131ac9289c (patch) | |
tree | 3a4363009e2e7de892f85e0c761a7b6be5135157 /src | |
parent | 79cde5fc6629102cd878b460d45f779c9256425d (diff) | |
download | evtclib-4f3aa33ad3c7012105ef897da62220131ac9289c.tar.gz evtclib-4f3aa33ad3c7012105ef897da62220131ac9289c.tar.bz2 evtclib-4f3aa33ad3c7012105ef897da62220131ac9289c.zip |
output boon uptimes for debugging
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c560143..c6c0c2d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -118,5 +118,11 @@ pub fn main() -> Result<(), evtclib::raw::parser::ParseError> { mine.boss_damage.total_damage / (mine.combat_time() / 1000) ); + println!("Boons:"); + for (boon, uptime) in &mine.boon_averages { + let boon = evtclib::statistics::gamedata::get_boon(*boon); + println!("{}: {}", boon.unwrap().1, uptime); + } + Ok(()) } |