Update battle-engine.js

edditing comments