aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-07-23 17:57:59 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-07-23 17:57:59 +0200
commit75f5ce065efb6a186570b365c88e564871915d76 (patch)
tree1febc6107a3cfaa6af2ad361f84562d1ecdcb725 /src/lib.rs
parent30b3c2cfbb88d0a8e8e6b209c11fd0efacb66aff (diff)
downloadevtclib-75f5ce065efb6a186570b365c88e564871915d76.tar.gz
evtclib-75f5ce065efb6a186570b365c88e564871915d76.tar.bz2
evtclib-75f5ce065efb6a186570b365c88e564871915d76.zip
more documentation & adjustments
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a343cfe..bd2acca 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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() {