Fixes for slow move menu, zero damage issue

Weak attacks sometimes did zero damage (successful attacks should always
inflict at least 1 HP damage); move menu was killing FPS on slow
machines due to calculating MP costs every frame (JS 1.5 is slow as
hell), fixed by caching those values