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];