# HG changeset patch # User smxx # Date 1266271009 0 # Node ID c1daf1213cbe5a1ea22eb5cc6157f5ac9868ab73 # Parent 71e80c6e74bb0db1424b3e6f4e381eaf0948012c Training Missions: * Missions won't fail if you win within the last seconds (check for win) * Granting more time for Bazooka training to finish diff -r 71e80c6e74bb -r c1daf1213cbe share/hedgewars/Data/Missions/Bazooka Training.hwt --- a/share/hedgewars/Data/Missions/Bazooka Training.hwt Mon Feb 15 21:54:26 2010 +0000 +++ b/share/hedgewars/Data/Missions/Bazooka Training.hwt Mon Feb 15 21:56:49 2010 +0000 @@ -58,7 +58,7 @@ -- Game settings and rules GameFlags = gfMultiWeapon + gfOneClanMode + gfSolidLand -- The time the player has to move each round (in ms) - TurnTime = 25000 + TurnTime = 60000 -- The frequency of crate drops CaseFreq = 0 -- The number of land objects being placed @@ -101,7 +101,7 @@ -- If time's up, set the game to be lost. -- We actually check the time to be "1 ms" as it -- will be at "0 ms" right at the start of the game. - if TurnTimeLeft == 1 then + if TurnTimeLeft == 1 and score < score_goal then game_lost = true -- ... and show a short message. ShowMission("Bazooka Training", "Aiming Practice", "Oh no! Time's up! Just try again.", -amSkip, 0); diff -r 71e80c6e74bb -r c1daf1213cbe share/hedgewars/Data/Missions/Shotgun Training.hwt --- a/share/hedgewars/Data/Missions/Shotgun Training.hwt Mon Feb 15 21:54:26 2010 +0000 +++ b/share/hedgewars/Data/Missions/Shotgun Training.hwt Mon Feb 15 21:56:49 2010 +0000 @@ -101,7 +101,7 @@ -- If time's up, set the game to be lost. -- We actually check the time to be "1 ms" as it -- will be at "0 ms" right at the start of the game. - if TurnTimeLeft == 1 then + if TurnTimeLeft == 1 and score < score_goal then game_lost = true -- ... and show a short message. ShowMission("Shotgun Training", "Aiming Practice", "Oh no! Time's up! Just try again.", -amSkip, 0);