From 4f3aa33ad3c7012105ef897da62220131ac9289c Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 30 May 2018 17:47:11 +0200 Subject: output boon uptimes for debugging --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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(()) } -- cgit v1.2.3