Delete the "global" param from parseString.toHit. This was causing exec to return null when the powers were not rolled in order. This seems to be cause by the internal pointer not being set to start at the begining of later input strings. This may also be fied with pattern.lastindex = 0. See [Beware the Regex Pointer]("http://nathanfriend.com/blog/beware_the_regex_pointer") for more information.
Delete calls to console.log