Update battle-engine.js

Edits battle engine for diversions