aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2018-06-14 09:20:50 +0200
committerDaniel Schadt <kingdread@gmx.de>2018-06-14 09:20:50 +0200
commit93efc6051269348a955f79d34ae151560fbcb0d3 (patch)
treecd70f4c3507960d3f702235b99d8d0deb4b7a312 /src/main.rs
parent1857d5b73fdf137a23b8266b923047f8cc07bd49 (diff)
downloadevtclib-93efc6051269348a955f79d34ae151560fbcb0d3.tar.gz
evtclib-93efc6051269348a955f79d34ae151560fbcb0d3.tar.bz2
evtclib-93efc6051269348a955f79d34ae151560fbcb0d3.zip
rework boon tracking
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 7 insertions, 0 deletions
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(())
}