Classic off by one error. Wrap battle simulator in begin/rescue to to launch pry in attempt to debug nil units