share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua
changeset 14464 ead8928a59f8
parent 14388 cf49fac6e88a
child 14480 208359558642
equal deleted inserted replaced
14463:bd1db668b7c0 14464:ead8928a59f8
   209 		loc("Hint: It might be easier if you vary the angle only slightly."),
   209 		loc("Hint: It might be easier if you vary the angle only slightly."),
   210 		2, 12000)
   210 		2, 12000)
   211 		SetWind(75)
   211 		SetWind(75)
   212 		spawnTargets()
   212 		spawnTargets()
   213 	elseif gamePhase == 7 then
   213 	elseif gamePhase == 7 then
       
   214 		SaveMissionVar("Won", "true")
   214 		ShowMission(loc("Basic Bazooka Training"), loc("Training complete!"), loc("Congratulations!"), 0, 0)
   215 		ShowMission(loc("Basic Bazooka Training"), loc("Training complete!"), loc("Congratulations!"), 0, 0)
   215 		SetInputMask(0)
   216 		SetInputMask(0)
   216 		AddAmmo(CurrentHedgehog, amBazooka, 0)
   217 		AddAmmo(CurrentHedgehog, amBazooka, 0)
   217 		if shotsFired > maxTargets then
   218 		if shotsFired > maxTargets then
   218 			flawless = false
   219 			flawless = false