making it a little bit more difficult spacecampaign
authorPeriklis Ntanasis <pntanasis@gmail.com>
Sat, 03 Aug 2013 03:16:40 +0300
branchspacecampaign
changeset 9459 8c653c0dd332
parent 9457 934f4d8370f1
child 9461 0058a9863724
making it a little bit more difficult
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua	Sat Aug 03 03:13:10 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua	Sat Aug 03 03:16:40 2013 +0300
@@ -86,7 +86,7 @@
 	AnimWait(hero.gear, 3000)
 	FollowGear(hero.gear)
 	
-	AddAmmo(hero.gear, amJetpack, 3)
+	AddAmmo(hero.gear, amJetpack, 2)
 	
 	-- place a waypoint
 	placeNextWaypoint()
@@ -125,9 +125,13 @@
 		WriteLnToConsole("Before "..TurnTimeLeft)
 		if currentWaypoint % 2 == 0 then
 			AddAmmo(hero.gear, amJetpack, GetAmmoCount(hero.gear, amJetpack)+1)
-			TurnTimeLeft = TurnTimeLeft + 10000		
+			if TurnTimeLeft <= 10000 then
+				TurnTimeLeft = TurnTimeLeft + 8000
+			end		
 		else
-			TurnTimeLeft = TurnTimeLeft + 8000
+			if TurnTimeLeft <= 7000 then
+				TurnTimeLeft = TurnTimeLeft + 6000
+			end
 		end		
 		WriteLnToConsole("After "..TurnTimeLeft)
 		radius = radius - 4