Quote:
[Thu Feb 15 21:15:08 2024] Auto attack on.
[Thu Feb 15 21:17:55 2024] Eldak Howlingbear sweats and shivers, looking feverish.
[Thu Feb 15 21:19:32 2024] You gain experience!!
[Thu Feb 15 21:26:55 2024] Auto attack on.
[Thu Feb 15 21:29:03 2024] Eldak Howlingbear sweats and shivers, looking feverish.
[Thu Feb 15 21:32:19 2024] You gain experience!!
|
first fight is 4:24, second is 5:24, total time is 9:48
Quote:
~/eq/scourge % grep "Eldak" ShamwowiBlightFMGiants01.txt| grep -E "hits|kicks|bashes" | awk '{print $11}' | ./dps.py
total damage: 8478
~/eq/scourge % bc -l
>>> 9*60+48
588
>>> 8478 / 588
14.41836734693877551020
|
Against Eldak, DPS is 14.4
Quote:
[Thu Feb 15 21:21:28 2024] Auto attack on.
[Thu Feb 15 21:21:50 2024] Mentrax Mountainbone sweats and shivers, looking
[Thu Feb 15 21:25:37 2024] You gain experience!!
[Thu Feb 15 21:33:26 2024] Auto attack on.
[Thu Feb 15 21:33:39 2024] Mentrax Mountainbone sweats and shivers, looking feverish.
[Thu Feb 15 21:37:42 2024] You gain experience!!
|
first fight is 4:09, second is 4:16, total is 8:25
Quote:
~/eq/scourge % grep "Mentrax" ShamwowiBlightFMGiants01.txt| grep -E "hits|kicks|bashes" | awk '{print $11}' | ./dps.py
total damage: 7030
~/eq/scourge % bc -l
>>> 8*60 + 25
505
>>> 7030/505
13.92079207920792079207
|
DPS against Mentrax is 13.9
Code:
#! python3
import sys
def process():
results = []
for line in sys.stdin:
results.append(int(line.strip()))
print("total damage: {0}".format(sum(results)))
if __name__ == '__main__':
process()
Edit: I suspect the discrepancy is because DSM is dividing over the full 22 Min 24 Sec time, forgetting to remove the time spent recovering between fights.
Note that fight 1 ends at 21:19:32 and fight 2 starts at 21:21:28 - about two minutes.