added formula for localytics version 2.18.5 used by spellfall