share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death02.lua
branchspacecampaign
changeset 9630 df942cfac4e6
parent 9603 47b8edc799f5
child 9631 a9b7bfac05ee
equal deleted inserted replaced
9629:1655c50d9c51 9630:df942cfac4e6
   183 	SendStat('siPlayerKills','0',teamA.name)
   183 	SendStat('siPlayerKills','0',teamA.name)
   184 	EndGame()
   184 	EndGame()
   185 end
   185 end
   186 
   186 
   187 function heroWin(gear)
   187 function heroWin(gear)
       
   188 	saveBonus(3, 4)
   188 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   189 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   189 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   190 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   190 	-- TODO SendStat('siCustomAchievement', loc("You have gained some extra life")) --11		
   191 	-- TODO SendStat('siCustomAchievement', loc("You have gained some extra life")) --11		
   191 	SendStat('siPlayerKills','1',teamA.name)
   192 	SendStat('siPlayerKills','1',teamA.name)
   192 	EndGame()
   193 	EndGame()