From 93efc6051269348a955f79d34ae151560fbcb0d3 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 14 Jun 2018 09:20:50 +0200 Subject: rework boon tracking --- src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 610ba40..673c396 100644 --- a/src/main.rs +++ b/src/main.rs @@ -148,5 +148,12 @@ pub fn main() -> Result<(), evtclib::raw::parser::ParseError> { println!("Damages: {:?}", stats.damage_log); println!("My damage: {:?}", my_damage); + for boon in evtclib::statistics::gamedata::BOONS { + let avg = mine + .boon_log + .average_stacks(mine.enter_combat, mine.exit_combat, boon.0); + println!("{}: {}", boon.1, avg); + } + Ok(()) } -- cgit v1.2.3