--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua Wed May 22 10:45:35 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua Wed May 22 11:31:55 2019 +0200
@@ -809,7 +809,7 @@
-- When close to cyborg, wait for a short time before accepting,
-- to allow player to attack with melee weapons.
checkAcceptTimer = checkAcceptTimer + 1
- if checkAcceptTimer > 2000 and StoppedGear(dense) then
+ if checkAcceptTimer > 2000 and denseDead == false and StoppedGear(dense) then
return true
end
else
@@ -826,7 +826,7 @@
end
function CheckConfront()
- return cyborgAttacked and GetHealth(dense) and StoppedGear(dense)
+ return cyborgAttacked and denseDead == false and StoppedGear(dense)
end
function DoConfront()
@@ -854,7 +854,7 @@
if stage == loseStage then
return false
end
- return GetX(dense) > 1640 and StoppedGear(dense)
+ return denseDead == false and GetX(dense) > 1640 and StoppedGear(dense)
end
function DoNeedGirder()
@@ -874,7 +874,7 @@
if stage == loseStage then
return false
end
- return GetX(dense) > 2522 and StoppedGear(dense)
+ return denseDead == false and GetX(dense) > 2522 and StoppedGear(dense)
end
function DoNeedWeapons()