Introduce MockEntityResource to refactor battle luaunch