share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua
changeset 14578 50f511588635
parent 14526 797e3f441c14
child 14590 c5f18710a184
equal deleted inserted replaced
14577:221380cdee7e 14578:50f511588635
   430 
   430 
   431 		SendStat(siCustomAchievement, string.format(loc("You have destroyed %d of %d targets (+%d points)."), score, score_goal, end_score_targets))
   431 		SendStat(siCustomAchievement, string.format(loc("You have destroyed %d of %d targets (+%d points)."), score, score_goal, end_score_targets))
   432 		SendStat(siCustomAchievement, string.format(loc("You have made %d shots."), shots))
   432 		SendStat(siCustomAchievement, string.format(loc("You have made %d shots."), shots))
   433 		end_score_overall = end_score_targets
   433 		end_score_overall = end_score_targets
   434 	end
   434 	end
   435 	SendStat(siPointType, loc("points"))
   435 	SendStat(siPointType, "!POINTS")
   436 	SendStat(siPlayerKills, tostring(end_score_overall), playerTeamName)
   436 	SendStat(siPlayerKills, tostring(end_score_overall), playerTeamName)
   437 	updateChallengeRecord("Highscore", end_score_overall)
   437 	updateChallengeRecord("Highscore", end_score_overall)
   438 end
   438 end
   439 
   439