diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-07-23 17:57:59 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-07-23 17:57:59 +0200 |
commit | 75f5ce065efb6a186570b365c88e564871915d76 (patch) | |
tree | 1febc6107a3cfaa6af2ad361f84562d1ecdcb725 /src/lib.rs | |
parent | 30b3c2cfbb88d0a8e8e6b209c11fd0efacb66aff (diff) | |
download | evtclib-75f5ce065efb6a186570b365c88e564871915d76.tar.gz evtclib-75f5ce065efb6a186570b365c88e564871915d76.tar.bz2 evtclib-75f5ce065efb6a186570b365c88e564871915d76.zip |
more documentation & adjustments
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -884,6 +884,10 @@ impl Log { /// /// This can be used as an indication whether the fight was successful (`true`) or not /// (`false`). + /// + /// If you want to properly determine whether a fight was successful, check the + /// [`Analyzer::outcome`][Analyzer::outcome] method, which does more sophisticated checks + /// (dependent on the boss). pub fn was_rewarded(&self) -> bool { self.events().iter().any(|e| { if let EventKind::Reward { .. } = e.kind() { |