Reduced number of crates on the challenge in mission 1, fixed an error with mission 3 (at the end)
authorbelphegorr <szabibibi@gmail.com>
Thu, 05 Jul 2012 17:19:11 +0300
changeset 7236 378fc97dae99
parent 7232 277cbfbed93c
child 7239 598fe796dd01
Reduced number of crates on the challenge in mission 1, fixed an error with mission 3 (at the end)
share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/first_blood.lua
share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/journey.lua
--- a/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/first_blood.lua	Thu Jul 05 16:50:06 2012 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/first_blood.lua	Thu Jul 05 17:19:11 2012 +0300
@@ -24,13 +24,13 @@
 
 targets = {}
 crates = {}
-targXdif2 = {2755, 2638, 2921, 2664, 2973, 3162, 3268, 3067, 3062, 1300}
-targYdif2 = {1197, 1537, 1646, 1852, 1857, 1804, 1538, 1173, 1167, 1183}
+targXdif2 = {2755, 2638, 2921, 2973, 3162, 3067, 3062, 1300}
+targYdif2 = {1197, 1537, 1646, 1857, 1804, 1173, 1167, 1183}
 targXdif1 = {2749, 2909, 2770, 2836, 1558, 1305}
 targYdif1 = {1179, 1313, 1734, 1441, 1152, 1259}
 targetPosX = {{821, 866, 789}, {614, 656, 638}, {1238, 1237, 1200}}
 targetPosY = {{1342, 1347, 1326}, {1112, 1121, 1061}, {1152, 1111, 1111}}
-crateNum = {7, 10}
+crateNum = {6, 8}
 
 
 stage = 1
--- a/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/journey.lua	Thu Jul 05 16:50:06 2012 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/journey.lua	Thu Jul 05 17:19:11 2012 +0300
@@ -141,7 +141,7 @@
   TurnTimeLeft = -1
   ShowMission(loc("The Journey Back"), loc("Collateral Damage II"), loc("Save Fell From Heaven!"), 1, 4000)
   AddEvent(CheckLost, {}, DoLost, {}, 0)
-  AddEvent(CheckWon, {}, DoWon, 0)
+  AddEvent(CheckWon, {}, DoWon, {}, 0)
   RemoveEventFunc(CheckFailedCourse)
 end
 
@@ -634,6 +634,7 @@
   SetGearPosition(leaks, 3781, 1583)
   --SetGearPosition(leaks, 1650, 1583)
   AddAmmo(cannibals[1], amShotgun, 100)
+  AddAmmo(leaks, amSwitch, 0)
 end
 
 function SetupPlaceDuo()
@@ -962,6 +963,8 @@
   m2DenseDead = tonumber(GetCampaignVar("M2DenseDead"))
   m2RamonDead = tonumber(GetCampaignVar("M2RamonDead"))
   m2SpikyDead = tonumber(GetCampaignVar("M2SpikyDead"))
+  m2Choice = choiceAttacked
+  m2DenseDead = 1
   StartMission()
 end