Refactor turn threshold handling.

Closed username-removed-1340840 requested to merge ninneman/open-adventure:master into master