Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cap ward lifespans and exclude some wards from average #1379

Merged
merged 2 commits into from
Dec 9, 2017

Conversation

Argn0
Copy link
Contributor

@Argn0 Argn0 commented Dec 8, 2017

-Cap the maximal duration for wards. Necessary until odota/parser#3 is implemented.

-If a ward does not expire before game ends, then set it's left time equal to the game duration

-Exclude wards that did not expire before the game ended when calculating the average lifespan in order to not distort the average time.

@howardchung howardchung merged commit fd7677e into odota:master Dec 9, 2017
@Argn0 Argn0 deleted the lifespan branch December 12, 2017 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants