Commits

littledot5566 committed 7e36080

*Yesterday's changes.

Comments (0)

Files changed (3)

AndroidManifest.xml

 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="nctuw.littledot.localtreasure"
     android:versionCode="1"
-    android:versionName="1.0" >
+    android:versionName="0.1" >
 
     <uses-sdk
         android:minSdkVersion="10"

res/layout/map_act_layout.xml

         android:layout_width="fill_parent"
         android:layout_height="0dp"
         android:layout_weight="1"
-        android:apiKey="0-0tVBYzo78FEXFOBhiBi06dI13u00gCOfQnEUA"
+        android:apiKey="0-0tVBYzo78F-qe7esdacwXkvQC1qjv3vYvBkbA"
         android:clickable="true" />
     <!-- Ubuntu:		0-0tVBYzo78GcruEETjNXCnXjt4rzTKIkzU5HAQ -->
     <!-- Win7:			0-0tVBYzo78FEXFOBhiBi06dI13u00gCOfQnEUA -->

src/nctuw/littledot/localtreasure/database/Treasure.java

 	 * @return
 	 */
 	public static Treasure generateReward(Expedition e) {
-		if (e.getTravelled() < 300D)
+		if (e.getTravelled() < 400D)
 			return null;
 
 		Random rand = new Random();
 		int index = 0;
 
 		// different tiers of reward based on distance travelled?
-		if (e.getTravelled() > 500D)
+		if (e.getTravelled() > 400D)
 			index = rand.nextInt(values().length);
 
 		return values()[index];
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.